I am getting the following error when installing gallery2. So far I have tried the alpha4 on the site, the 1-05-05 snapshot, and the latest nightly snapshot of 1-19-05 at 3am when i last tried to work on this yesterday evening. EVERYtime i get the following error. Each install attempt (several per revision) i work with a fresh clean directory, and a fresh clean database each time for peace of mind.
Error (ERROR_STORAGE_FAILURE) :
in D:\HTML\gallery2.sargonas.com\gallery2\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 735 (gallerystatus::error)
in D:\HTML\gallery2.sargonas.com\gallery2\modules\core\classes\GalleryStorage.class at line 220 (mysqldatabasestorage::search)
in D:\HTML\gallery2.sargonas.com\gallery2\modules\core\classes\Gallery.class at line 184 (gallerystorage::search)
in D:\HTML\gallery2.sargonas.com\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 234 (gallery::search)
in D:\HTML\gallery2.sargonas.com\gallery2\modules\core\classes\helpers\GalleryPluginHelper_simple.class at line 175 (gallerypluginhelper_simple::fetchallparameters)
in D:\HTML\gallery2.sargonas.com\gallery2\modules\core\classes\GalleryCoreApi.class at line 203 (gallerypluginhelper_simple::getparameter)
in D:\HTML\gallery2.sargonas.com\gallery2\modules\core\classes\Gallery.class at line 468 (gallerycoreapi::getpluginparameter)
in D:\HTML\gallery2.sargonas.com\gallery2\modules\core\classes\Gallery.class at line 440 (gallery::getactivelanguagecode)
in D:\HTML\gallery2.sargonas.com\gallery2\init.php at line 138 (gallery::inittranslator)
in D:\HTML\gallery2.sargonas.com\gallery2\main.php at line 32
----
Gallery URL (optional):http://gallery2.sargonas.com/gallery2
Gallery version:1-19-05 3:33am snapshot
Webserver (with version): IIS5 on Win 2k
Datatabase (with version): MySQL 4.1.8 for windows
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s): imagemagik
Operating system: Windows 2k
Web browser/version: IE 6 and Firefox
Posts: 8601
look near the bottom of the debug output and post the database error here.
the subject implies this error is in the installer.. why is the stack trace for main.php?
Posts: 4
rgr let me grab the nice long debug info, ill have to run though it all again to re-gen that.. do you want it all, or just that bit of info?
Posts: 4
here is the stack trace:
and here is the debug output info
wait a minute!! while looking at the VERY end of the debug i see this..
i never noticed this before but
1071: Specified key was too long; max key length is 1000 bytes
makes sense to me, since key fields after it are red... would that be the issue?
Posts: 8601
you need to change your database character set.. search the forums for the 1000 bytes error for more info.
Posts: 4
yeah when the db was made in phpmyadmin the collation box was left unselected so ut ued whatever the default was.. i changed it following some suggestions in other threads, and im good to go now! thanks!