HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[Resolved] Missing language entry: REPORTED_POSTS_FORUM

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#99057 (In Topic #19491)
Avatar

Community saint

Expand: Critical error - bailing out Critical error - bailing out


Steve
Back to the top
 
Posted
Rating:
#99058
Avatar

Hi,

This is a really weird one. We've been getting a lot of language string errors on the new patch release, as we fixed that these were actually getting buried. However, this looks like something very unusual got stuck in the database, causing an old language error. Try running this command in OcCLE:

Code

:$GLOBALS['SITE_DB']->query_update('config',array('human_name'=>'REPORTED_POSTS_FORUM'),array('human_name'=>'ocf: REPORTED_POSTS_FORUM'));


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99060
Avatar

Community saint

No change.

Steve
Back to the top
 
Posted
Rating:
#99062
Avatar

If you go into your config table in phpMyAdmin and find the reported_post_forum row, what is the human_name field for that row?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99063
Avatar

And try manually setting it to "REPORTED_POSTS_FORUM", which is what my query was trying to do.

It looked to me that it was "ocf: REPORTED_POSTS_FORUM", with the space after the colon causing this.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99066
Avatar

Community saint

It shows as "REPORTED_POSTS_FORUM", which appears to be what you want.


Steve
Back to the top
 
Posted
Rating:
#99069
Avatar

Community saint

This is the stack trace after running the OcCLE…

Expand:


Steve
Back to the top
 
Posted
Rating:
#99070
Avatar

Community saint

It's only affecting the admin search and going into "Member and forum options". The rest of the site seems to function ok.

I think this started after updating an addon (can't remember which one at the moment), since the admin search was working until around the time I updated.

I'll check back in later after I've had some much needed sleep.

Steve
Back to the top
 
Posted
Rating:
#99072
Avatar

Actually I think it might be the in 'eval' field for that config row. "ocf: REPORTED_POSTS_FORUM" instead of "ocf:REPORTED_POSTS_FORUM".

Again, not sure how it would have got like that :S.

If in doubt change the eval field to:

Code

return 'Reported posts forum';


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99075
Avatar

Community saint

That change worked, no errors!

This was the contents before changing:

Code

return
(has_no_forum()||(!addon_installed('ocf_reported_posts')))?NULL:do_lang('ocf:
REPORTED_POSTS_FORUM');

Thanks, Chris!  :thumbs:

Steve
Back to the top
 
Posted
Rating:
#99077
Avatar

Community saint

Chris Graham said


This is a really weird one.


Thank you. I'm starting to enjoy finding these for you to exercise your brain with.  :lol:

Steve
Back to the top
 
Posted
Item has a rating of 5 (Liked by sholzy)  
Rating:
#99078
Avatar

I hope you enjoyed your sleep. I am enjoying bugfixing laying down in a bed in a bed & breakfast, on my Windows laptop.

(Not exactly ideal :lol:)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#99080
Avatar

Community saint

Chris Graham said

I hope you enjoyed your sleep. I am enjoying bugfixing laying down in a bed in a bed & breakfast, on my Windows laptop.

(Not exactly ideal :lol:)

What you're doing sure beats what I've been doing… crawling around in a hot dirty attic running cat5 cable for security cameras.  :dry:

Steve
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: