Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

GoogleMapAPI 2.4 released
Goto page Previous  1, 2
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
brown12321
Smarty Rookie


Joined: 10 Oct 2007
Posts: 8

PostPosted: Thu Oct 11, 2007 2:58 pm    Post subject: Reply with quote

mohrt wrote:
Did you try using the body onload?

Code:
<body onload="onLoad()">


yes
Back to top
View user's profile Send private message
brown12321
Smarty Rookie


Joined: 10 Oct 2007
Posts: 8

PostPosted: Thu Oct 11, 2007 3:03 pm    Post subject: Reply with quote

Its like I am creating a new object in the header_inc.php file but in the detail.php there seems like there is a disconnect from that object. I dont know. This is frustrating
Back to top
View user's profile Send private message
Critter
Smarty n00b


Joined: 09 Jan 2008
Posts: 1

PostPosted: Wed Jan 09, 2008 7:50 pm    Post subject: 2 things Reply with quote

1: I cannot get it to do width or height with %
2:

I am populating my addMarker via db:

$map->addMarkerByAddress($post_title,$post_title,$post_title . "<br />" . $post_content);

The only problem is post_title can be a duplicate..

so if post_title='Paris, France' rather than having 2 points on the map for paris france.. I only have one..

anybody know a way to get around this?

Any help would be greatly appreciated. thanks
Back to top
View user's profile Send private message
jothirajan
Smarty Pro


Joined: 06 Feb 2009
Posts: 114
Location: India

PostPosted: Thu Feb 12, 2009 12:47 pm    Post subject: Error while integrating the map Reply with quote

Hey all

I have followed the integration instructions but i am getting the below error in my page

Code:


Warning: file_get_contents(http://maps.google.com/maps/geo?&q=621%20N%2048th%20St%20%23%206%20Lincoln%20NE%2068502&output=csv&key=ABQIAAAA5GSwYbAHEIXsT2AFonLXFhQ9d2-omjQ-yWsLw8h2uCkkOZUPXBRX-GVZ9gBQvcnGruhGQgm49xU5Lg) [function.file-get-contents]: failed to open stream: HTTP request failed! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> in D:\xampp\xampp\htdocs\currentproject\Music\includes\classes\GoogleMapAPI.class.php on line 1346


Kindly advice me. Any posting will be appreciated.

Thanks
JOE "Happy Coding"
Back to top
View user's profile Send private message Send e-mail
lindabassittpa
Smarty Rookie


Joined: 05 Apr 2009
Posts: 6

PostPosted: Sun Apr 05, 2009 10:47 pm    Post subject: Reply with quote

I was having the same problem and I was able to fix it through trial and error. It ended up being the body on load as someone else had mentioned.
Back to top
View user's profile Send private message Send e-mail
bouwob
Smarty n00b


Joined: 28 Aug 2009
Posts: 1

PostPosted: Fri Aug 28, 2009 3:24 am    Post subject: Reply with quote

Warning: GoogleMapAPI::require_once(DB.php) [function.GoogleMapAPI-require-once]: failed to open stream: No such file or directory in /GoogleMapAPI.class.php on line 1239

Fatal error: GoogleMapAPI::require_once() [function.require]: Failed opening required 'DB.php' (include_path='.:') in /GoogleMapAPI.class.php on line 1239

no db.php in download. I do not have pear, is this required?
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Fri Aug 28, 2009 2:22 pm    Post subject: Reply with quote

The PEAR:Very HappyB module is required for database access. You should be able to install PEAR locally if you don't have it on your system. One of these days I need to get that library updated to use PDO. You could edit the class to use PDO yourself fairly easily.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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
Protected by Anti-Spam ACP