WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
PHP errors after installing 4.0.6 (7 posts)

  1. gaidin
    Member
    Posted 3 years ago #

    PHP Error Message

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a5328586/public_html/wp-includes/functions.php on line 2060

    Free Web Hosting

    PHP Error Message

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a5328586/public_html/wp-includes/functions.php on line 2051

    Free Web Hosting

    PHP Error Message

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a5328586/public_html/wp-includes/functions.php on line 2060

    The aboved errors occurred after following the info from the screenscast, with a few changes

    couldn't install 3.98 directly from the admin plugin page (kept timing out) so did it via FTP

    after installing 3.98 and activate everything was fine, no errors.

    I then click auto upgrade, everything seemed to go ok, activate the plugin again and got the above errors.

    http://wordpress.org/extend/plugins/events-manager/

    [No bumping, please.]

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    these are server setting issues in your apache files. contact your host about this.

  3. gaidin
    Member
    Posted 3 years ago #

    thanks for the reply, but could you elaborate a bit. It seem to be a directory issue, not sure if its rights or something else. maybe its something I can resolve myself.

    thanks in advance

    Any help is greatly appreciated

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    it's a rights issue, the open_basedir setting in your apache vhost or htconfig files prevents php from accessing folders, whatever folder em is trying to access isn't within this permission range.

  5. gaidin
    Member
    Posted 3 years ago #

    Ok finally got a response from the Host:

    Hello,

    If you get 'open_basedir restriction in effect, file is not within the allowed path' or similar error message, please make sure your script is trying to access files from YOUR home directory (which is /home/yourusername/*)

    You are not allowed to access files from directories outside your account.

    Is it possible to modify yhe plugin script to resolve this as it seems it is an issue with how the plugin references the root folder (which it is getting from a PHP constant ,I could be wrong on this) relative to how the host does. They wont change so I'll have to from my end

    Help please.

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    we use relative links, which work on most servers as youre the first to request this. i recommend changing hosts as that sounds dodgy

  7. gaidin
    Member
    Posted 3 years ago #

    well right now I cant change host, can you suggest temporary changes i can make either to function.php or your plugin that might resolve this issue?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic