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] - Error when attempting to clean up 'Language Strings'

Login / Search

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

Community saint

When attempting to clean orphaned language strings using the ocP built-in tools, I get the following error message. Need help deciphering what action to take …

Unfortunately a query has failed [SELECT main.*,t0.text_original AS t0__text_original,t0.text_parsed AS t0__text_parsed FROM ocp5_f_posts main LEFT JOIN ocp5_translate t0 ON t0.id=main.p_post AND t0.language='EN' WHERE (t0__text_original='This is the inbuilt forum system (known as OCF).\n\nA forum system is a tool for communication between members; it consists of posts, organised into topics: each topic is a line of conversation.\n\nThe website software provides support for a number of different forum systems, and each forum handles authentication of members: OCF is the built-in forum, which provides seamless integration between the main website, the forums, and the inbuilt member accounts system.' AND t0__text_parsed='' AND main.p_post=82 AND main.id=1) LIMIT 1] [Unknown column 't0__text_original' in 'where clause'] (version: 5.0.0, PHP version: 5.2.14, URL: /anglo/adminzone/index.php?page=admin_cleanup&type=rebuild)

and here is the Stack Trace …

Expand: Stack Trace Stack Trace


Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#61765
Avatar

Attachment
sources/hooks/modules/admin_cleanup/orphaned_lang_strings.php
» Download: orphaned_lang_strings.php (4 Kb, 93 downloads so far)


Thanks for the report :).


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:
#61766
Avatar

Community saint

Thanks ...

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: