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.


ocPortal 8.1 released - Comments

Login / Search

 [ Join | More ]
 

ocPortal 8.1 released

Posted 24 May 2012, 11:30 PM

8.1 released. Read the full article for a list of changes, and upgrade information.

Read more


Avatar
Ticket opened: 0000493: Critical error -- bailing out (both forum and admin panel) - ocPortal feature tracker

E-mail sent with FTP details. Subject: FTP details (0000493: Critical error - bailing out)
Avatar

sholzy said

Ticket opened: 0000493: Critical error -- bailing out (both forum and admin panel) - ocPortal feature tracker

E-mail sent with FTP details. Subject: FTP details (0000493: Critical error - bailing out)

For other people's info, resolution was:
Knowledgebase - A2 Hosting

Again, not an 8.1 problem, but clearing the cache might have change the system state enough to trigger this hosting restriction specific to A2 hosting.
Avatar

Chris Graham said


For other people's info, resolution was:
Knowledgebase - A2 Hosting

Again, not an 8.1 problem, but clearing the cache might have change the system state enough to trigger this hosting restriction specific to A2 hosting.
Thanks, Chris! And also for taking the time to stay awake to do this!  :)

I had contacted them back in February about an Eval() problem when I installed the newsletter function and they added a custom php.ini file to my account with eval disabled. They must have modified the php.ini file again.



Avatar
Bravo again, Chris and team ocproducts!

I've upgraded 3 sites without the smallest itch!

One was v8 RC7 (did it in two steps to be conservative: RC7 to v8.01 and to v8.1.
The second was a demo site newly created with v8.01. And the third was an WampServer localhost test site full of…well…tests and older themes and new ones under development.

Thank You! :thumbs:  

Avatar
Upgraded from 8.0.1. Getting '500' errors and the site is now inaccessible. Maybe the files can be uploaded manually to fix this?
Avatar
Does anything show in your Apache error log (should be linked from your web hosting control panel)?


Avatar
My web host uses Directadmin. A real pain conpared to CPanel. I'll check …

Avatar
Found it. Here are the excerpts:

Fri May 25 02:02:12.012112 2012] [:error] [pid 2248] [client 108.27.192.55:1342] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in //public.html/sources/lang.php on line 43, referer: http:///adminzone/start.htm
[Fri May 25 02:02:22.721492 2012] [:error] [pid 2261] [client 108.27.192.55:1349] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in //public_html/sources/lang.php on line 43, referer: http:///adminzone/start.htm
[Fri May 25 02:02:33.735912 2012] [:error] [pid 1377] [client 108.27.192.55:1354] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate
Avatar
If you can open up a ticket with site access in the next few minutes I'll take a look for you tonight:
Add a new support ticket - ocPortal.com

I looked for changes in the referenced file, but there were none, so it is probably something complex relating to your hosting – I'll need to investigate personally.
Avatar
For the information of other users…

It's actually an issue if the cache is emptied (which you do when upgrading) when the persistent cache option is enabled. Not a new issue to 8.1 actually. A workaround for anyone with this problem would be to turn the persistent cache off using the config_editor.php tool until the site loads, then putting it back on.



Access Denied

Avatar
I also get "Access Denied" message in the Upgrader, Step #3 "Transfer across new/updated files" for URL:
http://ocportal.com/upgrades/7.1.6-8.1.tar
Avatar
That may be some kind of restriction with your hosting. Has an upgrade worked for you before using this? You can download and extract the tar manually instead though.

Upgraded to 7.16 worked

Avatar
I upgraded to 7.16 today using the Upgrader and it worked for me, but failed for 8.1 with "Access Denied"
Avatar
Odd, could you attach a screenshot?




Avatar
Maybe this reads better. Everything went normally and the files appeared to  transfer across as expected. When I clicked on options, that is when I got the errors:

May 25 02:02:12.012112 2012] [:error] [pid 2248] [client 108.27.192.55:1342] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in //sources/lang.php on line 43, referer: http:///adminzone/start.htm

[Fri May 25 02:02:22.721492 2012] [:error] [pid 2261] [client 108.27.192.55:1349] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in //sources/lang.php on line 43, referer: http:///adminzone/start.htm

