PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Upload error after server move (http://www.photopost.com/forum/photopost-pro-installation-upgrades/122415-upload-error-after-server-move.html)

bplinson January 21st, 2006 10:33 AM

Upload error after server move
 
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?

bplinson January 22nd, 2006 02:48 AM

Anyone????

Chuck S January 22nd, 2006 08:38 AM

Couple things I would say here ;)

1. In Admin => Storage Options click revert paths to pick up the new path you entered prior in Global Options.

2. You would need to follow our installation instructions again and reset all your permissions on files and directories to ensure everything is in working order

Code:

Content visible to verified customers only.

bplinson January 23rd, 2006 01:52 AM

Chuck, I do not care what anyone else says about you...YOU ARE THE MAN!!!

Step 1 of your instructions fixed the problem.

Chuck S January 23rd, 2006 10:18 AM

Thank You.


All times are GMT -5. The time now is 04:17 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97