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

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

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

9.0.4 > 9.0.5 issues

Login / Search

 [ Join | More ]
 Add topic 
#94774 (In Topic #18881)

Fan in action

Some bugs I found with my upgrade...

When editing a page, and try inserting a comode tag, assistant etc, I get the following;

Critical error – bailing out

This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP WARNING [2] strpos() [<a href=''>function.strpos.php</a>]: Empty delimiter in sources/misc_scripts.php on line 552 (version: 9.0.5, PHP version: 5.3.13, URL: /data/block_helper.php?type=step2&block=main_buttons&field_name=post&utheme=default&block_type=main)

Stack trace…

File -> '/home/rbcjhubc/public_html/sources/failure.php'
Line -> 792
Function -> 'die_html_trace'
Args -> array

File -> '/home/rbcjhubc/public_html/sources/global.php(206) : eval()\'d code'
Line -> 1011
Function -> '_fatal_exit'
Args -> array ( 0 => 'PHP WARNING [2] strpos() [<a href=\'\'>function.strpos.php</a>]: Empty delimiter in sources/misc_scripts.php on line 552', )

File -> '/home/rbcjhubc/public_html/sources/failure.php'
Line -> 224
Function -> 'fatal_exit'
Args -> array ( 0 => 'PHP WARNING [2] strpos() [<a href=\'\'>function.strpos.php</a>]: Empty delimiter in sources/misc_scripts.php on line 552', )

File -> '/home/rbcjhubc/public_html/sources/global.php(206) : eval()\'d code'
Line -> 874
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'warning', 1 => 2, 2 => 'strpos() [<a href=\'\'>function.strpos.php</a>]: Empty delimiter', 3 => 'sources/misc_scripts.php', 4 => 552, )

Function -> 'ocportal_error_handler'
Args -> array

File -> '/home/rbcjhubc/public_html/sources/misc_scripts.php'
Line -> 552
Function -> 'strpos'
Args -> array ( 0 => 'The folder where the images to use are. Always \'buttons\' by default.', 1 => '', )

File -> '/home/rbcjhubc/public_html/data/block_helper.php'
Line -> 37
Function -> 'block_helper_script'
Args -> array ( )

Details here are intended only for the website/system-administrator, not for regular website users.
» If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, and only if the website installation finished, you may need to edit the installation options (the info.php file).

ocProducts maintains full documentation for all procedures and tools. These may be found on the ocPortal website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.

ocPortal is a CMS for building websites, developed by ocProducts.

In addition when opening the dialogs to insert comode action, the layout is not as it should be and no images are being displayed;

Tried flushing caches etc and doing maintenance, but still nothing works...

Suggestions gratefully received.
Back to the top
Item has a rating of 5 (Liked by Fletch)  

Hmm, these both suggest something wrong with lang/EN/comcode.ini.

It should contain:


BLOCK_IND_ADVANCED=Advanced feature.

Could this file have been corrupted somehow?

Have you tried running the integrity check in the upgrader?

Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Support me on Patreon
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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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

Fan in action

Thanks Chris for your indication as to issue.
I've resolved issue, restored file and updated manually.
This seems to have fixed the problem.
Thanks again
Back to the top
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: