[SOLVED] dont create album in Gallery but on server

Smoere

Joined: 2008-10-13
Posts: 29
Posted: Tue, 2014-07-08 05:44

Error Detail +

realpath(/mounted-storage/home36a/sub003/sc29113-XZLC/www/gallery/modules/core/classes/../../../) realpath(/mounted-storage/home36a/sub003/sc29113-XZLC/www/gallery/)
(mysqlt): update g2_SequenceEventLog set id=LAST_INSERT_ID(id+1);
(mysqlt): UPDATE g2_EventLogMap SET g_userId=151235, g_type='Gallery Error', g_summary='ERROR_STORAGE_FAILURE', g_details='Error (ERROR_STORAGE_FAILURE)<b>in</b> modules/core/classes/GalleryStorage/GalleryStorageExtras.class <b>at line</b> 1149 (GalleryCoreApi::error) \n<b>in</b> modules/core/classes/GalleryStorage.class <b>at line</b> 548 (GalleryStorageExtras::removeAllMapEntries) \n<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 2975 (GalleryStorage::removeAllMapEntries) \n<b>in</b> modules/imageblock/classes/ImageBlockHelper.class <b>at line</b> 777 (GalleryCoreApi::removeAllMapEntries) \n<b>in</b> modules/core/classes/helpers/GalleryEventHelper_simple.class <b>at line</b> 59 (ImageBlockHelper::handleEvent) \n<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 2238 (GalleryEventHelper_simple::postEvent) \n<b>in</b> modules/core/classes/GalleryItem.class <b>at line</b> 440 (GalleryCoreApi::postEvent) \n<b>in</b> modules/core/classes/GalleryAlbumItem.class <b>at line</b> 256 (GalleryItem::save) \n<b>in</b> modules/core/classes/helpers/GalleryItemHelper_advanced.class <b>at line</b> 247 (GalleryAlbumItem::save) \n<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 1646 (GalleryItemHelper_advanced::createAlbum) \n<b>in</b> modules/core/ItemAddAlbum.inc <b>at line</b> 80 (GalleryCoreApi::createAlbum) \n<b>in</b> main.php <b>at line</b> 250 (ItemAddAlbumController::handleRequest) \n<b>in</b> main.php <b>at line</b> 104\n<b>in</b> main.php <b>at line</b> 88\n\nRequest variables: Array\n(\n [return] => /gallery/main.php?g2_view=core.ItemAdmin&amp;g2_subView=core.ItemAddAlbum&amp;g2_itemId=278693\n [formUrl] => /gallery/main.php?g2_view=core.ItemAdmin&amp;g2_subView=core.ItemAddAlbum&amp;g2_itemId=278693\n [authToken] => a49c58caa969\n [controller] => core.ItemAddAlbum\n [form] => Array\n (\n [formName] => ItemAddAlbum\n [pathComponent] => tes\n [title] => test\n [summary] => \n [keywords] => \n [description] => \n [action] => Array\n (\n [create] => Erstellen\n )\n\n )\n\n [itemId] => 278693\n)\n', g_location='http://www.ovalrace.com/gallery/main.php', g_client='195.62.110.7', g_timestamp=1404797977, g_referer='http://www.ovalrace.com/gallery/main.php?g2_view=core.ItemAdmin&amp;g2_subView=core.ItemAddAlbum&amp;g2_itemId=278693' WHERE g_id=819
(mysqlt): ROLLBACK
2006: MySQL server has gone away
ADOConnection._Execute(ROLLBACK, false) % line 891, file: adodb.inc.php
ADOConnection.Execute(ROLLBACK) % line 74, file: adodb-mysqlt.inc.php
ADODB_mysqlt.RollbackTrans() % line 892, file: GalleryStorage.class
GalleryStorage.rollbackTransaction() % line 115, file: main.php
GalleryMain() % line 88, file: main.php
mysqlt error: [2006: MySQL server has gone away] in EXECUTE("ROLLBACK")
(mysqlt): SET AUTOCOMMIT=1
2006: MySQL server has gone away
ADOConnection._Execute(SET AUTOCOMMIT=1, false) % line 891, file: adodb.inc.php
ADOConnection.Execute(SET AUTOCOMMIT=1) % line 75, file: adodb-mysqlt.inc.php
ADODB_mysqlt.RollbackTrans() % line 892, file: GalleryStorage.class
GalleryStorage.rollbackTransaction() % line 115, file: main.php
GalleryMain() % line 88, file: main.php
mysqlt error: [2006: MySQL server has gone away] in EXECUTE("SET AUTOCOMMIT=1") fclose(Resource id #61) file_exists(/home36a/sub003/sc29113-XZLC/www/gallery/Albums38047/locks/278693) fclose(Resource id #59) file_exists(/home36a/sub003/sc29113-XZLC/www/gallery/Albums38047/locks/278693) unlink(/home36a/sub003/sc29113-XZLC/www/gallery/Albums38047/locks/278693)

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2014-07-08 07:01

It looks like your database is unable to handle the requirements of the imageblock module.

I assume you have a lot of images on your site with quite a few registered users and associated complex permissions.

You probably need to either allocate a lot more resources to MYSQL or disable the imageblock module.

Overall, the message you are getting is that your server is starting to struggle to meet the requirements of your site and issues like this will start to pop up here and there. I would suggest seriously looking into moving to a more powerful server.

--
dakanji.com

 
Smoere

Joined: 2008-10-13
Posts: 29
Posted: Tue, 2014-07-08 08:18

Thanks for the quick response.
it is so that we have actual 2-3 active uploader and the moment about 60,000 photos online.
On the server I am unfortunately not ran, which is posted as a webspace: (

I würder like to move to a vserver, this created new problems with security, so I've always avoided so far

I have a go at your suggestions

 
Smoere

Joined: 2008-10-13
Posts: 29
Posted: Tue, 2014-07-08 08:51

thank you very much , it was the imageblock modul. :)