New Blank Index Page and Error Log

elfinstrider
elfinstrider's picture

Joined: 2006-03-10
Posts: 57
Posted: Wed, 2009-10-14 23:26

Hey guys, noticed this issue popping up,

Gallery 3b3 running for several days just fine, but then suddenly the dreaded white page comes up.
Here's a snippet from the error logs

<?php defined('SYSPATH') or die('No direct script access.'); ?>

2009-10-14 11:58:22 -07:00 --- error: #0 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/drivers/Database/Mysql.php(99): Mysql_Result->__construct(false, Resource id #20, true, 'SELECT *?FROM (...')
#1 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Database.php(259): Database_Mysql_Driver->query('SELECT *?FROM (...')
#2 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/MY_Database.php(56): Database_Core->query('SELECT *?FROM (...')
#3 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Database.php(898): Database->query('SELECT *?FROM (...')
#4 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/drivers/Cache/Database.php(123): Database_Core->getwhere('caches', Array)
#5 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Cache.php(119): Cache_Database_Driver->get('13ec98f606d3779...')
#6 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/Gallery_View.php(94): Cache_Core->get('13ec98f606d3779...')
#7 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/Theme_View.php(220): Gallery_View_Core->combine_files(Array, 'javascript')
#8 [internal function]: Theme_View_Core->__call('head', Array)
#9 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/themes/default/views/page.html.php(70): Theme_View->head()
#10 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Controller.php(74): include('/nfs/c05/h04/mn...')
#11 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/nfs/c05/h04/mn...', Array)
#12 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false)
#13 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/View.php(244): View->render()
#14 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/controllers/albums.php(76): View_Core->__toString()
#15 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model))
#16 [internal function]: REST_Controller->__call('1', Array)
#17 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#18 [internal function]: Kohana::instance()
#19 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Event.php(209): call_user_func(Array)
#20 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Bootstrap.php(55): Event::run('system.execute')
#21 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/index.php(85): require('/nfs/c05/h04/mn...')
#22 {main}
2009-10-14 12:00:46 -07:00 --- error: #0 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/drivers/Database/Mysql.php(99): Mysql_Result->__construct(false, Resource id #20, true, 'SELECT *?FROM (...')
#1 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Database.php(259): Database_Mysql_Driver->query('SELECT *?FROM (...')
#2 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/MY_Database.php(56): Database_Core->query('SELECT *?FROM (...')
#3 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Database.php(898): Database->query('SELECT *?FROM (...')
#4 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/drivers/Cache/Database.php(123): Database_Core->getwhere('caches', Array)
#5 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Cache.php(119): Cache_Database_Driver->get('13ec98f606d3779...')
#6 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/Gallery_View.php(94): Cache_Core->get('13ec98f606d3779...')
#7 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/Theme_View.php(220): Gallery_View_Core->combine_files(Array, 'javascript')
#8 [internal function]: Theme_View_Core->__call('head', Array)
#9 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/themes/default/views/page.html.php(70): Theme_View->head()
#10 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Controller.php(74): include('/nfs/c05/h04/mn...')
#11 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/nfs/c05/h04/mn...', Array)
#12 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false)
#13 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/View.php(244): View->render()
#14 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/controllers/albums.php(76): View_Core->__toString()
#15 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model))
#16 [internal function]: REST_Controller->__call('1', Array)
#17 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#18 [internal function]: Kohana::instance()
#19 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Event.php(209): call_user_func(Array)
#20 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Bootstrap.php(55): Event::run('system.execute')
#21 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/index.php(85): require('/nfs/c05/h04/mn...')
#22 {main}
2009-10-14 12:41:11 -07:00 --- error: #0 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/drivers/Database/Mysql.php(99): Mysql_Result->__construct(false, Resource id #20, true, 'SELECT *?FROM (...')
#1 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Database.php(259): Database_Mysql_Driver->query('SELECT *?FROM (...')
#2 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/MY_Database.php(56): Database_Core->query('SELECT *?FROM (...')
#3 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Database.php(898): Database->query('SELECT *?FROM (...')
#4 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/drivers/Cache/Database.php(123): Database_Core->getwhere('caches', Array)
#5 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Cache.php(119): Cache_Database_Driver->get('13ec98f606d3779...')
#6 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/Gallery_View.php(94): Cache_Core->get('13ec98f606d3779...')
#7 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/Theme_View.php(220): Gallery_View_Core->combine_files(Array, 'javascript')
#8 [internal function]: Theme_View_Core->__call('head', Array)
#9 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/themes/default/views/page.html.php(70): Theme_View->head()
#10 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/Controller.php(74): include('/nfs/c05/h04/mn...')
#11 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/View.php(272): Controller_Core->_kohana_load_view('/nfs/c05/h04/mn...', Array)
#12 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/libraries/MY_View.php(39): View_Core->render(false, false)
#13 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/libraries/View.php(244): View->render()
#14 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/controllers/albums.php(76): View_Core->__toString()
#15 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/modules/gallery/controllers/rest.php(91): Albums_Controller->_show(Object(Item_Model))
#16 [internal function]: REST_Controller->__call('1', Array)
#17 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Kohana.php(291): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#18 [internal function]: Kohana::instance()
#19 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Event.php(209): call_user_func(Array)
#20 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/system/core/Bootstrap.php(55): Event::run('system.execute')
#21 /nfs/c05/h04/mnt/77913/domains/emilyoffice.com/html/egimg/index.php(85): require('/nfs/c05/h04/mn...')
#22 {main}

Thoughts?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-10-14 23:32

Did you happen to upgrade to the latest code? If so did you go to www.example.com/gallery3/index.php/upgrader

Following these instructions:
http://codex.gallery2.org/Gallery3:Upgrading
:)

If not, sounds like this is related to your other post here:
http://gallery.menalto.com/gallery_3.0_beta_3_feedback?page=2#comment-324195

And that there is some major stability issues at MediaTemple.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
elfinstrider
elfinstrider's picture

Joined: 2006-03-10
Posts: 57
Posted: Wed, 2009-10-14 23:56

I'm afraid I did update it to the latest code and that seems to have gone okay, but it doesn't seem to have changed the issue.

Perhaps it is an MT thing, but everything else seems pretty stable and I'm not having issues with any previous gallery install (running both 1 and 2 on different domains, same server); or any of my other PHP / MYSQL systems. It is the same issue, afraid I wasn't thinking when I posted that one in the mix of other issues. Since I pulled out the error logs, I thought it might need its own topic.

Other thoughts are welcome

 
elfinstrider
elfinstrider's picture

Joined: 2006-03-10
Posts: 57
Posted: Wed, 2009-10-14 23:54

Also, I can't seem to decipher from the error log what exactly is the problem.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-10-15 00:00

I was trying to avoid posting your URL in case you didn't want it out there, but go here: http://emilyoffice.com/egimg/index.php/upgrader

There have been version changes since B3 and if you read this page: http://codex.gallery2.org/Gallery3:Upgrading you'll see that it says to go there after updating to the latest code.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
elfinstrider
elfinstrider's picture

Joined: 2006-03-10
Posts: 57
Posted: Thu, 2009-10-15 00:06

Tis alright, this is completely a "test G3" domain, so it's okay.

And alas, I already did that when I first upgraded it, it all upgraded fine. . . I just ran through it again and it said that the gallery was updated.

 
elfinstrider
elfinstrider's picture

Joined: 2006-03-10
Posts: 57
Posted: Thu, 2009-10-15 21:50

Still having the issue, can't seem to figure out it on either side.

Any thoughts?