I recently moved my site to a new server that have the same directory structure but newer versions of Apache, PHP and MySql. At the same time I upgraded PP to v5.5. I tested both the move and upgrade in my test environment (same as production server) and it worked fine. After the actual move/upgrade I have two problems that seem related:
Problem 1 -- Uploading a new photo result in the following error:
Unable to move file [/tmp/php6BYjwi] [/home/httpd/vhosts/autopia.org/httpdocs/gallery/uploads/69/81532.gif]
Problem 2 -- Rebuilding thumbnails (many were missing after the move) results in the following error:
Checking photo #140: rebuilding /home/httpd/vhosts/autopia.org/httpdocs/gallery/data/507/thumbs/894ferrari_f40_1024.jpg from /home/httpd/vhosts/autopia.org/httpdocs/gallery/data/507/894ferrari_f40_1024.jpg ... failed! done.
I have verified that permissions ar 0777 on the ./data directory and all of its sub directories.
This seems like a permission or path configuration error, but I can't find it.