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 error - bailing out

Login / Search

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

Fan in action

Need help to remedy this error message...

Not sure where to even Start.. has the site been hacked?



Critical error - bailing out

This is an error that has been elevated to critical error status because it occured 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 occured before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.

Unfortunately a query has failed [SELECT the_value,date_and_time,langs_required FROM ocp4_cache WHERE (lang='EN' AND cached_for='side_stored_menu' AND the_theme='LIBERTY' AND identifier='90fbd665bab1f4dd318f199084e00244') LIMIT 1] [Table 'libertyt_liberty.ocp4_cache' doesn't exist] (version: 4.3.2, PHP version: 5.2.11, URL: /site/pg/equipment-capabilities)

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.

Back to the top
 
Posted
Rating:
#60252
Avatar

Fan in action

An error has occurred

Unfortunately a query has failed [INSERT INTO ocp4_stats (access_denied_counter, browser, operating_system, the_page, ip, the_user, date_and_time, referer, get, post, milliseconds) VALUES (0, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)', 'Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3', 'pages/comcode_custom/EN/start.txt', '97.102.114.69', -1053308650, 1274664556, 'http://www.libertytoolanddie.com/pg/start', '<param>page=start</param>\n<param>keep_has_js=1</param>\n', '', 1081)][Table 'libertyt_liberty.ocp4_stats' doesn't exist] (version: 4.3.2, PHP version: 5.2.11, URL: /pg/start/index.php?keep_has_js=1)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File'/home/libertyt/public_html/sources/failure.php'
Line'557'
Function'get_html_trace'
Args

File'/home/libertyt/public_html/sources/global2.php'
Line'862'
Function'_fatal_exit'
Argsobject


File'/home/libertyt/public_html/sources/database/mysql.php'
Line'228'
Function'fatal_exit'
Argsobject


File'/home/libertyt/public_html/sources/database.php'
Line'917'
Function'db_query'
Class'Database_Static_mysql'
Type'->'
ObjectDatabase_Static_mysql::__set_state(array( ))
Args'INSERT INTO ocp4_stats (access_denied_counter, browser, operating_system, the_page, ip, the_user, date_and_time, referer, get, post, milliseconds) VALUES (0, \'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)\', \'Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3\', \'pages/comcode_custom/EN/start.txt\', \'97.102.114.69\', -1053308650, 1274664556, \'http://www.libertytoolanddie.com/pg/start\', \'<param>page=start</param>\n<param>keep_has_js=1</param>\n\', \'\', 1081)'

array ( 0 => NULL, 1 => 'libertyt_liberty', )

NULL

NULL

false

false


File'/home/libertyt/public_html/sources/database.php'
Line'486'
Function'_query'
Class'database_driver'
Type'->'
Objectdatabase_driver::__set_state(array( 'table_prefix' => 'ocp4_', 'connection_read' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'connection_write' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'text_lookup_original_cache' => array ( 32 => '', 33 => '', 413 => '', ), 'text_lookup_cache' => array ( 32 => '', 33 => '', 413 => '', ), ))
Args'INSERT INTO ocp4_stats (access_denied_counter, browser, operating_system, the_page, ip, the_user, date_and_time, referer, get, post, milliseconds) VALUES (0, \'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)\', \'Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3\', \'pages/comcode_custom/EN/start.txt\', \'97.102.114.69\', -1053308650, 1274664556, \'http://www.libertytoolanddie.com/pg/start\', \'<param>page=start</param>\n<param>keep_has_js=1</param>\n\', \'\', 1081)'

NULL

NULL

false

false


File'/home/libertyt/public_html/sources/site.php'
Line'1,468'
Function'query_insert'
Class'database_driver'
Type'->'
Objectdatabase_driver::__set_state(array( 'table_prefix' => 'ocp4_', 'connection_read' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'connection_write' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'text_lookup_original_cache' => array ( 32 => '', 33 => '', 413 => '', ), 'text_lookup_cache' => array ( 32 => '', 33 => '', 413 => '', ), ))
Args'stats'

array ( 'access_denied_counter' => 0, 'browser' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)', 'operating_system' => 'Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3', 'the_page' => 'pages/comcode_custom/EN/start.txt', 'ip' => '97.102.114.69', 'the_user' => -1053308650, 'date_and_time' => 1274664556, 'referer' => 'http://www.libertytoolanddie.com/pg/start', 'get' => '<param>page=start</param> <param>keep_has_js=1</param> ', 'post' => '', 'milliseconds' => 1081, )


File'/home/libertyt/public_html/sources/site.php'
Line'842'
Function'log_stats'
Args'pages/comcode_custom/EN/start.txt'

1.081783


File'/home/libertyt/public_html/index.php'
Line'114'
Function'do_site'
Args
Back to the top
 
Posted
Rating:
#60254
Avatar

Community saint

I had a critical bail out error in the past as well and fixed the problem by fixing my tables using phpMyAdmin... you might want to try that at least for a start.

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#60262
Avatar

Fan in action

HI Eric,
Thanks, I briefly looked at that option last night and chickened out!

One error message states that my stats tables are missing and another that cache is missing. I'm not sure if I can just ADD them back in and all will be hunky-dori!

I'm going to look into recovering from a prior database date by determining how much data I may lose. I'll keep you posted.  

MY main concern is HOW and WHY it happened in the first place.
Back to the top
 
Posted
Rating:
#60263
Avatar

I'd talk to the web host. I don't think it's unheard of for corruption to happen on servers, e.g. db crashing and tables disappearing, or sites being relocated across servers badly.

If you have a backup then just look to restore the structure for the cache and stats tables (the CREATE TABLE bit in the SQL, find it, and execute it manually into the database you still have). The data of these particular tables is not very important.


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

Fan in action

Chris, thanks. This would not be the first time data loss has occurred with HOST It is getting frustrating, actually having to rebuild a whole Magento site.


Last edit: by OrlWebDev
Back to the top
 
Posted
Rating:
#60279
Avatar

Fan in action

I am not too familiar with PHPMyAdmin. Could someone please provide me instructions on how to add back the cache tables in my database?

Uploading a database backup did not resolve the problem… that does not make sense to me.  Wouldn't tables be as they were originally once a site database is restored?







Critical error - bailing out

This is an error that has been elevated to critical error status because it occured 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 occured before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.

Unfortunately a query has failed [DELETE FROM ocp4_cache WHERE (lang='EN' AND the_theme='LIBERTY' AND cached_for='side_stored_menu' AND identifier='087f5d17e9dae9b2469ac71dd1a5595c') LIMIT 1] [Table 'libertyt_liberty.ocp4_cache' doesn't exist] (version: 4.3.2, PHP version: 5.2.11, URL: /pg/start)
Stack trace…

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

File -> '/home/libertyt/public_html/sources/global2.php'
Line -> 862
Function -> '_fatal_exit'
Args -> array

File -> '/home/libertyt/public_html/sources/database/mysql.php'
Line -> 228
Function -> 'fatal_exit'
Args -> array

File -> '/home/libertyt/public_html/sources/database.php'
Line -> 917
Function -> 'db_query'
Class -> 'Database_Static_mysql'
Type -> '->'
Object -> Database_Static_mysql::__set_state(array( ))
Args -> array

File -> '/home/libertyt/public_html/sources/database.php'
Line -> 591
Function -> '_query'
Class -> 'database_driver'
Type -> '->'
Object -> database_driver::__set_state(array( 'table_prefix' => 'ocp4_', 'connection_read' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'connection_write' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'text_lookup_original_cache' => array ( 34 => '', 35 => '', 12039 => 'Precision Machine Shop, Orlando Florida', 8738 => '', 8739 => '', 12037 => '', ), 'text_lookup_cache' => array ( 34 => '', 35 => '', 12039 => '', 8738 => '', 8739 => '', 12037 => '', ), ))
Args -> array

File -> '/home/libertyt/public_html/sources/caches2.php'
Line -> 48
Function -> 'query_delete'
Class -> 'database_driver'
Type -> '->'
Object -> database_driver::__set_state(array( 'table_prefix' => 'ocp4_', 'connection_read' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'connection_write' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'text_lookup_original_cache' => array ( 34 => '', 35 => '', 12039 => 'Precision Machine Shop, Orlando Florida', 8738 => '', 8739 => '', 12037 => '', ), 'text_lookup_cache' => array ( 34 => '', 35 => '', 12039 => '', 8738 => '', 8739 => '', 12037 => '', ), ))
Args -> array

File -> '/home/libertyt/public_html/sources/zones.php'
Line -> 625
Function -> 'put_into_cache'
Args -> array

File -> '/home/libertyt/public_html/sources/tempcode.php'
Line -> 715
Function -> 'do_block'
Args -> array

File -> '/home/libertyt/public_html/sources/tempcode.php'
Line -> 937
Function -> 'handle_symbol_preprocessing'
Args -> array

File -> '/home/libertyt/public_html/sources/tempcode.php'
Line -> 767
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Type -> '->'
Object -> object
Args -> array ( )

File -> '/home/libertyt/public_html/sources/tempcode.php'
Line -> 937
Function -> 'handle_symbol_preprocessing'
Args -> array

File -> '/home/libertyt/public_html/sources/support.php'
Line -> 310
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Type -> '->'
Object -> object
Args -> array ( )

File -> '/home/libertyt/public_html/sources/failure.php'
Line -> 560
Function -> 'globalise'
Args -> array

File -> '/home/libertyt/public_html/sources/global2.php'
Line -> 862
Function -> '_fatal_exit'
Args -> array

File -> '/home/libertyt/public_html/sources/database/mysql.php'
Line -> 228
Function -> 'fatal_exit'
Args -> array

File -> '/home/libertyt/public_html/sources/database.php'
Line -> 917
Function -> 'db_query'
Class -> 'Database_Static_mysql'
Type -> '->'
Object -> Database_Static_mysql::__set_state(array( ))
Args -> array

File -> '/home/libertyt/public_html/sources/database.php'
Line -> 591
Function -> '_query'
Class -> 'database_driver'
Type -> '->'
Object -> database_driver::__set_state(array( 'table_prefix' => 'ocp4_', 'connection_read' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'connection_write' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'text_lookup_original_cache' => array ( 34 => '', 35 => '', 12039 => 'Precision Machine Shop, Orlando Florida', 8738 => '', 8739 => '', 12037 => '', ), 'text_lookup_cache' => array ( 34 => '', 35 => '', 12039 => '', 8738 => '', 8739 => '', 12037 => '', ), ))
Args -> array

File -> '/home/libertyt/public_html/sources/caches2.php'
Line -> 48
Function -> 'query_delete'
Class -> 'database_driver'
Type -> '->'
Object -> database_driver::__set_state(array( 'table_prefix' => 'ocp4_', 'connection_read' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'connection_write' => array ( 0 => NULL, 1 => 'libertyt_liberty', ), 'text_lookup_original_cache' => array ( 34 => '', 35 => '', 12039 => 'Precision Machine Shop, Orlando Florida', 8738 => '', 8739 => '', 12037 => '', ), 'text_lookup_cache' => array ( 34 => '', 35 => '', 12039 => '', 8738 => '', 8739 => '', 12037 => '', ), ))
Args -> array

File -> '/home/libertyt/public_html/sources/zones.php'
Line -> 625
Function -> 'put_into_cache'
Args -> array

File -> '/home/libertyt/public_html/sources/tempcode.php'
Line -> 715
Function -> 'do_block'
Args -> array

File -> '/home/libertyt/public_html/sources/tempcode.php'
Line -> 937
Function -> 'handle_symbol_preprocessing'
Args -> array

File -> '/home/libertyt/public_html/sources/tempcode.php'
Line -> 767
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Type -> '->'
Object -> object
Args -> array ( )

File -> '/home/libertyt/public_html/sources/tempcode.php'
Line -> 937
Function -> 'handle_symbol_preprocessing'
Args -> array

File -> '/home/libertyt/public_html/sources/site.php'
Line -> 774
Function -> 'handle_symbol_preprocessing'
Class -> 'ocp_tempcode'
Type -> '->'
Object -> object
Args -> array ( )

File -> '/home/libertyt/public_html/index.php'
Line -> 114
Function -> 'do_site'
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.
Back to the top
 
Posted
Rating:
#60283
Avatar

Fan in action

UPDATE

I was able to add the missing cache table, although i just added 10 empty fields.

The website is up and running now, but have numerous browser syntax errors and also some strange warnings:


Code

Warning: Expected color but found 'color'. Error in parsing value for 'border'. Declaration dropped.
Source File: https://www.elief.com/billing/templates/elief/style.css
Line: 3



Code

www.elief.com : potentially vulnerable to CVE-2009-3555

Why are they there and has anyone seen this before? seems strange.


Thanks
Back to the top
 
Posted
Rating:
#60290
Avatar

Hi,

I think those are actually problems on Elief's site, but I think minor – lots of minor problems come up on the error console for just about any site, just most people never check it.


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

Fan in action

HI Chris,

I am attempting to understand why anything to do with host is showing in the error logs. I assumed browsers reflected errors only within that single page source code. I learn something everyday!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: