views:

1499

answers:

2

I'm getting this error on an avatar upload on my site. I've never gotten it before and nothing was changed recently for me to begin getting this error...

Warning: is_writable() [function.is-writable]: 
open_basedir restriction in effect. 
File(/) is not within the allowed path(s):
A: 

The path you're refering to is incorect, and not withing the directoryRoot of your workspace. Try building an absolute path the the file you want to access, where you are now probably using a relative path...

Nicky De Maeyer
It's using an absolute path. It works for all users except this one.
Webnet
+1  A: 

modify the open_basedir settings on your httpd configuration file.

The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts

php_admin_value open_basedir "/home/sites/site81/:/tmp/:/"

Nikesh