Crash on sort

fruitloaf
fruitloaf's picture

Joined: 2005-01-28
Posts: 20
Posted: Sun, 2005-01-30 16:14

When I tried to reorder the albums in my gallery by title and ascending (from the default manual order) I got the following error. I can't now get back into the gallery admin or main page

Error (ERROR_STORAGE_FAILURE, ERROR_UNKNOWN) :

* in C:\WebServ\wwwroot\htdocs\gallery2\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 735 (MySqlDatabaseStorage::error)
* in C:\WebServ\wwwroot\htdocs\gallery2\modules\core\classes\GalleryStorage.class at line 220 (MySqlDatabaseStorage::search)
* in C:\WebServ\wwwroot\htdocs\gallery2\modules\core\classes\Gallery.class at line 184 (GalleryStorage::search)
* in C:\WebServ\wwwroot\htdocs\gallery2\modules\core\classes\helpers\GalleryChildEntityHelper_simple.class at line 388 (Gallery::search)
* in C:\WebServ\wwwroot\htdocs\gallery2\modules\core\classes\helpers\GalleryChildEntityHelper_simple.class at line 189 (ClassicLayout::_fetchChildItemIds)
* in C:\WebServ\wwwroot\htdocs\gallery2\modules\core\classes\GalleryCoreApi.class at line 2159 (ClassicLayout::fetchChildItemIds)
* in C:\WebServ\wwwroot\htdocs\gallery2\layouts\matrix\layout.inc at line 264 (ClassicLayout::fetchChildItemIds)
* in C:\WebServ\wwwroot\htdocs\gallery2\layouts\classic\layout.inc at line 148 (ClassicLayout::_loadAlbumTemplate)
* in C:\WebServ\wwwroot\htdocs\gallery2\layouts\matrix\layout.inc at line 150 (ClassicLayout::_loadAlbumTemplate)
* in C:\WebServ\wwwroot\htdocs\gallery2\modules\core\ShowItem.inc at line 124 (ClassicLayout::loadTemplate)
* in C:\WebServ\wwwroot\htdocs\gallery2\modules\core\classes\GalleryView.class at line 246 (ShowItemView::loadTemplate)
* in C:\WebServ\wwwroot\htdocs\gallery2\main.php at line 257 (ShowItemView::doLoadTemplate)
* in C:\WebServ\wwwroot\htdocs\gallery2\main.php at line 46
* in C:\WebServ\wwwroot\htdocs\gallery2\main.php at line 39

The following information is required to get an answer:
Gallery URL: http://www.jaynne.co.uk/gallery (might not be up just now)
Gallery version: 28-01-05 build
Apache version: 2.0.52
PHP version: PHP v5.0.2
Graphics Toolkit: ImageMagick and NetBM tried
Operating system: Windows XP SP2
Web browser/version (if applicable): Firefox and IE

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-01-30 18:57

enable debug output in config.php and post the database error. (did the error page you received not ask you to do this? it should have...)