[Fri May 25 02:02:33.735912 2012] [:error] [pid 1377] [client 108.27.192.55:1354] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate
Avatar
Bummer!

ocPortal upgrader

This is the ocPortal upgrade tool. This tool is a part of ocPortal, but it is intentionally kept lightweight to keep it working even if ocPortal is partly broken.

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 NOTICE [8] Undefined offset: 1 in sources/global.php(289) : eval()'d code on line 1714 (version: 8.1, PHP version: 5.2.17, URL: /anglo_clone/upgrader.php?type=theme_upgrade)

Expand:


And things were going so well … !!

I shall return to the upgrader and try again!

Avatar
Ah, please ignore the theme upgrade step. It is failing, but only failing to tell you it has nothing to do.
Avatar
It is failing, but only failing to tell you it has nothing to do.
ROTFLMAO!

Success!

 :thumbs:




Avatar
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.
Please contact support about failure (version: 8.1, PHP version: 5.3.8, URL: /forum/index.php?page=forumview)
Stack trace…

Code

File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 675
Function -> 'die_html_trace'
Args -> array ( 0 => 'Please contact support about failure (version: 8.1, PHP version: 5.3.8, URL: /forum/index.php?page=forumview)', )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 1000
Function -> '_fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1629
Function -> 'fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 923
Function -> 'evaluate'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 684
Function -> 'get_html_trace'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 1000
Function -> '_fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1629
Function -> 'fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 923
Function -> 'evaluate'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 205
Function -> 'get_html_trace'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 874
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'warning', 1 => 2, 2 => 'Please contact support about failure', 3 => 'sources/tempcode.php', 4 => 1335, )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1335
Function -> 'ocportal_error_handler'
Args -> array
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1335
Function -> 'from_assembly'
Class -> 'ocp_tempcode'
Type -> '::'
File -> '/home/whiteisl/public_html/sources/lang.php'
Line -> 1110
Function -> 'from_assembly'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array
File -> '/home/whiteisl/public_html/sources/ocf_forumview.php'
Line -> 743
Function -> 'get_translated_tempcode'
Args -> array
File -> '/home/whiteisl/public_html/sources/ocf_forumview.php'
Line -> 54
Function -> 'ocf_get_forum_view'
Args -> array ( 0 => 0, 1 => 20, 2 => 1, )
File -> '/home/whiteisl/public_html/forum/pages/modules/forumview.php'
Line -> 241
Function -> 'ocf_render_forumview'
Args -> array ( 0 => 1, 1 => '', 2 => 20, 3 => 0, 4 => 1, 5 => NULL, )
File -> '/home/whiteisl/public_html/sources/zones.php'
Line -> 424
Function -> 'run'
Class -> 'Module_forumview'
Object -> Module_forumview::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/site.php'
Line -> 1019
Function -> 'load_module_page'
Args -> array ( 0 => 'forum/pages/modules/forumview.php', 1 => 'forumview', )
File -> '/home/whiteisl/public_html/sources/site.php'
Line -> 787
Function -> 'request_page'
Args -> array ( 0 => 'forumview', 1 => true, )
File -> '/home/whiteisl/public_html/forum/index.php'
Line -> 51
Function -> 'do_site'
Args -> array ( )
Avatar
That just started happening after an upgrade to 8.1? The stack trace is rather obscure, but it says to me the "Comcode field pre-calculations" cache might be corrupt and needs flushing. That could happen if the database character set changes. However I don't see how either of those things could have happened.
Avatar
Unless you had the utf8 addon (lang_custom/EN/global.ini) file specifying UTF and perhaps deleted. Or perhaps you still do and were in safe mode when that error happened? (that'd make sense – safe mode would not have that addon, so it might see the wrong character set for complex cached data coming out of the database)



Avatar
Upgrade to 8.1 seemed to work ok. Had that other issue with Track_Resource thing but after  uninstalling the tracker addon, that was fixed.

I came back a few minutes ago and tried opening up the forum and got that stack trace. Now I'm getting the same stack opening the admin panel.

The rest of the site seems ok.
Avatar
Do you have the utf addon? I wonder if you cleared caches, then went to site in safe mode, then caches populated with the wrong character set, then later you got an error when not in safe mode.

(It'll be a good day when we just consistently can put everything into utf – maybe v9)
Avatar
Chris-

I have the UTF8 add-on installed. Are you saying that i should expect issues when upgrading?

Bob
Avatar

BobS said

Chris-

I have the UTF8 add-on installed. Are you saying that i should expect issues when upgrading?

Bob

Well, no one has ever reported one and we've had the addon for years, but it does seem to match his symptoms. Clearing the cache again should solve it.


Avatar

Chris Graham said

Do you have the utf addon? I wonder if you cleared caches, then went to site in safe mode, then caches populated with the wrong character set, then later you got an error when not in safe mode.

(It'll be a good day when we just consistently can put everything into utf – maybe v9)
yes to the utf addon. If I went into the site in safe mode it was without my knowledge.

If this was in fact what happened, how can I correct it?
[edit: corrected above sentence]

Chain of events:
  • upgraded to 8.1 from 8.0.1
    • closed site
    • cleared cache
    • ran upgrader
    • cleared cache
    • opened up site
  • noticed TRACK_RESOURCE again
  • uninstalled tracker addon
  • left for awhile to eat dinner and watch some TV
  • tried going into forum and got stack
  • tried going into admin panel and got stack

Thinking about the safe mode again. I may have hit safe mode and not realized it. But wouldn't have put my site back to default theme?


Last edit: by sholzy



Avatar
Still the same after clearing the cache.

Avatar
This is the stack trace while trying to access the admin panel.

Code

Stack trace...

File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 675
Function -> 'die_html_trace'
Args -> array ( 0 => 'Please contact support about failure (version: 8.1, PHP version: 5.3.8, URL: /adminzone/index.php?page=start)', )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 1000
Function -> '_fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1629
Function -> 'fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 923
Function -> 'evaluate'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 684
Function -> 'get_html_trace'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 1000
Function -> '_fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1629
Function -> 'fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 923
Function -> 'evaluate'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 205
Function -> 'get_html_trace'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 874
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'warning', 1 => 2, 2 => 'Please contact support about failure', 3 => 'sources/tempcode.php', 4 => 1174, )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1174
Function -> 'ocportal_error_handler'
Args -> array
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1174
Function -> 'is_really_empty'
Class -> 'ocp_tempcode'
Type -> '::'
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1117
Function -> 'is_really_empty'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/blocks/side_stored_menu.php'
Line -> 89
Function -> 'is_empty'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/zones.php'
Line -> 696
Function -> 'run'
Class -> 'Block_side_stored_menu'
Object -> Block_side_stored_menu::__set_state(array( ))
Type -> '->'
Args -> array ( 0 => array ( 'param' => '_management', 'type' => 'dropdown', 'block' => 'side_stored_menu', ), )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 740
Function -> 'do_block'
Args -> array ( 0 => 'side_stored_menu', 1 => array ( 'param' => '_management', 'type' => 'dropdown', 'block' => 'side_stored_menu', ), )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1017
Function -> 'handle_symbol_preprocessing'
Args -> array ( 0 => array ( 0 => array ( ), 1 => 0, 2 => 'BLOCK', 3 => array ( 0 => 'param=_management', 1 => 'type=dropdown', 2 => 'block=side_stored_menu', ), ), 1 => NULL, )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 829
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1017
Function -> 'handle_symbol_preprocessing'
Args -> array
File -> '/home/whiteisl/public_html/sources/support.php'
Line -> 582
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 1008
Function -> 'globalise'
Args -> array
File -> '/home/whiteisl/public_html/sources/permissions.php'
Line -> 100
Function -> '_access_denied'
Args -> array ( 0 => 'ZONE_ACCESS_SESSION', 1 => 'adminzone', 2 => true, )
File -> '/home/whiteisl/public_html/sources/site.php'
Line -> 202
Function -> 'access_denied'
Args -> array ( 0 => 'ZONE_ACCESS_SESSION', 1 => 'adminzone', 2 => true, )
Function -> 'init__site'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global.php'
Line -> 316
Function -> 'call_user_func'
Args -> array ( 0 => 'init__site', )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 409
Function -> 'require_code'
Args -> array ( 0 => 'site', )
Function -> 'init__global2'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global.php'
Line -> 316
Function -> 'call_user_func'
Args -> array ( 0 => 'init__global2', )
File -> '/home/whiteisl/public_html/sources/global.php'
Line -> 553
Function -> 'require_code'
Args -> array ( 0 => 'global2', )
File -> '/home/whiteisl/public_html/adminzone/index.php'
Line -> 48
Args -> array ( 0 => '/home/whiteisl/public_html/sources/global.php', )
Function -> 'require'
Avatar

sholzy said

This is the stack trace while trying to access the admin panel.

Code

Stack trace...

File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 675
Function -> 'die_html_trace'
Args -> array ( 0 => 'Please contact support about failure (version: 8.1, PHP version: 5.3.8, URL: /adminzone/index.php?page=start)', )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 1000
Function -> '_fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1629
Function -> 'fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 923
Function -> 'evaluate'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 684
Function -> 'get_html_trace'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 1000
Function -> '_fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1629
Function -> 'fatal_exit'
Args -> array ( 0 => 'Please contact support about failure', )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 923
Function -> 'evaluate'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 205
Function -> 'get_html_trace'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 874
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'warning', 1 => 2, 2 => 'Please contact support about failure', 3 => 'sources/tempcode.php', 4 => 1174, )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1174
Function -> 'ocportal_error_handler'
Args -> array
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1174
Function -> 'is_really_empty'
Class -> 'ocp_tempcode'
Type -> '::'
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1117
Function -> 'is_really_empty'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/blocks/side_stored_menu.php'
Line -> 89
Function -> 'is_empty'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/zones.php'
Line -> 696
Function -> 'run'
Class -> 'Block_side_stored_menu'
Object -> Block_side_stored_menu::__set_state(array( ))
Type -> '->'
Args -> array ( 0 => array ( 'param' => '_management', 'type' => 'dropdown', 'block' => 'side_stored_menu', ), )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 740
Function -> 'do_block'
Args -> array ( 0 => 'side_stored_menu', 1 => array ( 'param' => '_management', 'type' => 'dropdown', 'block' => 'side_stored_menu', ), )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1017
Function -> 'handle_symbol_preprocessing'
Args -> array ( 0 => array ( 0 => array ( ), 1 => 0, 2 => 'BLOCK', 3 => array ( 0 => 'param=_management', 1 => 'type=dropdown', 2 => 'block=side_stored_menu', ), ), 1 => NULL, )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 829
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/tempcode.php'
Line -> 1017
Function -> 'handle_symbol_preprocessing'
Args -> array
File -> '/home/whiteisl/public_html/sources/support.php'
Line -> 582
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/failure.php'
Line -> 1008
Function -> 'globalise'
Args -> array
File -> '/home/whiteisl/public_html/sources/permissions.php'
Line -> 100
Function -> '_access_denied'
Args -> array ( 0 => 'ZONE_ACCESS_SESSION', 1 => 'adminzone', 2 => true, )
File -> '/home/whiteisl/public_html/sources/site.php'
Line -> 202
Function -> 'access_denied'
Args -> array ( 0 => 'ZONE_ACCESS_SESSION', 1 => 'adminzone', 2 => true, )
Function -> 'init__site'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global.php'
Line -> 316
Function -> 'call_user_func'
Args -> array ( 0 => 'init__site', )
File -> '/home/whiteisl/public_html/sources/global2.php'
Line -> 409
Function -> 'require_code'
Args -> array ( 0 => 'site', )
Function -> 'init__global2'
Args -> array ( )
File -> '/home/whiteisl/public_html/sources/global.php'
Line -> 316
Function -> 'call_user_func'
Args -> array ( 0 => 'init__global2', )
File -> '/home/whiteisl/public_html/sources/global.php'
Line -> 553
Function -> 'require_code'
Args -> array ( 0 => 'global2', )
File -> '/home/whiteisl/public_html/adminzone/index.php'
Line -> 48
Args -> array ( 0 => '/home/whiteisl/public_html/sources/global.php', )
Function -> 'require'

Could you open a ticket with FTP details?

I think this may actually be nothing to do with the upgrade and coincidence. The error message does not seem to come from PHP and all I can find on it is information about hosts adding proprietary PHP restrictions. I'd need to run some tests.


What are the changes in 8.1?

Avatar
What are the changes in 8.1?  I don't see any release notes or anything to indicate what the differences are and why I should upgrade.

Show 1 reply


Show 23 more replies

1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand