Oxygen Builder plugin – PHP Warning: unlink(): open_basedir restriction in effect

Home Forums BulletProof Security Pro Oxygen Builder plugin – PHP Warning: unlink(): open_basedir restriction in effect

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40953
    AITpro Admin
    Keymaster

    Email Question:

    Hi Ed,

    When you get a chance, could you please advise on the following :

    [20-Nov-2021 13:53:22 UTC] PHP Warning:  unlink(): open_basedir restriction in effect. File(/serverpath/wp-content/uploads/oxygen/css/features-14.css) is not within the allowed path(s): (/serverpath/html/:/tmp/) in /serverpath/html/wp-content/plugins/oxygen/component-framework/includes/cache.php on line 190
    [20-Nov-2021 14:06:27 UTC] PHP Warning:  unlink(): open_basedir restriction in effect. File(/serverpath/wp-content/uploads/oxygen/css/home-11.css) is not within the allowed path(s): (/serverpath/html/:/tmp/) in /serverpath/html/wp-content/plugins/oxygen/component-framework/includes/cache.php on line 190
    [20-Nov-2021 14:10:45 UTC] PHP Warning:  unlink(): open_basedir restriction in effect. File(/serverpath/wp-content/uploads/oxygen/css/pricing-16.css) is not within the allowed path(s): (/serverpath/html/:/tmp/) in /serverpath/html/wp-content/plugins/oxygen/component-framework/includes/cache.php on line 190

    This site, with Oxygen Builder, has been using BPS Pro for a while but did not have this warning earlier. Appreciate your advise to understand and resolve this please.

    #40954
    AITpro Admin
    Keymaster

    Answer:

    The open_basedir allowed paths in the php error are: /serverpath/html/:/tmp/

    The actual file path is different: File(/serverpath/wp-content/uploads/oxygen/css/features-14.css)
    The actual file path is missing: html in the path

    The simplest way to fix this issue would be to change the open_basedir path settings to this: open_basedir = /serverpath/:/tmp/ in your php.ini, httpd.conf or .user.ini file.

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