Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Help asap!! Warning: file_exists() [function.file-exists]: open_basedir restriction in effect (3 posts)

Started 1 year ago by: nit3watch

  • Profile picture of nit3watch nit3watch said 1 year ago:

    On a customers site Im working on, all of a sudden – with out touching anything for like a week, it gives this error above all avatars? I did some research and from what I can tell is I must deactivate php safe mode?

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/avatars/1) is not within the allowed path(s): (/var/www/vhosts/example.co.za/bb-attachments:/var/www/vhosts/example.co.za/httpdocs:/tmp) in /var/www/vhosts/example.co.za/httpdocs/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 152

  • Profile picture of Hugo Hugo said 1 year ago:

    Yep the feckless Safe Mode has kicked into life, (a feature to be removed in PHP if not in current RC then in soon to be future ones) guessing you are on a system with a control panel like Plesk,Cpanel, or directAdmin?

  • Profile picture of nit3watch nit3watch said 1 year ago:

    yip its Plesk. Thanks hnla