 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
August 27th, 2006, 05:10 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
| how do I get rid of this error
When trying to upload a vid through the admin, I am getting the following php error and then the last error which seems to be a PP error. "x's" are in replace of the vhosted acct name and URL. Permissions are set to 777. Have not been able to test this on a non admin registered user (one I set up) because for the life of me, when I log in as a registered (non admin) user, I can not get the upload link to show anywhere!
Warning: move_uploaded_file(/home/xxxxx/www/xxxxxxx.com/photopost/uploads/1/name.mov): failed to open stream: Permission denied in /home/xxxxx/www/xxxxxxx.com/photopost/image-inc.php on line 46
Warning: move_uploaded_file(): Unable to move '/var/tmp/phpx8G6GX' to '/home/xxxxx/www/xxxxxxx.com/photopost/uploads/1/name.mov' in /home/xxxxx/www/xxxxxxx.com/photopost/image-inc.php on line 46
Unable to move file [/var/tmp/phpx8G6GX] [/home/xxxxx/www/xxxxxxx.com/photopost/uploads/1/name.mov]
|
| |
August 27th, 2006, 06:21 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Hello did you set 777 permissions EVERY LEVEL DOWN meaning directory 1 is 777?
All your data and uploads directories must be 777 and safe mode must be off in php
|
| |
August 27th, 2006, 08:24 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
|
777 is set all the way through and throughout each sub foolder. I doublechecked all the permissions in the uploads directory
|
| |
August 28th, 2006, 08:00 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Have you verified your server's php has safe mode set to OFF?
|
| |
August 28th, 2006, 11:52 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
|
Hi Chuck,
Yes, I have made that verification,
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
I have a feeling there is another permission setting that is incorrect although I do NOT know how to find that. All the permissions in the docs are set properly as specified but I also am getting a permission denied error when trying to change a stylesheet. I have that set correctly to 777 but still getting this error
Warning: fopen(/home/username/www/url/photopost/stylesheets/default.css): failed to open stream: Permission denied in /home/username/www/url/photopost/adm-misc.php on line 3789
Unable to write changes, permissions on default.css are not set properly.
Again, these permissions are set to 777 so there must be something not set correctly. I am guessing this is some sort of global permission setting and one probably has to do with the initial post here. Any thoughts or ideas? im going nuts trying to find this.
|
| |
August 28th, 2006, 11:58 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
The permissions on your stylesheets are not 666 if they can not be written to.
Also check to ensure your path to photopost is correct in the config it looks to be but something to check
If safe mode is not on and permissions are set correct you should be able to upload or edit stylesheets etc.
Now keep in mind with video uploads that your not going to be able to upload anything larger than 2mb without altering PHP
|
| |
August 28th, 2006, 12:30 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
|
Permissions on the stylesheet is 777 I am not understanding your first comment about not being 666 if they......
Path appears from what I have checked to be correct
Safe mode is off
PHP is set away from the default of 2mb to 100mb
Uploads is 777
subfolder 1 is 755
admin-misc is 644
|
| |
August 28th, 2006, 12:34 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
as stated in my previous message about permissions uploads and data directories at every level need to be 777
your stylesheets themselves have to be set to 666
|
| |
August 28th, 2006, 12:46 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
| Quote:
Originally Posted by Chuck S as stated in my previous message about permissions uploads and data directories at every level need to be 777 | understood...When setting initial permissions per the documentation, data directories at every level need to be 777, which they are and have been.
Uploads directory should be 777 which it is, but I didnt realize there where 5 levels under that of which only sub folder 1 has permissions that can be set. That is now set at 777 from 755 - I will check the uploads in a bit and report back but now for the second part: Quote:
Originally Posted by Chuck S your stylesheets themselves have to be set to 666 | I set them to 777 as the initial documentation stated.
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)
I just changed them to what you said above, 666 and I get the following error when I open the main page, before even trying to login under admin or a user.
Warning: is_dir(): Stat failed for /home/user/www/domain_name.com/photopost/stylesheets/default (errno=13 - Permission denied) in /home/user/www/domain_name.com/photopost/pp-inc.php on line 256
|
| |
August 28th, 2006, 05:01 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
No not the directory.  The stylesheets need to be set 666 themselves the css files to be writable.
|
| |
August 28th, 2006, 05:29 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
|
OK, so I completely misunderstood that. I dont know what I was thinking.
Anyway, that now works but the uploads are still erroring out.
I suspect somewhere within, a permission is incorrect. Is every single folder and contents of each one, individually supposed to be set to 777? Including the index files found within the data and uploads folders and sub folders?
|
| |
August 28th, 2006, 06:55 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Yes you posted above your number one directory was 755 and I posted it must be 777
|
| |
August 28th, 2006, 07:11 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
|
Thanks Chuck--I did change that and still didn't work. Within that #1 directory is an index.html it is at 644 Should all those index.html or .htm files within both the data and uploads folders be 777
|
| |
August 29th, 2006, 08:13 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Post your site url here an index file would not have anything to do with things. Either safe mode is on on your site or your permissions are not set right. move_uploaded_file error is pretty specific
|
| |
August 29th, 2006, 09:14 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Aug 2006
Posts: 31
|
better idea... with all the time I am wasting trying to figure this out myself, I am better off having you install properly with the proper permissions, etc...
Ill send an install order over.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:43 AM. | |