Welcome Guest, Not a member yet? Register   Sign In
Image upload - open_basedir restriction in effect - Help!
#1

I have a simple cms which is written in Codeigniter framework. It has worked just fine in many projects and it still works ok on my local machine. But when i put my recent web site online (server php version 5.5.17) and i try to upload an image, i get this error:

Message: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.:/var/www/vhosts/web-test-host.tk:/tmp:/usr/share/php:/usr/share/pear:/var/lib/php/session) Filename: libraries/Image_lib.php

I have tried everything, permissions are all set up, i have even set the open_basedir value to none and it still doesn't want to upload an image, neither doesn't get a name of the image.

Thank you for your help!
Reply


Messages In This Thread
Image upload - open_basedir restriction in effect - Help! - by Krone1232 - 03-25-2015, 04:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB