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.


Critical bailing out when adding new zone

Login / Search

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

Fan in action

Critical bailing out when I added new zone today. The critical bailout is contained to the new zone only. I added several zones successfully a few months ago but since then I have upgraded from 9.10 to 9.11. I also installed all the 9.11 bug fixes. I am not sure how to fix this. Not sure if this matters but my language seems to set to latin/swedish on all rows in mysql datasets but main page says utf8, bluehost is my provider. Thanks, Sheryl Information below:
 

Critical error – bailing out Information

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.



Stack trace…

File -> '/home2/myliber5/public_html/sources/failure.php'
Line -> 796
Function -> 'die_html_trace'
Args -> array

File -> '/home2/myliber5/public_html/sources/global2.php'
Line -> 1042
Function -> '_fatal_exit'
Args -> array

File -> '/home2/myliber5/public_html/sources/database/mysql.php'
Line -> 253
Function -> 'fatal_exit'
Args -> array

File -> '/home2/myliber5/public_html/sources/database.php'
Line -> 1130
Function -> 'db_query'
Class -> 'Database_Static_mysql'
Object -> Database_Static_mysql::__set_state(array( ))
Type -> '->'
Args -> array

File -> '/home2/myliber5/public_html/sources/database.php'
Line -> 553
Function -> '_query'
Class -> 'database_driver'
Object -> database_driver::__set_state(array( 'table_prefix' => 'cpc_', 'connection_read' => array ( 0 => NULL, 1 => 'myliber5_ocp1', ), 'connection_write' => array ( 0 => NULL, 1 => 'myliber5_ocp1', ), 'text_lookup_original_cache' => array ( 12043 => '101', 12044 => '', 72 => '', 73 => '', 34 => 'Administrators', 48 => 'Member', 2811 => 'Regional Coordinator Club', 2815 => 'State Coordinator Club', 2819 => 'Community Coordinator Club', 2823 => 'Teen Club', 3982 => 'Teens', 35 => 'Site director', 49 => 'Standard member', 2812 => '', 2816 => '', 2820 => '', 2824 => '', 3983 => 'MLH Teens', ), 'text_lookup_cache' => array ( 12043 => '', 12044 => '', 72 => '', 73 => '', 34 => '', 48 => '', 2811 => '', 2815 => '', 2819 => '', 2823 => '', 3982 => '', 35 => '', 49 => '', 2812 => '', 2816 => '', 2820 => '', 2824 => '', 3983 => '', ), 'table_exists_cache' => array ( ), 'static_ob' => Database_Static_mysql::__set_state(array( )), 'dedupe_mode' => false, ))
Type -> '->'
Args -> array

File -> '/home2/myliber5/public_html/sources/site2.php'
Line -> 358
Function -> 'query_insert'
Class -> 'database_driver'
Object -> database_driver::__set_state(array( 'table_prefix' => 'cpc_', 'connection_read' => array ( 0 => NULL, 1 => 'myliber5_ocp1', ), 'connection_write' => array ( 0 => NULL, 1 => 'myliber5_ocp1', ), 'text_lookup_original_cache' => array ( 12043 => '101', 12044 => '', 72 => '', 73 => '', 34 => 'Administrators', 48 => 'Member', 2811 => 'Regional Coordinator Club', 2815 => 'State Coordinator Club', 2819 => 'Community Coordinator Club', 2823 => 'Teen Club', 3982 => 'Teens', 35 => 'Site director', 49 => 'Standard member', 2812 => '', 2816 => '', 2820 => '', 2824 => '', 3983 => 'MLH Teens', ), 'text_lookup_cache' => array ( 12043 => '', 12044 => '', 72 => '', 73 => '', 34 => '', 48 => '', 2811 => '', 2815 => '', 2819 => '', 2823 => '', 3982 => '', 35 => '', 49 => '', 2812 => '', 2816 => '', 2820 => '', 2824 => '', 3983 => '', ), 'table_exists_cache' => array ( ), 'static_ob' => Database_Static_mysql::__set_state(array( )), 'dedupe_mode' => false, ))
Type -> '->'
Args -> array

