 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
September 25th, 2006, 03:35 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2004
Posts: 18
| Upload problems after server move
This weekend, I changed hosting companies. While everything is displaying properly, uploads result in the following in the header: Warning: move_uploaded_file(/home/pierands/public_html/photopost/uploads/10317/ronsray.jpg): failed to open stream: Permission denied in /home/pierands/public_html/photopost/image-inc.php on line 37
Warning: move_uploaded_file(): Unable to move '/tmp/phpuz6U4Y' to '/home/pierands/public_html/photopost/uploads/10317/ronsray.jpg' in /home/pierands/public_html/photopost/image-inc.php on line 37
and this in the body of the page: Unable to move file [/tmp/phpuz6U4Y] [/home/pierands/public_html/photopost/uploads/10317/ronsray.jpg]
I've checked admin-index.php and my paths appear to be the same. Any guesses as to what's going wrong here?
|
| |
September 25th, 2006, 04:41 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
If you moved servers you need to reset permissions like its a new install http://www.photopost.com/installphp.html
uploads and data at every level need to be 777
|
| |
September 25th, 2006, 05:00 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2004
Posts: 18
|
Now I'm getting a different error message: Error creating thumbnail! Error code: 1
Command:
"/usr/local/bin/mogrify" +profile "*" -size 100x67 -quality 70 -geometry 100x67 -unsharp 10 '/home/pierands/public_html/photopost/data/500/thumbs/ronsray1.jpg' |
| |
September 25th, 2006, 08:33 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
If your server has an old imagemagick you could get that issue with the profile statement.
Does the image upload if you use gd2 as the processor?
|
| |
September 25th, 2006, 09:33 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2004
Posts: 18
|
With both GD1 and GD2, the image processes, an error message briefly appears before the forward (happens too fast to catch it), then a black thumbnail appears in the gallery.
If you click the thumbnail, the bigger image appears properly.
|
| |
September 26th, 2006, 09:03 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
Make sure your data directories at every level are set to 777 and try to get the error with gd2. It looks to me like permissions in the thumbs directories and see that safe mode is not on on the server.
|
| |
September 26th, 2006, 07:23 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2004
Posts: 18
|
I chmoded /thumbs. Now there are no error messages during an upload, but the picture won't appear. It goes through the whole "processing images" routine, kicks me into my gallery, and there's nothing there.
|
| |
September 27th, 2006, 07:13 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
Not even the big image?
You can post a test user account and url here for us to try and upload and also a link to phpinfo on the server.
|
| |
September 27th, 2006, 08:55 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2004
Posts: 18
|
The bizarre thing is, some users can upload. But many--myself included--cannot. It goes through the whole process, tells me the picture is uploaded, then dumps me into my gallery. But there's nothing there. No thumb, no big picture, nothing.
I've cleared my cookies, even come back under newly-created test accounts. Nada.
|
| |
September 27th, 2006, 09:45 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
well if the file is being dropped is it because your trying to upload a file larger then your PHP max upload?
|
| |
September 28th, 2006, 10:05 AM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2004
Posts: 18
|
Upload File Size Limit is set to 0 for all usergroups.
|
| |
September 28th, 2006, 11:30 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
No how big is the file your trying to upload? what is the max upload filesize allowed in PHP info?
You basically saying if I am following is you try to upload and then the upload is dropped and your being returned to the page
|
| |
September 29th, 2006, 11:23 AM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2004
Posts: 18
|
Yes, that's what I'm saying. The picture disappears during the upload process, but there's no error message given.
As I said above, Upload File Size Limit is set to 0 for all usergroups. The documentation for Photopost says that setting it to 0 will allow uploads of any size. The particular photo that keeps failing is about 1.5 megs.
|
| |
September 29th, 2006, 11:53 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
What is the largest file you can safely upload? If others can upload and its only these big files that cause a problem either the max upload in PHP is lower than the file your trying to upload or the server has a LimitBodyRequest variable set in there apache setup to limit upload sizes
You did clear your uploads directory of all files?
|
| |
September 30th, 2006, 06:58 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Apr 2002 Location: Brazil
Posts: 427
|
I'm having exactly the same problem, data and uploads directories are all set to 777 including all levels under it.
I also run PLESK.
Last edited by GoMeS_k; September 30th, 2006 at 07:00 PM.
Reason: posted on wrong thread, sorry.
|
| |
September 30th, 2006, 07:04 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
If it is disappearing then one of the 3 is your culprit
1. safe mode is on
2. file uploads are off
3. Your file is over your php max_upload_filesize or the LimitBodyRequest variable on your server
|
| |
October 1st, 2006, 11:18 AM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2004
Posts: 18
|
Well, #1 and #2 can't be the case, since some photos are making it up.
php max_upload_filesize--is that the variable that's set by "Upload File Size Limit"?
I'll ask my host about LimitBodyRequest.
|
| |
October 1st, 2006, 11:33 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
No your PHP setting is set in your php.ini file and that means no matter what you put in photopost you can not upload a file larger than this.
So if your left with no errors other than large files do not process this would be your issue.
If your left with other errors please post them
|
| |
October 1st, 2006, 05:30 PM
|
#19 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2006
Posts: 6
|
I'm having the same problems and have tried all that you have suggested. I changed from Image to GD and finally got past the error code 1 error and the bulkload page actually showed something but the image shows as an x and turns out the image is not yet in the data/500/thumbs dir.
I have confirmed my image is less than the 2M limit imposed in php.ini.
FYI, i just upgraded an hour ago from 5.3 to 5.5 and noticed the photopost 5.5 download file was updated this morning.
Last edited by hswartz; October 1st, 2006 at 05:40 PM.
|
| |
October 1st, 2006, 06:01 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
Have you verified your path is correct?
I have had two guys this weekend swear up and down permissions where fine paths where right etc and their paths set to data and uploads where incorrect.
What is the error you get that is what you need to post and please post a url and test login to your gallery
|
| | |
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 03:36 PM. | |