| Permission problems
Hi,
I just reinstalled a fresh version PP Pro. Everything seemed to set up properly. I just went to do a test upload and got the following error: This is the exact error...
Warning: move_uploaded_file(/usr/local/apache/htdocs/photopost/uploads/1/afb.jpg): failed to open stream: Permission denied in /usr/local/apache/htdocs/photopost/image-inc.php on line 48
Warning: move_uploaded_file(): Unable to move '/var/tmp/phplGFjkr' to '/usr/local/apache/htdocs/photopost/uploads/1/afb.jpg' in /usr/local/apache/htdocs/photopost/image-inc.php on line 48
Permissions for image_inc.php are set to 644 Im not a permissions expert to say the least or even know much about them. In the installation guide, I followed all the permission settings for these:
photopost
images (chmod 755)
uploads (chmod 777)
help (chmod 755)
data (chmod 777)
1 (chmod 777 - including subdirectories)
2 (chmod 777 - including subdirectories)
500 (chmod 777 - including subdirectories)
languages (chmod 755) (a
stylesheets (chmod 777)
templates (chmod 777)
forums (chmod 755)
then it says: Be sure to FTP all .php and .sql files into the photopost directory. All permissions for .php and .sql files should be set to chmod 644.
Now. I checked all the permissions against the old installation and they are identical for every file. What I noticed though, for some reason, in this install V562 there is a folder called untitled folder in the extracted download from the PP site. And in the last instal (earlier version)(done by PP people as a pay for install) there is a file called showframe.php which I do not have in this new install.
Any thoughts?
just tried again and got a similar error but some wierd characters highloghted in red
Warning: move_uploaded_file(/usr/local/apache/htdocs/photopost/uploads/1/afb.jpg): failed to open stream: Permission denied in /usr/local/apache/htdocs/photopost/image-inc.php on line 48
Warning: move_uploaded_file(): Unable to move '/var/tmp/phpmWiPUu' to '/usr/local/apache/htdocs/photopost/uploads/1/afb.jpg' in /usr/local/apache/htdocs/photopost/image-inc.php on line 48
I am thinking I may have something very wrong when I installed. Not sure but I think I have a path wrong, although, I did not change anything.
Help!
Thanks
Last edited by flytier101; January 10th, 2007 at 07:07 PM.
Reason: Added more info / additional test upload results
|