File -> '/home2/myliber5/public_html/sources/site.php'
Line -> 1317
Function -> '_load_comcode_page_not_cached'
Args -> array

File -> '/home2/myliber5/public_html/sources/site.php'
Line -> 883
Function -> 'load_comcode_page'
Args -> array ( 0 => '101/pages/comcode_custom/EN/panel_left.txt', 1 => '101', 2 => 'panel_left', 3 => '/home2/myliber5/public_html', 4 => false, )

File -> '/home2/myliber5/public_html/sources/tempcode.php'
Line -> 845
Function -> 'request_page'
Args -> array ( 0 => 'panel_left', 1 => false, 2 => NULL, 3 => NULL, )

File -> '/home2/myliber5/public_html/sources/tempcode.php'
Line -> 1056
Function -> 'handle_symbol_preprocessing'
Args -> array

File -> '/home2/myliber5/public_html/sources/support.php'
Line -> 639
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Object -> object
Type -> '->'
Args -> array ( )

File -> '/home2/myliber5/public_html/sources/failure.php'
Line -> 817
Function -> 'globalise'
Args -> array
File -> '/home2/myliber5/public_html/sources/global2.php'
Line -> 1042
Function -> '_fatal_exit'
Args -> array

File -> '/home2/myliber5/public_html/sources/database/mysql.php'
Line -> 253
Function -> 'fatal_exit'
Args -> array

File -> '/home2/myliber5/public_html/sources/database.php'
Line -> 1130
Function -> 'db_query'
Class -> 'Database_Static_mysql'
Object -> Database_Static_mysql::__set_state(array( ))
Type -> '->'
Args -> array

File -> '/home2/myliber5/public_html/sources/database.php'
Line -> 553
Function -> '_query'
Class -> 'database_driver'
Object -> database_driver::__set_state(array( 'table_prefix' => 'cpc_', 'connection_read' => array ( 0 => NULL, 1 => 'myliber5_ocp1', ), 'connection_write' => array ( 0 => NULL, 1 => 'myliber5_ocp1', ), 'text_lookup_original_cache' => array ( 12043 => '101', 12044 => '', 72 => '', 73 => '', 34 => 'Administrators', 48 => 'Member', 2811 => 'Regional Coordinator Club', 2815 => 'State Coordinator Club', 2819 => 'Community Coordinator Club', 2823 => 'Teen Club', 3982 => 'Teens', 35 => 'Site director', 49 => 'Standard member', 2812 => '', 2816 => '', 2820 => '', 2824 => '', 3983 => 'MLH Teens', ), 'text_lookup_cache' => array ( 12043 => '', 12044 => '', 72 => '', 73 => '', 34 => '', 48 => '', 2811 => '', 2815 => '', 2819 => '', 2823 => '', 3982 => '', 35 => '', 49 => '', 2812 => '', 2816 => '', 2820 => '', 2824 => '', 3983 => '', ), 'table_exists_cache' => array ( ), 'static_ob' => Database_Static_mysql::__set_state(array( )), 'dedupe_mode' => false, ))
Type -> '->'
Args -> array

File -> '/home2/myliber5/public_html/sources/site2.php'
Line -> 358
Function -> 'query_insert'
Class -> 'database_driver'
Object -> database_driver::__set_state(array( 'table_prefix' => 'cpc_', 'connection_read' => array ( 0 => NULL, 1 => 'myliber5_ocp1', ), 'connection_write' => array ( 0 => NULL, 1 => 'myliber5_ocp1', ), 'text_lookup_original_cache' => array ( 12043 => '101', 12044 => '', 72 => '', 73 => '', 34 => 'Administrators', 48 => 'Member', 2811 => 'Regional Coordinator Club', 2815 => 'State Coordinator Club', 2819 => 'Community Coordinator Club', 2823 => 'Teen Club', 3982 => 'Teens', 35 => 'Site director', 49 => 'Standard member', 2812 => '', 2816 => '', 2820 => '', 2824 => '', 3983 => 'MLH Teens', ), 'text_lookup_cache' => array ( 12043 => '', 12044 => '', 72 => '', 73 => '', 34 => '', 48 => '', 2811 => '', 2815 => '', 2819 => '', 2823 => '', 3982 => '', 35 => '', 49 => '', 2812 => '', 2816 => '', 2820 => '', 2824 => '', 3983 => '', ), 'table_exists_cache' => array ( ), 'static_ob' => Database_Static_mysql::__set_state(array( )), 'dedupe_mode' => false, ))
Type -> '->'
Args -> array

