PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Troubleshooting & Problems (http://www.photoplog.com/forum/forumdisplay.php?f=6)
-   -   Problems after server move (http://www.photoplog.com/forum/showthread.php?t=2864)

SteveRobWhatever 05-19-2009 07:52 AM

Problems after server move
 
I recently moved to a new host and server and now when I go to upload a new image I am getting this error:

Quote:

Warning: move_uploaded_file(/photoplog/images/1/1_mudd-moore.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /photoplog/upload.php on line 171

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpunozKO' to '/photoplog/images/1/1_mudd-moore.jpg' in /photoplog/upload.php on line 171
What can be done to remedy this? Thank you in advance for your help.

SteveRobWhatever 05-19-2009 08:06 AM

Just FYI....I chmod all the photoplog files to 777 and now I am getting this error:

Quote:

Fatal error: Call to undefined function imagetypes() in /home/sblueman/public_html/forums/photoplog/functions.php on line 44

Morgan 05-19-2009 06:27 PM

For the imagetypes error message, check http://www.photoplog.com/forum/showthread.php?t=1637

SteveRobWhatever 05-23-2009 05:50 AM

Ok I recompiled PHP with GD library support but now I have a new issue. When I go to upload an image i am now getting this error message:
Quote:

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/photoplog/images/1/large/3_aqib-talib.jpg' for writing: Permission denied in /photoplog/functions.php on line 150
I did a search and somewhere (vbulletin.org) someone suggested to make sure PHP Safe Mode was turned on and it is. How can this be fixed so I can upload images?

Morgan 05-23-2009 04:27 PM

PhotoPlog requires that safe mode be off. You also need to make sure that the PhotoPlog images directory, and all subdirectories within the PhotoPlog images directory, have 777 permissions. On a *nix server, to set 777 permissions in one go via hell, cd to your PhotoPlog images directory, and then type the following:
Code:

find YOUR_PHOTOPLOG_IMAGES_DIR -type d | xargs chmod 777

SteveRobWhatever 05-24-2009 04:41 PM

That did the trick, thank you!


All times are GMT. The time now is 05:05 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.