• Resolved dino123456789

    (@dino123456789)


    Hello there this message displaying on my website:

    Warning: is_readable(): open_basedir restriction in effect. File(/includes/fbwpml.php) is not within the allowed path(s):

    How can this be fixed?

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @dino123456789,

    Open_basedir is a restriction to prevent a hosting package user from accessing any paths on the server that are not authorised, such as the paths to other domains on shared web servers, or to access the hosting software.

    The open_basedir function defines the locations or paths from which PHP is allowed to access files using functions like fopen() and gzopen(). If a file is outside of the paths defined by open_basedir, PHP will refuse to open it.

    To resolve this we’d advise opening a discussion with your web host.

    Thread Starter dino123456789

    (@dino123456789)

    Thank for your quick reply! Okay I’ll get in touch with my web host and I’ll get back to you

    same warning on all my sites. Let fb fix it, it should not require change to the server

    laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Hi @dino123456789 and @donlee101

    We actually do have an open bug report for this that you can check out here: https://github.com/woocommerce/facebook-for-woocommerce/issues/1642

    There is a proposed fix in GH that you can apply, and it should resolve the error (unless you want to wait for this to be released).

    Hope this helps.

    Yes found it on github and applied the proposed fix already ??

    Plugin Support Nicholas E. – a11n

    (@nicholasje)

    Hi @donlee101,

    That is great to hear!

    Let us know how you make out @dino123456789 and if we can be of any help. (:

    Thread Starter dino123456789

    (@dino123456789)

    Hello! I contacted yesterday my host provided, as proposed on the first message here, and it was fixed. A PHP setting was needed

    laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Hey @dino123456789

    Glad to hear! I’ll go ahead and mark this thread as Resolved now since we do have an open bug report with a proposed fix and because the hosting provider can also make changes on their end. Please feel free to open a new thread if you run into any other troubles.

    Cheers!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘is_readable(): open_basedir restriction in effect’ is closed to new replies.