Map Theme crashing album

sealcove

Joined: 2006-02-12
Posts: 10
Posted: Mon, 2006-02-13 16:41

I have tried several times now to get the Google Map theme up and running. I have the Map module installed and I am able to apply the GPS data to each image in the album I am working with. Once I set the map theme for that album to map the album crashes and I cant get back into it. I am then forced to delete the album and start again. I cant tell if the theme has a problem or I made some error. The map theme install seems to go fine and three times I have followed the instructions word for word. Any help would be appreciated.

Here is the error page I get right after I switch to the map theme (and this is all I get if I try to edit the album).

Quote:
An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : Smarty error: unable to read resource: "gallery:themes/map/templates/theme.tpl"

* in modules/core/classes/GallerySmarty.class at line 108 (gallerystatus::error)
* in lib/smarty/Smarty.class.php at line 1584 (gallerysmarty::trigger_error)
* in lib/smarty/Smarty.class.php at line 1410 (gallerysmarty::_fetch_resource_info)
* in lib/smarty/Smarty.class.php at line 1249 (gallerysmarty::_compile_resource)
* in modules/core/classes/GallerySmarty.class at line 90 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 228 (gallerysmarty::fetch)
* in main.php at line 318 (gallerytemplate::display)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.0.2
PHP version 4.4.1 cgi
Webserver Apache Web Server
Database mysql 4.0.25-standard
Toolkits ImageMagick, Gd
Operating system Linux unitas.lunarpages.com 2.4.21-27.0.4.ELsmp #1 SMP Sat Apr 16 18:43:06 EDT 2005 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2006-02-13 17:00
sealcove wrote:
I have tried several times now to get the Google Map theme up and running. I have the Map module installed and I am able to apply the GPS data to each image in the album I am working with.

Please PM me with some access info (URL/admin access) and I'd
happily have a look.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2006-02-13 17:25

One thing to consider is the fact that the THEME does not use the same fields to read GPS data from.

In the Map Module, it uses it's own databse (accessible via the "google Map" tab when editing an item)
In the Theme, it uses the CustomFileds GPS and colors (accedssible via the "CustomField" tab when editing an item)

See you
-------------------------
The Termite :-)

 
sealcove

Joined: 2006-02-12
Posts: 10
Posted: Mon, 2006-02-13 19:11

Thanks. I think I have the theme and its custom field setup properly (I stress the "I think" part). I am editing each image and I have the custom field "GPS" that I created for the album per the map theme instructions. I am new to galley so it is very likely I screwed it up somehow.

galmoid,

Thanks for the offer to have a look. I PM'ed you the URL and admin name/pswd. I appreciate the effort.

Douglas

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2006-02-13 20:10

Douglas,
Check for PM.

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2006-02-13 21:35

For the benefit of others...

The Map Theme installation was corrupt. The templates directory
was missing.

 
sealcove

Joined: 2006-02-12
Posts: 10
Posted: Tue, 2006-02-14 01:39

Many thanks to galmoid for the help! :)

Douglas