File -> '/home2/myliber5/public_html/sources/site.php'
Line -> 1317
Function -> '_load_comcode_page_not_cached'
Args -> array

File -> '/home2/myliber5/public_html/sources/site.php'
Line -> 883
Function -> 'load_comcode_page'
Args -> array ( 0 => '101/pages/comcode_custom/EN/start.txt', 1 => '101', 2 => 'start', 3 => '/home2/myliber5/public_html', 4 => false, )

File -> '/home2/myliber5/public_html/sources/site.php'
Line -> 660
Function -> 'request_page'
Args -> array ( 0 => 'start', 1 => true, )

File -> '/home2/myliber5/public_html/101/index.php'
Line -> 39
Function -> 'do_site'
Args -> array ( )















Back to the top
 
Posted
Rating:
#101909
Avatar

Hi,

I think this is quite a particular bug.

I think if you create a zone, then delete that zone, then later re-add it (i.e. a zone with the same name as the deleted one), then go to the zone's start page, it trips up on some old stale cache data.

This should fix it:
Attachment
sources/site.php
» Download: site.php (61 Kb, 83 downloads so far)


Or a workaround, empty the cached_comcode_pages table.


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

Fan in action

Chris,

Thank you for your effort. I uploaded the file to sources/site.php but it did not work. I have site2.php and site.php in the sources file so I wonder if that has something to do with it. I cleared the comcode cache but no change.

Interestingly the start page can be opened for edit but critical bailing out occurs when I try to save it. Neither zone or start page can be accessed if I try to go to page v URL.  Zone shows up in site tree editor, start page, panel and menu are created. I have tried several different names. I even tried doing the same zone a few times. When it comes to coding....I am a work in progress so I have not changed anything in the basic system other than colors.  

 Thanks, Sheryl


Last edit: by myliber5
Back to the top
 
Posted
Rating:
#101934
Avatar

Thank you for your effort. I uploaded the file to sources/site.php but it did not work. I have site2.php and site.php in the sources file so I wonder if that has something to do with it. I cleared the comcode cache but no change.

Quite a few files have x and x2 versions. The reason is we split the functionality into two parts, in order to reduce ocPortal's memory consumption.

I am a bit tired tonight, but I will take another look tomorrow. If you'd like me to take a direct look on your site, please open a private bug report ticket:
https://ocportal.com/site/tickets/ticket.htm?ticket_template=bug&cost=free


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

Fan in action

Ticket submitted. Thank you, Sheryl
Back to the top
 
Posted
Rating:
#101952
Avatar

Ok, so it was an interesting issue.

I already fixed it on your site.

For reference, the cause and fix:
0001554: Manually deleting a member row may stop new zones working - ocPortal feature tracker


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

Fan in action

You are unbelievably amazing! Thank you Chris. Sheryl
Back to the top
 
Posted
Rating:
#101986
Avatar

Honoured member

A Belated Welcome to the forums :)

Just Jarv
Back to the top
 
Posted
Rating:
#101987
Avatar

Fan in action

Hey Steve,
Thanks for the second welcome! I have used several of your tutorials....thanks for the help. Once my site is up and running I will spend more time helping in the OC Portal forum.
Back to the top
 
Posted
Rating:
#101989
Avatar

Community saint

Steven Jarvis said

A Belated Welcome to the forums :)

Hi Sheryl …
point up
… WOT 'E SAID!

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: