represent-map icon indicating copy to clipboard operation
represent-map copied to clipboard

Map not visible when using XAMPP

Open skaslay opened this issue 12 years ago • 4 comments

The map is not visible when I am using Represent-map via localhost using XAMPP. Is there some issue with the google map api not working on localhost?

Configuration: XAMPP v1.8.1 PHP v5.4.7

Kindly assist.

skaslay avatar Aug 19 '13 20:08 skaslay

Is it the entire index.php page, or just the map?

I was unable to get the index.php file to load at all. In my case, it was caused by my php config not allowing short tags. abenzer pointed me to the php.ini file, where I was able to resolve the issue.

In php.ini, if "short_open_tag = Off," change it to "short_open_tag = On" then restart httpd.

charlesthomas avatar Jan 18 '14 23:01 charlesthomas

Facing the same issue. Though the index.php is displaying but the map is not showing in XAMPP. How to fix it?

akshayshivpuri avatar May 04 '14 14:05 akshayshivpuri

What is the browser console log saying? Javascript request issues?

jobnomade avatar May 15 '14 14:05 jobnomade

Facing same issue and the browser console log says image Although I have put the api key code under $sg_auth_code = variable in db.php code.

mukkhtarr avatar Dec 20 '18 12:12 mukkhtarr