Error (ERROR_STORAGE_FAILURE)

dcsquared

Joined: 2005-10-13
Posts: 9
Posted: Thu, 2005-10-13 15:19

site:http://www.driscoll-carignan.com/gallery/main.php
phpinfo:http://www.driscoll-carignan.com/gallery/phpinfo.php
not quite sure I understand what error debugging message to include, but if you click on the link you'll see what I'm getting.

Been having problems since yesterday. Could access the site for a while, then when I tried to login, I got the errors you are seeing now. Without being able to access the site admin, all I could really do was repair my MySQL DB, which didn't seem to do anything.

somehow, later on I was able to get in. I rebuilt the thumbnails and ran all the other maintenance tools. That seemed to work...for a while. Later my wife was browsing from work and told me the thumbnails weren't showing up - within about 10 minutes I went to the site, and the errors were back and I haven't been able to get in since.

I had similar issues before with the site, and rebuilding the thumbnails seemed to fix it. Hearing that thumbnails weren't working yesterday before it died makes me suspicious that they are the culprit again, but I can't get into the site to repair them.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-10-13 15:50
Quote:
Notice: Only variable references should be returned by reference in /home/driscol/public_html/gallery/lib/adodb/adodb.inc.php on line 2847

FAQ: I get "Notice: Only variable references should be returned by reference in ", what's wrong?

@ERROR_STORAGE_FAILURE:
could be related to the php / zend optimizer bug. so first fix the other issue.

"1030: Got error 12 from table handler"

make sure your database tables are ok.
in phpmyadmin you can check the status of each table / repair it. you can do the same manually with a mysql shell.

 
dcsquared

Joined: 2005-10-13
Posts: 9
Posted: Thu, 2005-10-13 16:59

I ran through phpmyadmin (actually had done this yesterday to) and repaired everything. I did get some warnings when I analyzed the table:

Problems with indexes of table `g2_AccessMap`
Warning UNIQUE and INDEX keys should not both be set for column `g_accessListId`
Problems with indexes of table `g2_PluginParameterMap`
Warning UNIQUE and INDEX keys should not both be set for column `g_pluginType`
Warning More than one INDEX key was created for column `g_pluginType`

I red through the info on the Zend Optimizer bug. I'm going to just assume right now that my useless webhost is not going to work with me on disabling Zend. Which brings me to the incredibly stupid question of "where do I find php.ini to make that edit?"

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-10-13 17:04

your webhost is in charge of php.ini.

point them to this FAQ entry.

 
dcsquared

Joined: 2005-10-13
Posts: 9
Posted: Thu, 2005-10-13 17:16

oh. that's not good.

 
mjohns64

Joined: 2005-10-17
Posts: 3
Posted: Mon, 2005-10-17 20:19

OK - I am having the same problem as above..

Looks like I have the module enabled and once I hit the limit, I receive all sorts of errors... exactly as posted above. My question is :

1. How do I deactive the modules now I am receiving this error? Every time I browse to the site, I receive the same above messages - even if I try going to the site admin page? As I can't reach the site admin page, I cannot remove / deactivate. Which file stores the setting that I can edit to do this?

Thanks,

Matt.

Error (ERROR_STORAGE_FAILURE) :
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1411 (gallerystatus::error)
in modules/core/classes/GalleryStorage.class at line 365 (mysqldatabasestorage::updatemapentry)
in modules/core/classes/interfaces/GalleryItemAttributesMap.inc at line 159 (gallerystorage::updatemapentry)
in modules/core/classes/helpers/GalleryItemAttributesHelper_simple.class at line 52 (galleryitemattributesmap::updatemapentry)
in modules/core/classes/GalleryCoreApi.class at line 1119 (galleryitemattributeshelper_simple::incrementviewcount)
in modules/core/ShowItem.inc at line 107 (gallerycoreapi::incrementitemviewcount)
in modules/core/classes/GalleryTheme.class at line 688 (showitemview::loadtemplate)
in modules/core/classes/GalleryView.class at line 285 (matrixtheme::loadtemplate)
in main.php at line 287 (showitemview::doloadtemplate)
in main.php at line 87
in main.php at line 80

www.matts-home.org/g2

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-10-17 20:22

mjohns64
please create a new forum topic. your error is unrelated to this issue.
don't forget to enable buffered debug mode and post a phpinfo link and the system information block.
FAQ: How to set/use Gallery in debug mode?

FAQ: What information is required when I ask for help in the forums?

 
mjohns64

Joined: 2005-10-17
Posts: 3
Posted: Mon, 2005-10-17 20:24

Apologies - posted to wrong forum..

Reposted now thanks,

Matt.