move uploaded file and paths
Posted by: nascent
Posted on: 2006-01-10 12:25:00
I am attempting to run zencart and the install went great, but I am getting the following error when trying to upload an image file (I have zencart installed on another site that I am hosting under my main account.):
Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/mcs5/mcs.com/wszen/images/imgBack.jpg) is not within the allowed path(s): (/dh/web/phpmyadmin:/tmp:/usr/local/tmp:/dh/solidclient:/usr/local/lib/php:/home/mcs5:/home/.quota/mcs5) in /home/.quota/mcs5/mcs.com/wszen/admin/includes/classes/upload.php on line 112
I'm aware of this info from DH re:
"open_basedir restrictions prevent any of PHP's file opening commands from working on any files outside of /home/youruser. Files BELOW that directory WILL WORK:
/home/youruser/phpstuff/some/more/dirs/file.info IS OK! PHP CAN OPEN IT!
If you need to open files in another user's home directory (assuming both are under you account, of course!) contact TS and they will happily make an exception for you."
Can someone please point me in the right direction to resolve this. Is this an instance where I have to contact TS and have them fix it?