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 Add-On issue with upgrading to 8.1.2

Login / Search

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

Fan in action

sort of reminds me of when I bailed out of a plane the first time, that was critical too

Hi all,
I upgraded to 8.1.2 with no issues except the last Manage Add-Ons Error Correction button (I had 1 Add-On that needed fixing).  When I click on this, I recieve this error...

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.
Unfortunately a query has failed [SELECT COUNT(*) FROM oc_invoices WHERE (i_member_id=5) LIMIT 1] [Table 'thecube_users.oc_invoices' doesn't exist] (version: 8.1.2, PHP version: 5.3.13, URL: /cubeuser/adminzone/index.php?page=login&type=login&keep_safe_mode=1)

Stack trace…

File -> '/home/thecube/public_html/cubeuser/sources/failure.php'
Line -> 689
Function -> 'die_html_trace'
Args -> array

File -> '/home/thecube/public_html/cubeuser/sources/global2.php'
Line -> 985
Function -> '_fatal_exit'
Args -> array

File -> '/home/thecube/public_html/cubeuser/sources/database/mysql.php'
Line -> 245
Function -> 'fatal_exit'
Args -> array

File -> '/home/thecube/public_html/cubeuser/sources/database.php'
Line -> 1068
Function -> 'db_query'
Class -> 'Database_Static_mysql'
Object -> Database_Static_mysql::__set_state(array( ))
Type -> '->'
Args -> array ( 0 => 'SELECT COUNT(*) FROM oc_invoices WHERE (i_member_id=5) ', 1 => array ( 0 => NULL, 1 => 'thecube_users', ), 2 => 1, 3 => NULL, 4 => false, 5 => false, 6 => false, 7 => false, )

File -> '/home/thecube/public_html/cubeuser/sources/database.php'
Line -> 912
Function -> '_query'
Class -> 'database_driver'
Object -> database_driver::__set_state(array( 'table_prefix' => 'oc_', 'connection_read' => array ( 0 => NULL, 1 => 'thecube_users', ), 'connection_write' => array ( 0 => NULL, 1 => 'thecube_users', ), 'text_lookup_original_cache' => array ( 427 => '', 428 => '', 48 => 'Champion', 49 => 'Champion Member', 1342409452 => '', 1342409453 => '', 34 => 'Administrators', 35 => 'Site director', 8 => 'Admin Zone', 2 => 'Admin Zone', 7 => 'Your Self Cube Home Page', 11 => 'Content Management', 13 => 'Forums', 1342409739 => 'Game Zone for Self Cube Users', 9 => 'Site', 1 => 'Your Self Cube Community', 5 => 'Content Management', 12 => 'Forum', 1342409740 => '', 4 => 'Your Self Cube Community', ), 'text_lookup_cache' => array ( 427 => '', 428 => '', 48 => '', 49 => '', 1342409452 => '', 1342409453 => '', 34 => '', 35 => '', 8 => '', 2 => '', 7 => '', 11 => '', 13 => '', 1342409739 => '', 9 => '', 1 => '', 5 => '', 12 => '', 1342409740 => '', 4 => '', ), 'table_exists_cache' => array ( ), 'static_ob' => Database_Static_mysql::__set_state(array( )), ))
Type -> '->'
Args -> array ( 0 => 'SELECT COUNT(*) FROM oc_invoices WHERE (i_member_id=5) ', 1 => 1, 2 => NULL, 3 => false, 4 => false, 5 => array ( ), 6 => '', )

File -> '/home/thecube/public_html/cubeuser/sources/database.php'
Line -> 582
Function -> 'query_select'
Class -> 'database_driver'
Object -> database_driver::__set_state(array( 'table_prefix' => 'oc_', 'connection_read' => array ( 0 => NULL, 1 => 'thecube_users', ), 'connection_write' => array ( 0 => NULL, 1 => 'thecube_users', ), 'text_lookup_original_cache' => array ( 427 => '', 428 => '', 48 => 'Champion', 49 => 'Champion Member', 1342409452 => '', 1342409453 => '', 34 => 'Administrators', 35 => 'Site director', 8 => 'Admin Zone', 2 => 'Admin Zone', 7 => 'Your Self Cube Home Page', 11 => 'Content Management', 13 => 'Forums', 1342409739 => 'Game Zone for Self Cube Users', 9 => 'Site', 1 => 'Your Self Cube Community', 5 => 'Content Management', 12 => 'Forum', 1342409740 => '', 4 => 'Your Self Cube Community', ), 'text_lookup_cache' => array ( 427 => '', 428 => '', 48 => '', 49 => '', 1342409452 => '', 1342409453 => '', 34 => '', 35 => '', 8 => '', 2 => '', 7 => '', 11 => '', 13 => '', 1342409739 => '', 9 => '', 1 => '', 5 => '', 12 => '', 1342409740 => '', 4 => '', ), 'table_exists_cache' => array ( ), 'static_ob' => Database_Static_mysql::__set_state(array( )), ))
Type -> '->'
Args -> array ( 0 => 'invoices', 1 => array ( 0 => 'COUNT(*)', ), 2 => array ( 'i_member_id' => 5, ), 3 => '', 4 => 1, 5 => NULL, )

File -> '/home/thecube/public_html/cubeuser/sources/blocks/main_sitemap.php(122) : eval()\'d code'
Line -> 28
Function -> 'query_value'
Class -> 'database_driver'
Object -> database_driver::__set_state(array( 'table_prefix' => 'oc_', 'connection_read' => array ( 0 => NULL, 1 => 'thecube_users', ), 'connection_write' => array ( 0 => NULL, 1 => 'thecube_users', ), 'text_lookup_original_cache' => array ( 427 => '', 428 => '', 48 => 'Champion', 49 => 'Champion Member', 1342409452 => '', 1342409453 => '', 34 => 'Administrators', 35 => 'Site director', 8 => 'Admin Zone', 2 => 'Admin Zone', 7 => 'Your Self Cube Home Page', 11 => 'Content Management', 13 => 'Forums', 1342409739 => 'Game Zone for Self Cube Users', 9 => 'Site', 1 => 'Your Self Cube Community', 5 => 'Content Management', 12 => 'Forum', 1342409740 => '', 4 => 'Your Self Cube Community', ), 'text_lookup_cache' => array ( 427 => '', 428 => '', 48 => '', 49 => '', 1342409452 => '', 1342409453 => '', 34 => '', 35 => '', 8 => '', 2 => '', 7 => '', 11 => '', 13 => '', 1342409739 => '', 9 => '', 1 => '', 5 => '', 12 => '', 1342409740 => '', 4 => '', ), 'table_exists_cache' => array ( ), 'static_ob' => Database_Static_mysql::__set_state(array( )), ))
Type -> '->'
Args -> array ( 0 => 'invoices', 1 => 'COUNT(*)', 2 => array ( 'i_member_id' => 5, ), )

File -> '/home/thecube/public_html/cubeuser/sources/blocks/main_sitemap.php(122) : eval()\'d code'
Line -> 29
Function -> 'get_entry_pointsinvoices53869_54'
Args -> array ( )

File -> '/home/thecube/public_html/cubeuser/sources/blocks/main_sitemap.php'
Line -> 122
Function -> 'eval'

File -> '/home/thecube/public_html/cubeuser/sources/zones.php'
Line -> 704
Function -> 'run'
Class -> 'Block_main_sitemap'
Object -> Block_main_sitemap::__set_state(array( ))
Type -> '->'
Args -> array ( 0 => array ( 'block' => 'main_sitemap', 'quick_cache' => '1', ), )

File -> '/home/thecube/public_html/cubeuser/sources/tempcode.php'
Line -> 746
Function -> 'do_block'
Args -> array ( 0 => 'main_sitemap', 1 => array ( 'block' => 'main_sitemap', 'quick_cache' => '1', ), )

File -> '/home/thecube/public_html/cubeuser/sources/tempcode.php'
Line -> 1023
Function -> 'handle_symbol_preprocessing'
Args -> array

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

File -> '/home/thecube/public_html/cubeuser/sources/failure.php'
Line -> 321
Function -> 'globalise'
Args -> array

File -> '/home/thecube/public_html/cubeuser/sources/global2.php'
Line -> 945
Function -> '_generic_exit'
Args -> array

File -> '/home/thecube/public_html/cubeuser/sources/global2.php'
Line -> 429
Function -> 'warn_exit'
Args -> array

Function -> 'init__global2'
Args -> array ( )

File -> '/home/thecube/public_html/cubeuser/sources/global.php'
Line -> 318
Function -> 'call_user_func'
Args -> array ( 0 => 'init__global2', )

File -> '/home/thecube/public_html/cubeuser/sources/global.php'
Line -> 555
Function -> 'require_code'
Args -> array ( 0 => 'global2', )

File -> '/home/thecube/public_html/cubeuser/adminzone/index.php'
Line -> 48
Args -> array ( 0 => '/home/thecube/public_html/cubeuser/sources/global.php', )
Function -> 'require'

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. 

I am not sure what to do here, any ideas?
Thanks,
Maurice

Back to the top
 
Posted
Rating:
#88595
Avatar

Fan in action

Yup, just checked, entire site is down…. www.theselfcube.com/cubeuser  :o

Maurice
Back to the top
 
Posted
Rating:
#88596
Avatar

Fan in action

No Safe Mode either...
Back to the top
 
Posted
Rating:
#88597
Avatar

Did you upgrade via manually extracting the addon TAR? This isn't the preferred way as the it will put updated files for addons that might not be installed.

Looks like you don't have eCommerce installed, but the following file got extracted:

site/pages/modules/invoices.php

The integrity check in the upgrader should tell you what other files you might have that relate to addons that aren't installed and help you delete them.


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

Fan in action

Nope, I did the entire upgrade via the desginated Upgrade Installation specs.  And the Integrity Scan  and the "Do Database Upgrade" returned no errors.  And no, I did not have eCommerce installed.

All went well until the after upgrade Login…

O.K., I ran both the Integrity Check and the Database upgrade again and all it O.K. now.  I will check the links and screens and make sure all is good, but looks good so far.

I also removed the eCommerce and Shopping Add-Ons as I don't need them… yet.

Are there other integrity  and data checks I can do from within ocPortal?

Thanks,
Maurice
Back to the top
 
Posted
Rating:
#88604
Avatar

Fan in action

Also, now when I try to access my admin or superuser accounts Profile, I only get a little red box for Posts, Points, Blog, Friends, Inbox & Edit.  I cannot access or view these screens.  I had to refresh the screen in order to get the screens to show.  

Maurice
Back to the top
 
Posted
Rating:
#88614
Avatar

The Cube Guy said

Nope, I did the entire upgrade via the desginated Upgrade Installation specs.  And the Integrity Scan  and the "Do Database Upgrade" returned no errors.  And no, I did not have eCommerce installed.

All went well until the after upgrade Login…

O.K., I ran both the Integrity Check and the Database upgrade again and all it O.K. now.  I will check the links and screens and make sure all is good, but looks good so far.

I also removed the eCommerce and Shopping Add-Ons as I don't need them… yet.

Are there other integrity  and data checks I can do from within ocPortal?

Thanks,
Maurice

Strange, this doesn't normally happen. Please report if you get similar problems in the future.


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

The Cube Guy said

Also, now when I try to access my admin or superuser accounts Profile, I only get a little red box for Posts, Points, Blog, Friends, Inbox & Edit.  I cannot access or view these screens.  I had to refresh the screen in order to get the screens to show.  

Maurice

Does this keep happening? If so, could you attach a screenshot. Profiles were rewritten to use AJAX to load tabs to save memory (to stop it all loading at once).


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

Fan in action

Hi Chris,

Seems to be OK now and the red box looks like a page loading icon.  The pages do seem to load a little slower, however I only notice this on the Profile tabs.

Everything is back to awesome!  Thanks a bunch!

Maurice
Back to the top
 
Posted
Rating:
#88641
Avatar

Probably was your browser caching old Javascript, it happens quite a lot on upgrades annoyingly.

Yes, the profile tabs will load slower as they are loaded on-demand rather than in-advance. It's better really because it uses less initial resources, and because most people will only view the about tab anyway.


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
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: