Title: Map not loading after update
Last modified: August 21, 2016

---

# Map not loading after update

 *  [xxbossmanxx](https://wordpress.org/support/users/xxbossmanxx/)
 * (@xxbossmanxx)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/)
 * Hi,
 * I just updated to the latest version (2.1) and not the map just shows grey. It
   will load with no locations if I select get user location in options but that
   is it.
 * I checked the console and there is a 500 internal error when calling this:
 * /store-locator/sl-inc/includes/sl-xml.php?
 * I have tried to run this plugin all on it’s own with a stock 2013 theme and it
   will not run as well.
 * This is a windows server.
 * [http://wordpress.org/plugins/store-locator/](http://wordpress.org/plugins/store-locator/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Thread Starter [xxbossmanxx](https://wordpress.org/support/users/xxbossmanxx/)
 * (@xxbossmanxx)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096706)
 * The file sl-env.php that is included with zl-xml.php is the problem. The 500 
   error is caused by the if (!defined statement and then it fails to connect to
   fetch the locations.
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096858)
 * Ok — looking into this. Have tested in a Windows server environment in addition
   to Linux, but never encountered the 500 error as you describe. Wondering why 
   DB_USER is already defined in your set-up, causing the if statement to fail. 
   Do you have a custom set-up?
 * Had identified another potential fix (the “?” at the end w/o a querystring afterwards
   may cause a problem for some), so releasing that shortly
 *  Thread Starter [xxbossmanxx](https://wordpress.org/support/users/xxbossmanxx/)
 * (@xxbossmanxx)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096860)
 * Hey Viadat ty for looking at this.
 * The server is not custom. It is standard Enom shared windows server. The wordpress
   core is not altered either. I tried running vanilla with only this plugin and
   it still will not work.
 *  Thread Starter [xxbossmanxx](https://wordpress.org/support/users/xxbossmanxx/)
 * (@xxbossmanxx)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096861)
 * Here is the page the plugin is running on:
 * [http://bmoreorganic.com/index.php/where-to-buy/](http://bmoreorganic.com/index.php/where-to-buy/)
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096862)
 * Can you configure the server not to run with the ‘index.php’ in the URL? See 
   if that improves anything.
 *  Thread Starter [xxbossmanxx](https://wordpress.org/support/users/xxbossmanxx/)
 * (@xxbossmanxx)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096866)
 * I dont think I can configure that enom server to not do that but I turned the
   permalinks to default and no change.
 * [http://bmoreorganic.com/?page_id=36](http://bmoreorganic.com/?page_id=36)
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096871)
 * Receiving “Directory Listing Denied. This Virtual Directory does not allow contents
   to be listed.” errors when trying to view any sub-directories leading up to the
   sl-xml.php file. The permissions are most likely too restrictive, do you know
   how to adjust them?
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096902)
 * Just released v2.3.1 .. see if that improves it for you
 *  Thread Starter [xxbossmanxx](https://wordpress.org/support/users/xxbossmanxx/)
 * (@xxbossmanxx)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096906)
 * Hi Viadat, Thank you for following up. It did not help the problem. I am going
   to try to see what enom can do since I think they must have a file permission
   issue. I will report back my findings.
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096907)
 * Ok sounds great

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Map not loading after update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/store-locator_343c21.svg)
 * [Store Locator for WordPress with Google Maps – LotsOfLocales](https://wordpress.org/plugins/store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/store-locator/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Viadat](https://wordpress.org/support/users/viadat/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/map-not-loading-after-update/#post-4096907)
 * Status: not resolved