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
- The topic ‘Invalid path causing open_basedir restriction error’ is closed to new replies.