I've read the FAQ, but don't know how to 'find the g2_SequenceId table' - I am so clueless! I was trying to import the g1 users when I encountered errors. [specifically, this error: Error (ERROR_STORAGE_FAILURE)] No idea what to do next. G1 has quit working completely and I really, REALLY need to get this migration done so everyone can stop screaming for my blood. But I'm a technical moron and need LOTS of patient help. Pleeeeease. (Gosh, could I possibly be more pathetic?)
Y
System Information
Gallery version 2.2.5
PHP version 4.4.7 cgi
Webserver Apache
Database mysqlt 5.0.45-log
Toolkits ImageMagick, Thumbnail, NetPBM
Operating system Linux boscgi1504.eigbox.net 2.6.24.7 #1 SMP Wed May 7
12:55:23 EDT 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3
-----
G2 URL (optional): theboxartden.com/Gallery
G2 version: 2.2.5
G1 URL (optional): theboxartden.com/g1
G1 version: 1.5-RC2
G1 character set: ?????
PHP memory limit: ?????
--
PHP version (e.g. 5.1.6): 4.4.7
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32): mysqlt 5.0.45-log
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): Linux
Browser (e.g. Firefox 2.0): Firefox 3.0.3
"I am not expendable, I'm not stupid and I'm not going." -- Kerr Avon
Posts: 4342
...which FAQ asks you to look for the g2_SequenceId table?
Posts: 11
The Gallery2 FAQ which has this topic:
# 4.40 I get ERROR_STORAGE_FAILURE when adding new photos or creating albums, what should I do?
and the answer starts with:
In a mysql database this could be a problem with the g2_SequenceId table. To fix this in phpMyAdmin, find the g2_SequenceId table and click "Browse" to see the rows.
I have no idea what/where a g2_SequenceId table is or, for that matter, how to access a phpMyAdmin ... I meant it when I said I'm clueless.
Posts: 4342
It's difficult to know what to suggest then!
ERROR_STORAGE_FAILURE is a very general message; when it shows up on your screen you should have a more detailed error stack underneath which gives the line numbers being executed that would be useful information to post.
To be honest it's quite unlikely (not impossible) that it's a problem with the g2_SequenceId. For reference, phpMyAdmin is a utility for accessing your database directly - it's usually provided as part of a web-based control panel by your hosting provider. But if you're that uncertain about stuff you have a fair amount of learning to do before you'd know what to do with it. And poking around in the Gallery db with phpMyAdmin can totally wreck an installation unless you know what you're up to.
Posts: 11
Heh, I hear ya, re phpMyAdmin - would be my luck to destroy something ...
Well, here is the first error I got in it's entirety:
---------------------------------------------------
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/GalleryUserHelper_medium.class at
line 137 (gallery::search)
* in modules/core/classes/GalleryCoreApi.class at line 533
(galleryuserhelper_medium::fetchuserbyusername)
* in modules/migrate/ChooseObjects.inc at line 179
(gallerycoreapi::fetchuserbyusername)
* in modules/core/SiteAdmin.inc at line 201
(chooseobjectsview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 300
(siteadminview::loadtemplate)
* in main.php at line 445 (siteadminview::doloadtemplate)
* in main.php at line 94
* in main.php at line 83
System Information
Gallery version 2.2.5
PHP version 4.4.7 cgi
Webserver Apache
Database mysqlt 5.0.45-log
Toolkits ImageMagick, Thumbnail, NetPBM
Operating system Linux boscgi1504.eigbox.net 2.6.24.7 #1 SMP Wed May 7
12:55:23 EDT 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3
---------------------------------------------------
When I set it to debug mode I got a HUUUUUUUUGE readout that I am loath to paste here unless you think you might be able to make something of it ...
Y
Posts: 4342
That's a start.
The bit of the "HUUUUUUUGE" debug out put that would be useful is the bit where there's (probably) a SQL error code embedded in it. You can post the whole thing as an attachment to your next post.
Posts: 11
Hmmmm, attachment - okay, I'll give it a try ......
Posts: 4342
Well, here's the problem:
But that doesn't give any clue about what underlies it - "Lost connection to MySQL server during query" - I'll have to open it up to anyone else to suggest where to go next.
Posts: 11
THANKS!!!!! Hmmm, I will ask my server host if anything on their end may cause that.
Thanks again!!
Y