Home › Forums › WooCommerce › WooCommerce open_basedir error
- This topic has 1 reply, 2 voices, and was last updated 3 years, 7 months ago by
J.D. Grimes.
- AuthorPosts
- June 25, 2019 at 9:49 am #1950
Francois Brill
ParticipantHi,
I am getting the following error when using the WooCommerce extension.
Warning: is_readable(): open_basedir restriction in effect. File(/usr/www/users/braveyzxts/reconise.bravecloud.co.za/wp-content/wordpoints-extensions//woocommerce/woocommerce.php/languages/wordpoints-woocommerce-en_US.mo) is not within the allowed path(s): (/usr/www/wwws/users/braveyzxts:/usr/wwws/users/braveyzxts:/usr/www/users/braveyzxts:/usr/home/braveyzxts:/usr/local/rmagic:/usr/share/php:/usr/local/lib/php:/tmp:/usr/bin:/usr/local/bin:/usr/local/share/www:/usr/www/share/www:/usr/share/misc:/dev/urandom:/var/www/php_profiler/xhgui) in /usr/www/users/braveyzxts/reconise.bravecloud.co.za/wp-includes/l10n.php on line 649
I am using WordPress 5.2.1 with Wordpoints version 2.4.2 and WooCommerce version 3.6.4
June 25, 2019 at 1:07 pm #1955J.D. Grimes
KeymasterHi Francois,
This error is related to WordPoints trying to load the translation file for the extension. Have you set WordPress to use a different language than the default?
I’ll look further into this issue shortly, but in the meantime, you should be able to prevent this error by editing line 24 in the file
/usr/www/users/braveyzxts/reconise.bravecloud.co.za/wp-content/wordpoints-extensions/woocommerce/woocommerce.php
.That line should look like this:
PHP123Domain Path: /languagesYou can change it to this (just add
X
in front ofDomain
):PHP123XDomain Path: /languagesThat will just prevent WordPoints from trying to load any translation files for this extension.
Sorry for the trouble!
- AuthorPosts
- You must be logged in to reply to this topic.