[Map Module] Undefine Map Height and Width?

Singing Dwarf

Joined: 2006-03-12
Posts: 2
Posted: Sun, 2006-03-12 11:17

I am getting an error message when clicking the Show a Google Map link in my albums. The map displays, but I get the message:

"Notice: Undefined index: MapWidthFormat in C:\Program Files\Apache Group\Apache2\htdocs\trumpton.plus.com\gallery2\modules\map\ShowMap.inc on line 283

Notice: Undefined index: MapHeightFormat in C:\Program Files\Apache Group\Apache2\htdocs\trumpton.plus.com\gallery2\modules\map\ShowMap.inc on line 284

Notice: Undefined index: LevelFilterRoot in C:\Program Files\Apache Group\Apache2\htdocs\trumpton.plus.com\gallery2\modules\map\ShowMap.inc on line 329

Notice: Undefined index: LevelFilterAll in C:\Program Files\Apache Group\Apache2\htdocs\trumpton.plus.com\gallery2\modules\map\ShowMap.inc on line 330

Notice: Undefined index: MapWidthFormat in C:\Program Files\Apache Group\Apache2\htdocs\trumpton.plus.com\gallery2\modules\map\ShowMap.inc on line 1041

Notice: Undefined index: MapHeightFormat in C:\Program Files\Apache Group\Apache2\htdocs\trumpton.plus.com\gallery2\modules\map\ShowMap.inc on line 1042

Notice: Undefined index: showScale in C:\Program Files\Apache Group\Apache2\htdocs\trumpton.plus.com\gallery2\modules\map\ShowMap.inc on line 1128"

When I try to set the map width and height in Map Module Settings, I get the error message "There was a problem processing your request" when I click on Save Settings, but no further information.

Am I doing something wrong?

SingingDwarf
**


Gallery version = 2.1-rc-2a core 1.0.34
PHP version = 5.0.4 apache2handler
Webserver = Apache/2.0.54 (Win32) PHP/5.0.4
Database = mysql 4.1.14-nt, lock.system=database
Toolkits = ImageMagick, NetPBM, Exif
Acceleration = none, none
Operating system = Windows NT COMPAQ 5.1 build 2600
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

 
Termitenshort
Termitenshort's picture

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

Now that's weird ... Sorry I didn't answer earlier I wasn't available these last couple days.

There seem to be something wrong in the code but I have not experienced that in the past. If you send me a PM with connection information to the Admin Panel I will be able to troubleshoot this further for you :-)

Thanks !
-------------------------
The Termite :-)

 
Singing Dwarf

Joined: 2006-03-12
Posts: 2
Posted: Thu, 2006-03-16 22:01

Thanks for replying - apparently there was some code in one of the fields that I had to be deleted before it would save. Seems to be working ok now thanks.

 
jonathan184

Joined: 2006-04-05
Posts: 4
Posted: Wed, 2006-04-05 23:23

Hi I am getting a similar error

when i click on show google map

I get the error
Notice: Undefined index: LevelFilterRoot in C:\home\NativeLinks.ca\public_html\galleries\oldies3\modules\map\ShowMap.inc on line 329

Notice: Undefined index: LevelFilterAll in C:\home\NativeLinks.ca\public_html\galleries\oldies3\modules\map\ShowMap.inc on line 330

Could you help me please.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Thu, 2006-04-06 13:53

I actually know of this last problem :-)

If you go in your admin panel for the google maps and go to the "filter" tab, you just need to click save and this error will go away.

I have forgottent to default those 2 values to something if they are not set. I will get that solved as well :-)
-------------------------
The Termite :-)