[map module] Fatal error: Call to a member function on a non-object

Continental

Joined: 2004-06-14
Posts: 243
Posted: Fri, 2006-03-10 13:30

After I migrate my gallery from one host I can't go into some tabs in "Administration" (Site Admins) => Google Maps:

Markers Settings
Fatal error: Call to a member function on a non-object in /home/bla-bla-bla_changed_after_migration/gallery/modules/map/classes/GoogleMapUtilities.class on line 180

Theme Settings
Fatal error: Call to a member function on a non-object in /home/bla-bla-bla_changed_after_migration/gallery/modules/map/classes/GoogleMapUtilities.class on line 157

That's second utility that produce the same error. ;=(
I'm unhappy. What can I do? Module is working... but I can't change even the color by default of the markers.


Gallery version (not just "2"): 2.0*
Module / Theme name & version: 0.4.10c

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Fri, 2006-03-10 17:08

I do not know if these are 'leftovers' from previous versions; but,
in my database (table: g2_PluginParameterMap) I find these entries
that have pathnames for their values. Maybe have a look there.

module  	map  	0  	gallerybase
module  	map  	0  	GxMagnifierPath
module  	map  	0  	urlbase
 
Continental

Joined: 2004-06-14
Posts: 243
Posted: Sat, 2006-03-11 19:02

gallerybase were incorrect (old). may be you conssider to use "short" path in this way? =) or may be write migration insruction... swich off => deactivate => deinstall => delete => migrate => install => activate => use ;=))) link url-rewrites (lol) thank you very much!!! minor bug ans IT HAS BEEN SOLVED. (other two paths were correct, not so long). May be it's already solved in 0.4.10d. My ver is still 0.4.10c

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2006-03-15 07:25

That can be fixed. I'll take a look at it ...

realistically tho there should be limited amount of people doing this on a regular basis ;-)
-------------------------
The Termite :-)