Problem installing Google Map Module

AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Tue, 2009-10-20 19:58

Trying to install Google Map Module 0.5.8 from the Plugin list.

Here is the error message:
Error (ERROR_BAD_PARAMETER) : /home/malinfab/public_html/alternativephotography/gallery/modules/imagemagick/module.inc

* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 94 (GalleryCoreApi::error)
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 88 (GalleryPluginHelper_simple::loadPlugin)
* in modules/core/classes/GalleryCoreApi.class at line 273 (GalleryPluginHelper_simple::loadPlugin)
* in modules/map/module.inc at line 379 (GalleryCoreApi::loadPlugin)
* in modules/core/classes/GalleryModule.class at line 175 (mapModule::upgrade)
* in modules/core/PluginCallback.inc at line 230 (GalleryModule::installOrUpgrade)
* in modules/core/PluginCallback.inc at line 67 (PluginCallbackView::handleCallback)
* in main.php at line 450 (PluginCallbackView::renderImmediate)
* in main.php at line 104
* in main.php at line 88

Here is the rest of the stuff:

Gallery version 2.3
PHP version 5.2.9 cgi-fcgi
Webserver Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635
Database mysql 5.0.81-community-log
Toolkits NetPBM
Operating system Linux box328.bluehost.com 2.6.28-10.7.intel.E1000E.BHsmp #1 SMP Thu Aug 13 21:45:18 MDT 2009 x86_64
Browser Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 GTB5

What do i do??? :-)

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Tue, 2009-10-27 21:28

Anyone? :-)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16502
Posted: Tue, 2009-10-27 22:20

Is ImageMagick installed, configured and working?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Wed, 2009-12-23 08:34

For some reason i can't access the plugin page at all right now. It just shows up as white since i installed the gallery update. How do i fix this?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16502
Posted: Wed, 2009-12-23 17:07

Check your /modules and /themes directories and make sure there are not any copies of modules or themes.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Thu, 2009-12-24 18:28

Thank you for taking the time to help me out!
Looking in the site folders i don't see any duplicates in the themes or modules directories, that is, no two folders have the same name. Am i looking for the right thing? Still can't access the plugins page.
Malin

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Mon, 2009-12-28 13:56

Any idea why the plugin page is totally blank? Can anyone help?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16502
Posted: Mon, 2009-12-28 16:34

Post a link to phpinfo:
FAQ: How do I create a phpinfo page?

And can you post a listing or screenshot of both your /modules and /themes directories?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22883
Posted: Mon, 2009-12-28 18:37

I would suspect a memory issue. The plugins page loads a lot of data and perhaps one module is corrupt.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16502
Posted: Mon, 2009-12-28 18:46

That's what I'm thinking too.

Oh and try putting Gallery into debug mode and then try to access the page. See if it gives any information or is still blank. If it does give information, please copy it into a text file and post here. Don't copy the text from the Smarty Debug popup window though.

FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Mon, 2009-12-28 19:18

Thanks for helping out!
Here is the phpinfo file:
http://www.alternativephotography.com/gallery/phpinfo.php

Modules has:
archiveupload
comment
core
exif
ffmpeg
gd
icons
imagemagick
itemadd
keyalbum
map
netpbm
permalinks
rating
rearrange
rewrite
search
shutterfly
sitemap
slideshow
title
uploadapplet

Themes has:
ajaxian
altp (the theme i'm using, which is matrix, with new stylesheet)
carbon
classic
floatrix
hybrid
matrix
siriux
slider

The problem started when i upgraded to Gallery 2.3.1, don't know if that helps?

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Mon, 2009-12-28 19:19

Can you please give me a hint of how to "try putting Gallery into debug mode"? :-)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22883
Posted: Mon, 2009-12-28 19:23

FAQ: How to set/use Gallery in debug mode?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22883
Posted: Mon, 2009-12-28 19:24

See if bumping up the memory to more than 32megs helps:
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16502
Posted: Mon, 2009-12-28 19:24

Click this link:
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Mon, 2009-12-28 20:12

I added this line as the last line in the .htaccess file:
php_value memory_limit 32M

But it gave me this:
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Mon, 2009-12-28 20:18

I set the Debug to 'buffered'... still could not access the plugin page, it gave me this:

Warning: require_once(/alternativephotography/gallery/modules/core/classes/../../../modules/gd/classes/GdFunctionality.class) [function.require-once]: failed to open stream: No such file or directory in /alternativephotography/gallery/modules/core/classes/GalleryCoreApi.class on line 2827

Fatal error: require_once() [function.require]: Failed opening required '/alternativephotography/gallery/modules/core/classes/../../../modules/gd/classes/GdFunctionality.class' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /alternativephotography/gallery/modules/core/classes/GalleryCoreApi.class on line 2827

Any wiser? :-)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22883
Posted: Mon, 2009-12-28 20:27

back out your .htaccess chnages

Looks to me like it can't find some file.
try:
FAQ: How can I make sure that my installation files are all intact?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16502
Posted: Mon, 2009-12-28 20:28

Looks like something might be up with the gd module.

Try downloading the gd module from here: http://codex.gallery2.org/Gallery2:Download#Modules and replacing what is currently on your server.

Yep, you're missing at least one file, AdminGd.inc

Also run though this to make sure all your files are intact:
FAQ: How can I make sure that my installation files are all intact?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
AlternativePhot...
AlternativePhotography.com's picture

Joined: 2009-10-01
Posts: 114
Posted: Mon, 2009-12-28 21:35

Thanks for your patience!
I've backed out of the previous config and .htaccess...
I downloaded the .zip of the gd module, and uploaded it to ftp where the other module files are in the "gd" directory (removed the old ones).
AND IT WORKS! I can see my plugin page again! THank you both of you.

And, the Google Map started working all by itself! :-) Wonderful.

The only quirk left is the "Google Earth" which tries to open a KML page...?

Thank you so much for your time, help and patience! You guys and girls are great!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22883
Posted: Tue, 2009-12-29 01:28

Glad you got it sorted.

I have never tried the map modules google earth kml generator.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team