Title: Open_BaseDir issue on IIS server&#8230;.
Last modified: March 5, 2017

---

# Open_BaseDir issue on IIS server….

 *  Resolved [horizonit](https://wordpress.org/support/users/horizonit/)
 * (@horizonit)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/open_basedir-issue-on-iis-server/)
 * Hi,
 * I’m seeing lots of Open_BaseDir errors like this on IIS:
 * [05-Mar-2017 14:12:20 UTC] PHP Warning: is_readable(): open_basedir restriction
   in effect. File(D:\Plesk\VHOSTS\domain.co.uk\httpdocs/wp-content/plugins/D:\Plesk\
   VHOSTS\domain.co.uk\httpdocs\wp-content\plugins\xml-sitemap-feed/languages/xml-
   sitemap-feed-en_US.mo) is not within the allowed path(s): (D:\Plesk\VHOSTS\domain.
   co.uk\httpdocs\;C:\windows\Temp\;D:\Plesk\VHOSTS\domain.co.uk\logs\php_errors)
   in D:\Plesk\VHOSTS\domain.co.uk\httpdocs\wp-includes\l10n.php on line 583
 * It looks like the top level path is being duplicated.
    PHP Version 7.0.16.
 * Any ideas?
 * Cheers
 * Paul

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

 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/open_basedir-issue-on-iis-server/#post-8880501)
 * Hi Paul, thanks for reporting this.
 * Could you open [https://raw.githubusercontent.com/RavanH/xml-sitemap-feed/OpenBasedir-on-ISS/includes/class-xmlsitemapfeed.php](https://raw.githubusercontent.com/RavanH/xml-sitemap-feed/OpenBasedir-on-ISS/includes/class-xmlsitemapfeed.php)
   and copy the complete file content? Then go to your WordPress admin Plugins >
   Edit page, find the XML Sitemap plugin, choose to edit the file “includes/class-
   xmlsitemapfeed.php” and paste the complete content replacing the existing content?
 * Let me know if this changes anything.
 *  Thread Starter [horizonit](https://wordpress.org/support/users/horizonit/)
 * (@horizonit)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/open_basedir-issue-on-iis-server/#post-8911351)
 * Hi Ravan,
 * Just had chance to implement the code update and it’s looking good at the moment.
   
   No PHP errors from the sitemap in the log.
 * You are a star, MANY THANKS!
 * Cheers
 * Paul
 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/open_basedir-issue-on-iis-server/#post-8918854)
 * Hi Paul, many thanks to you too: for the bug report, for testing the new version,
   and for your feedback 🙂

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

The topic ‘Open_BaseDir issue on IIS server….’ is closed to new replies.

 * ![](https://ps.w.org/xml-sitemap-feed/assets/icon-128x128.png?rev=1112143)
 * [XML Sitemap & Google News](https://wordpress.org/plugins/xml-sitemap-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xml-sitemap-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xml-sitemap-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/xml-sitemap-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xml-sitemap-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xml-sitemap-feed/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/open_basedir-issue-on-iis-server/#post-8918854)
 * Status: resolved