WooCommerce open_basedir error

Home Forums WooCommerce WooCommerce open_basedir error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1950
    Francois Brill
    Participant

    Hi,

    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

    #1955
    J.D. Grimes
    Keymaster

    Hi 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:

    You can change it to this (just add X in front of Domain):

    That will just prevent WordPoints from trying to load any translation files for this extension.

    Sorry for the trouble!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.