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.

Critical Error Bailing out

Login / Search

 [ Join | More ]
 Add topic 
#96608 (In Topic #19178)

Fan in action

receiving Critical Error after upgrade

After upgrading, I'm now receiving the following error message when I try to access my site:

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.
Non-closed brace or directive in template  on line 1

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

I go into the "edit the installation options" info.php file and everything "looks" OK, I'm also able to access the site through the admin link, but again, everything looks all right. Not sure where my error is or how to fix. Any Suggestions? thanks, Jim

Back to the top


If you've jumped over many upgrades, you may have missed some very old advice about this. I believe the easiest solution was to manually go to the Admin Zone, find the menu editor, edit the main menu used by the site (either 'root_website' or 'site') and delete or re-create the 'Recommend' link on it.

I thought we'd automated this, but if you've gone through a strange upgrade path, it may not have worked.

Alternatively, I guess you may not have done the upgrade database step, but if you hadn't, you'd probably have other errors before this.

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, that does get me into the site, however, I deleted the root_web menu, and I forgot to write down what was there to re-create it. Now it asks me to create the root_web and I'm not sure what to put. I'm not very knowledgeable about ocPortal or web site building, so please forgive my lack of knowing what to do. thanks, Jim
Back to the top
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: