|
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 |
brown12321 Smarty Rookie
Joined: 10 Oct 2007 Posts: 8
|
Posted: Thu Oct 11, 2007 2:58 pm Post subject: |
|
|
mohrt wrote: | Did you try using the body onload?
Code: | <body onload="onLoad()"> |
|
yes |
|
Back to top |
|
brown12321 Smarty Rookie
Joined: 10 Oct 2007 Posts: 8
|
Posted: Thu Oct 11, 2007 3:03 pm Post subject: |
|
|
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 |
|
Critter Smarty n00b
Joined: 09 Jan 2008 Posts: 1
|
Posted: Wed Jan 09, 2008 7:50 pm Post subject: 2 things |
|
|
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 |
|
jothirajan Smarty Pro
Joined: 06 Feb 2009 Posts: 114 Location: India
|
Posted: Thu Feb 12, 2009 12:47 pm Post subject: Error while integrating the map |
|
|
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 |
|
lindabassittpa Smarty Rookie
Joined: 05 Apr 2009 Posts: 6
|
Posted: Sun Apr 05, 2009 10:47 pm Post subject: |
|
|
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 |
|
bouwob Smarty n00b
Joined: 28 Aug 2009 Posts: 1
|
Posted: Fri Aug 28, 2009 3:24 am Post subject: |
|
|
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 |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Aug 28, 2009 2:22 pm Post subject: |
|
|
The PEAR:B 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 |
|
|
|
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
|