Title: [Plugin: Events Manager] PHP errors after installing 4.0.6
Last modified: August 20, 2016

---

# [Plugin: Events Manager] PHP errors after installing 4.0.6

 *  Resolved [gaidin](https://wordpress.org/support/users/gaidin/)
 * (@gaidin)
 * [15 years ago](https://wordpress.org/support/topic/plugin-events-manager-php-errors-after-installing-406/)
 * > 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/](http://wordpress.org/extend/plugins/events-manager/)
 * _[[No bumping, please](http://codex.wordpress.org/Forum_Welcome#No_Bumping).]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [15 years ago](https://wordpress.org/support/topic/plugin-events-manager-php-errors-after-installing-406/#post-2107801)
 * these are server setting issues in your apache files. contact your host about
   this.
 *  Thread Starter [gaidin](https://wordpress.org/support/users/gaidin/)
 * (@gaidin)
 * [15 years ago](https://wordpress.org/support/topic/plugin-events-manager-php-errors-after-installing-406/#post-2107815)
 * 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
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [15 years ago](https://wordpress.org/support/topic/plugin-events-manager-php-errors-after-installing-406/#post-2107825)
 * 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.
 *  Thread Starter [gaidin](https://wordpress.org/support/users/gaidin/)
 * (@gaidin)
 * [15 years ago](https://wordpress.org/support/topic/plugin-events-manager-php-errors-after-installing-406/#post-2107852)
 * 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.
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [15 years ago](https://wordpress.org/support/topic/plugin-events-manager-php-errors-after-installing-406/#post-2107863)
 * we use relative links, which work on most servers as youre the first to request
   this. i recommend changing hosts as that sounds dodgy
 *  Thread Starter [gaidin](https://wordpress.org/support/users/gaidin/)
 * (@gaidin)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-events-manager-php-errors-after-installing-406/#post-2107891)
 * 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?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Events Manager] PHP errors after installing 4.0.6’ is closed
to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [gaidin](https://wordpress.org/support/users/gaidin/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-events-manager-php-errors-after-installing-406/#post-2107891)
 * Status: resolved