Title: Invalid path causing open_basedir restriction error
Last modified: June 9, 2019

---

# Invalid path causing open_basedir restriction error

 *  Resolved [horizonit](https://wordpress.org/support/users/horizonit/)
 * (@horizonit)
 * [7 years ago](https://wordpress.org/support/topic/invalid-path-causing-open_basedir-restriction-error/)
 * Hi,
 * I’m seeing this error on an number of sites hosting on the Windows IIS server.
   
   Running PHP 7.3.6, MySQL 8.0.13
 * [09-Jun-2019 09:22:53 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\ga-google-analytics/languages/
   ga-google-analytics-en_GB.mo) is not within the allowed path(s): (D:/Plesk/Vhosts/
   derbyshireforklifts.co.uk\;C:\Windows\Temp\) in D:\Plesk\Vhosts\domain.co.uk\
   httpdocs\wp-includes\l10n.php on line 649
 * The path generated is invalid:
    “**D:\Plesk\**Vhosts\domain.co.uk\httpdocs/wp-
   content/plugins**/D:\Plesk\**Vhosts\domain.co.uk\httpdocs\wp-content\plugins\
   ga-google-analytics/languages/ga-google-analytics-en_GB.mo”
 * As you can see the drive letter is included twice.
 * Any thoughts on how this can be resolved?
 * Cheers
    Paul

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years ago](https://wordpress.org/support/topic/invalid-path-causing-open_basedir-restriction-error/#post-11623135)
 * Not sure, but will be glad to investigate further and try to resolve any issue.
   Notes: the plugin uses standard WP tags wherever possible, so this could be related
   to a wider issue on Windows II2 or whatever. Also the issue could be incorrectly
   installed plugin, so something to try would be to reinstall fresh from scratch.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/invalid-path-causing-open_basedir-restriction-error/#post-11822348)
 * Hi [@horizonit](https://wordpress.org/support/users/horizonit/), I hope you got
   this sorted. It’s been awhile with no reply so gonna go ahead and mark this thread
   as resolved to help keep the forum organized. Feel free to post again with any
   further questions or feedback, Thank you.

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

The topic ‘Invalid path causing open_basedir restriction error’ is closed to new
replies.

 * ![](https://ps.w.org/ga-google-analytics/assets/icon-256x256.png?rev=2053004)
 * [GA Google Analytics – Connect Google Analytics to WordPress](https://wordpress.org/plugins/ga-google-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ga-google-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ga-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/ga-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ga-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ga-google-analytics/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/invalid-path-causing-open_basedir-restriction-error/#post-11822348)
 * Status: resolved