Hello there...
So I've finally taken the initiative to update to Gallery 2. I followed all the steps to migrate and installed Gallery 2 with no issues.
I then began the process to import my data from G1. Follwed Data Migration step 1 and clicked Install/Update...things appeared to go well and then I got the ERROR_STORAGE_FAILURE error. I followed the steps to correct that. However now when I go to my Gallery home page this is all I see:
Quote:
Database Error
An error has occurred while interacting with the database.
The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.
Back to the Gallery
Error Detail -
Error (ERROR_STORAGE_FAILURE)
• in modules/core/classes/GalleryStorage.class at line 480 (gallerycoreapi::error)
• in modules/core/classes/Gallery.class at line 202 (mysqlstorage::search)
• in modules/core/classes/helpers/GalleryItemHelper_simple.class at line 265 (gallery::search)
• in modules/core/classes/helpers/GalleryItemHelper_simple.class at line 167 (galleryitemhelper_simple::fetchuncacheddescendentcounts)
• in modules/core/classes/GalleryCoreApi.class at line 1436 (galleryitemhelper_simple::fetchdescendentcounts)
• in modules/core/classes/GalleryTheme.class at line 1366 (gallerycoreapi::fetchdescendentcounts)
• in themes/matrix/theme.inc at line 65 (matrixtheme::loadcommontemplatedata)
• in modules/core/classes/GalleryTheme.class at line 926 (matrixtheme::showalbumpage)
• in modules/core/classes/GalleryView.class at line 308 (matrixtheme::loadtemplate)
• in main.php at line 441 (showitemview::doloadtemplate)
• in main.php at line 94
• in main.php at line 83
System Information
Gallery version 2.2.3
PHP version 4.4.1 apache
Webserver Apache
Database mysqlt 4.0.27
Toolkits ImageMagick, NetPBM
Operating system FreeBSD st33.startlogic.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Jun i386
Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Thoughts? Ideas? Next steps? I don't know how to run the DeBug mode that was suggested and figured I'd make things worse if I tried...
I'm a bit of non-techy, so simple words would be helpful
G2 URL (optional):http://arottalove.org/gallery/main.php
G2 version: 2.2.3
G1 URL (optional): www.arottalove.org/G1
G1 version: 1.5
G1 character set:
PHP memory limit:
--
PHP version (e.g. 5.1.6): 4.4.1 apache
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32): mysqlt 4.0.27
Activated toolkits (e.g. NetPbm, GD): ImageMagick, NetPBM
Operating system (e.g. Linux): FreeBSD st33.startlogic.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Jun i386
Browser (e.g. Firefox 2.0): IE 7
Posts: 12
Ok, so I changed the config.php to buffered debug mode...now my "http://arottalove.org/gallery/main.php
" is a total mess of data, but this is the error listed at the bottom of the page:
Is that what I'm looking for? Is it helpful?
Posts: 12
Ok, newest development...stepped away from it for a few hours then went back and things seemed to be fine?!?!?!
Started importing the remaining albums from G1, this time only a handful at time thinking that maybe it was a size issue...things went smoothly for about 5 batches of 10 albums each and then I got the ERROR_STORAGE deal again..
Went back into debug mode, and this is the error I received this time:
I guess I don't understand how I'm getting different errors for doing the same thing?
This is what happens when you make this stuff available to the masses who know just enough to get ourselves hosed...
Posts: 27300
I suspect that you might be running into this issue:
FAQ: I seem to be running into some sort of MySQL query limit, is there anything that can be done?
Try to import smaller chucks over a longer period of time.
A google search yielded some tables need repair. can you repair tables with phpMyadmin?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
My host is StartLogic and I use vDeck and phpMyAdmin for database stuff...they do have a check/repair feature for databases that will give warnings that you can repair...I've checked that at each failure and have repaired a few along the way, but they are currently all registering as ok...
As for the query limit...I was thinking the same thing...I'm leaving it alone for a bit again...but the different error numbers has me perplexed...
In regards to the query limits...has anyone found this to be a problem outside of importing large amounts rapidly...I ask because I have a number of users who'll upload 5-20 pictures at any given time and would hate to think the Gallery is going to be errored out and offline for an hour every time they do that...
Thanks for the assist....
Posts: 12
So I just tried the Gallery again (it's been 1.5 hours) and I still have the ERROR_STORAGE error, but now as I read down the debug the 1030 error is gone, but has been replaced by:
I've done nothing to it in mean time??? Is this usual for php? Can errors just come and go without user intervention??
---------------------------
G2 URL (optional):http://arottalove.org/gallery/main.php
G2 version: 2.2.3
G1 URL (optional): www.arottalove.org/G1
G1 version: 1.5
G1 character set:??
PHP memory limit: ??
--
PHP version (e.g. 5.1.6): 4.4.1 apache
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32): mysqlt 4.0.27
Activated toolkits (e.g. NetPbm, GD): ImageMagick, NetPBM
Operating system (e.g. Linux): FreeBSD st33.startlogic.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Jun i386
Browser (e.g. Firefox 2.0): IE 7
Posts: 27300
I have experienced in on a couple of hosts. Only when importing G1 items. I have not seen this limit in regular use on the same hosts.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
I woke up this morning and it's back up and running, so I'm going to guess that it's a query limit deal...
Hopefully floridave is correct and once I'm done moving everything over it won't continue to happen...
But now I have new anomoly...but I'll start a new thread for that...
Thanks!