Closed (fixed)
Project:
Gallery
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2006 at 05:06 UTC
Updated:
6 Mar 2007 at 00:16 UTC
I'm receiving a database error after I upgraded to Drupal 4.7 RC2. The error only happens when viewing the picture. It doesn't happen when I am viewing albums. I don't get any errors when viewing the pictures standalone. I haven't got a clue what's causing this. Since not many people go to my site (hopefully) I have turned debug mode in gallery on so if someone can take a look and give me some ideas I'd greatly appreciate it. I also turned off the rewrite module in gallery to see if that was what was causing the problem, but it wasn't.
Embeded Gallery http://photo.lvthunder.com/gallery
Standalone http://www.lvthunder.com/gallery2
Thanks,
Comments
Comment #1
kiz_0987 commentedDid this work before? Even with the different subdomain (photo.lvthunder.com/gallery)? You may need to set up the cookie info in your Gallery2 site admin to deal with this case.
Comment #2
lvthunder commentedYes, this worked before. I tried setting the cookie domain and that didn't work either.
Comment #3
lvthunder commentedIt must of been something with my g2 theme or my imageframe since when I changed those two the errors went away. Who knows. If it pops up again I'll be back.
Comment #4
(not verified) commentedComment #5
mojobaer commentedI have the same error. I have the final release of 4.7 and G2.1 using the Gallery module. Viewing an album is no problem, but when I click on an individual image this comes:
Here's the error that shows up:
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 988 (gallerycoreapi::error)
in modules/core/classes/GalleryStorage.class at line 501 (gallerystorageextras::addmapentry)
in modules/core/classes/GalleryCoreApi.class at line 2923 (mysqlstorage::addmapentry)
in modules/core/classes/GalleryDataCache.class at line 739 (gallerycoreapi::addmapentry)
in modules/core/classes/GalleryTheme.class at line 1727 (gallerydatacache::putpagedata)
in themes/matrix/theme.inc at line 97 (matrixtheme::loadcommontemplatedata)
in modules/core/classes/GalleryTheme.class at line 922 (matrixtheme::showphotopage)
in modules/core/classes/GalleryView.class at line 325 (matrixtheme::loadtemplate)
in main.php at line 386 (showitemview::doloadtemplate)
in main.php at line 87
in modules/core/classes/GalleryEmbed.class at line 192
in /home/mojobaer/public_html/drupal03/modules/gallery/gallery_block.inc at line 86 (galleryembed::handlerequest)
in /home/mojobaer/public_html/drupal03/modules/gallery/gallery.module at line 186
in ??? at line 0
in /home/mojobaer/public_html/drupal03/includes/module.inc at line 185
in /home/mojobaer/public_html/drupal03/modules/block.module at line 638
in ??? at line 0
in /home/mojobaer/public_html/drupal03/includes/module.inc at line 185
in /home/mojobaer/public_html/drupal03/includes/theme.inc at line 935
in ??? at line 0
in /home/mojobaer/public_html/drupal03/includes/theme.inc at line 166
in /home/mojobaer/public_html/drupal03/themes/engines/phptemplate/phptemplate.engine at line 160
in ??? at line 0
in /home/mojobaer/public_html/drupal03/includes/theme.inc at line 166
in /home/mojobaer/public_html/drupal03/index.php at line 29
System Information
Gallery version 2.1.1
PHP version 4.4.2 apache
Webserver Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 mod_ssl/2.8.25 OpenSSL/0.9.7a
Database mysql 4.1.18-standard
Toolkits SquareThumb, ImageMagick
Operating system Linux olp.opensourcehost.com 2.6.14.6-ts.grh.mh.ht #1 SMP Tue Feb 28 23:27:37 CST 2006 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Comment #6
mojobaer commentedUpdate: I've tried changing both drupal and G2 themes per the previous poster, but no change -> still the db errors.
Comment #7
kiz_0987 commentedDoes the error (or any other error) occur with the standalone gallery?
Comment #8
mindless commentedI closed this duplicate.
I don't know the cause of this, but since gallerydatacache::putpagedata is in the trace, probably turning off acceleration in Site Admin / Performance would avoid the errors.
Comment #9
alexandreracine commentedSome news on that? Problem solve? Give some feedback or be close next time I pass by ;)
Comment #10
mindless commentedI agree it's time to call this out-of-date..