Manol Posted June 12, 2014 Share Posted June 12, 2014 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. Any ideas why is that happening? Thanks Link to comment Share on other sites More sharing options...
Manol Posted June 12, 2014 Author Share Posted June 12, 2014 Is not about the new hosting just realise is happening the same in localhost and different servers, probably is pw 2.4 incompatibility. Link to comment Share on other sites More sharing options...
apeisa Posted June 12, 2014 Share Posted June 12, 2014 What does js console say? Link to comment Share on other sites More sharing options...
Manol Posted June 13, 2014 Author Share Posted June 13, 2014 Hello apeisa. It says Uncaught ReferenceError: Map is not defined Link to comment Share on other sites More sharing options...
adrian Posted June 13, 2014 Share Posted June 13, 2014 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 More sharing options...
Manol Posted June 15, 2014 Author Share Posted June 15, 2014 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now