php - open_basedir error preventing avatar uploads -


I get this error when uploading avatar to my site. I "open_basedir" on my server "php.ini" = "/ Home /" has been changed to "open_basedir =". This is a dedicated server and I rebooted it after adjusting.

  WARNING: is_writable () [function.is-writeable]: open_basedir restriction in effect. The file (/) is not within the allowed path (): / home / source / public_html / lib / php in (/ home / source: / usr / lib / php: / usr / local / lib / php: / tmp) / 466 / directory. FTP ONLINE 46 Warning: is_writable () [function.is-writeable]: Open_basedir restriction in effect. The file (/) is not within the allowed path (): / home / source / public_html / lib / php in (/ home / source: / usr / lib / php: / usr / local / lib / php: / tmp)  

What else can I do to fix this problem?

The problem is not with open_basedir, it is in your image upload, look closely at the error message: < / P>

  The file (/) is not within the allowed path:  

I'm sure a blank variable is where the file name should be / path.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -