I just moved my website to a new server and now am getting the following errors when I try to upload a file:
Quote:
Warning: copy(): open_basedir restriction in effect. File(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg) is not within the allowed path(s): (/home/www/vhosts/v2-forum.com/httpdocs:/tmp) in /home/www/vhosts/v2-forum.com/httpdocs/photopost/uploadphoto.php on line 514
Warning: copy(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg): failed to open stream: Operation not permitted in /home/www/vhosts/v2-forum.com/httpdocs/photopost/uploadphoto.php on line 514
Warning: getimagesize(): open_basedir restriction in effect. File(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg) is not within the allowed path(s): (/home/www/vhosts/v2-forum.com/httpdocs:/tmp) in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 214
Warning: getimagesize(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg): failed to open stream: Operation not permitted in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 214
Warning: copy(): open_basedir restriction in effect. File(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg) is not within the allowed path(s): (/home/www/vhosts/v2-forum.com/httpdocs:/tmp) in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 241
Warning: getimagesize(): open_basedir restriction in effect. File(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg) is not within the allowed path(s): (/home/www/vhosts/v2-forum.com/httpdocs:/tmp) in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 413
Warning: getimagesize(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg): failed to open stream: Operation not permitted in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 413
Warning: getimagesize(): open_basedir restriction in effect. File(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg) is not within the allowed path(s): (/home/www/vhosts/v2-forum.com/httpdocs:/tmp) in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 613
Warning: getimagesize(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg): failed to open stream: Operation not permitted in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 613
Warning: filesize(): open_basedir restriction in effect. File(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/500/040401DirtyDebbie11sm.jpg) is not within the allowed path(s): (/home/www/vhosts/v2-forum.com/httpdocs:/tmp) in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 621
Warning: fread(): supplied argument is not a valid stream resource in /home/www/vhosts/v2-forum.com/httpdocs/photopost/image-inc.php on line 621
|
I am also getting these errors whe I go into the admin section:
Quote:
Warning: opendir(): open_basedir restriction in effect. File(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/) is not within the allowed path(s): (/home/www/vhosts/v2-forum.com/httpdocs:/tmp) in /home/www/vhosts/v2-forum.com/httpdocs/photopost/adm-inc.php on line 682
Warning: opendir(/home/httpd/vhosts/v2-forum.com/httpdocs/photopost/data/): failed to open dir: Operation not permitted in /home/www/vhosts/v2-forum.com/httpdocs/photopost/adm-inc.php on line 682
Warning: readdir(): supplied argument is not a valid Directory resource in /home/www/vhosts/v2-forum.com/httpdocs/photopost/adm-inc.php on line 684
Warning: closedir(): supplied argument is not a valid Directory resource in /home/www/vhosts/v2-forum.com/httpdocs/photopost/adm-inc.php on line 692
|
I have made the required changes to the config-inc.php and config-int.php but the old /home/httpd physical address is, for some reason, showing up in the errors above. Somewhere there is a file that is still pointing to the old /home/httpd address. The new physical address should start with /home/www and is also seen in the errors above.
Any ideas?