[SOLVED] Undefined class name 'imageblockcachemap'

switch
switch's picture

Joined: 2003-05-02
Posts: 11
Posted: Wed, 2005-08-17 05:02


Gallery URL (optional):
Gallery version: G2 RC1
Webserver (with version): Linux, Apache 1.3.33
Datatabase (with version): MySQL 4.0.24
PHP version (eg 4.2.1): 4.3.11
phpinfo URL (optional):
Graphics Toolkit(s): GD, ImageMagick, NetPBM
Operating system: Windows XP MCE
Web browser/version: Firefox 1.0.6
G1 version (for migration bugs): N/A

I'm *very* sorry if this has been delt with before, I tried searching for the keywords, but came up dry.

I've been getting the following error (in standard PHP error page format) from my clean, unedited Gallery2 RC1 (Full) install when I try to add an image to an album.

Quote:
Fatal error: Undefined class name 'imageblockcachemap' in /home/hallowed/public_html/portfolio/modules/imageblock/classes/ImageBlockHelper.class on line 532

This started right after the install on my first image. Once I get that and navigate my way back to the gallery, I can see the image has uploaded just fine, but no thumbnail loads.

The only way to get around this is to turn off the imageblock, but that's one of the core reasons why I went with Gallery for this project so ditching that isn't really an option for me.

I know I'm light on details and I apologize profusely. It's late, I'm tired and frustrated. If there is anything else I need to add, please ask and I'll gladly provide you with whatever I can.

Edit:
It's also worth pointing out that I am unable to remove images without this error.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-08-17 05:10

When you installed did you get any file integrity errors (missing/modified files)? To double check go to, yourgalleryurl/upgrade/, then go to the system checks step.

Also try uninstalling and deactivating the ImageBlock module, then reinstall:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=34421&highlight=imageblockcachemap

Please add a link to a phpinfo file as described here, http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F

Also have a look at the Known Issues, I doubt they deal with this problem, but you know your setup better than we do, http://codex.gallery2.org/index.php/Gallery2:KnownIssues

 
switch
switch's picture

Joined: 2003-05-02
Posts: 11
Posted: Wed, 2005-08-17 05:34

Thanks for the fast reply, daddy-o! I actually didn't get any errors whatsoever durring install. The whole thing went off without a hitch.

Anyhow, the reinstall of the ImageBlock module did the trick. I sware I looked at that thread 10 times, but it never actually clicked for me. Clearly I'm too tired to think for myself..lol.

Thanks (again), nivekiam. I really do appreciate your help. :-)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-08-17 14:27

And it's responses like these that make helping people easier ;)

Glad to help.