|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jotango Smarty Rookie
Joined: 20 Apr 2005 Posts: 13
|
Posted: Fri May 19, 2006 10:53 pm Post subject: Possible Bug & Fix in GoogleMapsAPI |
|
|
Hi,
I'm using GoogleMapsAPI Version 2.0 - April 27th, 2006.
When I run it straight out of the box using the example code I get
Notice: Undefined variable: _output in /XXX/include/GoogleMapAPI.class.php on line 936
Notice: Undefined variable: _output in /XXX/include/GoogleMapAPI.class.php on line 954
Notice: Undefined variable: _output in /XXX/include/GoogleMapAPI.class.php on line 961
On those lines you do a $_output .= something, without having set $_output first.
Adding a $_output = ""; before the foreach loops in the corresponding sections removes that problem.
Thanks for all the work on the API, it looks great |
|
Back to top |
|
jotango Smarty Rookie
Joined: 20 Apr 2005 Posts: 13
|
Posted: Fri May 19, 2006 10:55 pm Post subject: Oops, another bug |
|
|
When I run the .tpl straight out of the box I get an error because of the { } brackets in the header. The JS section needs to be enclosed in {literal} to stop Smarty from breaking. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|