Jump to content

Gmap not showing properly after moving host


Manol
 Share

Recommended Posts

Hello.

    I have updated to pw latest version and moved to a different host and now I'm getting the coordinates instead of the map as shown in the image bellow.

Screen Shot 2014-06-12 at 09.24.27.png

Any ideas why is that happening?

Thanks

post-1191-0-39677100-1402558339_thumb.pn

Link to comment
Share on other sites

Sounds like the google maps js file is not being loaded. You should see something like this in your page source:

<script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?sensor=false'></script>

Not sure why things would have changed though after your PW upgrade and server migration.

Link to comment
Share on other sites

I don't know if it has something to do but I'm using

 
$config->prependTemplateFile = '_init.php';
 
$config->appendTemplateFile = '_out.php';
in my config.php
 
I added the script line above but the error Uncaught ReferenceError: Map is not defined is still showing.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...