PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 25th, 2006, 04:35 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 23
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?
pierguy is offline   Reply With Quote
Old September 25th, 2006, 05:41 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 25th, 2006, 06:00 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 23
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'
pierguy is offline   Reply With Quote
Old September 25th, 2006, 09:33 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 25th, 2006, 10:33 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 23
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.
pierguy is offline   Reply With Quote
Old September 26th, 2006, 10:03 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2006, 08:23 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 23
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.
pierguy is offline   Reply With Quote
Old September 27th, 2006, 08:13 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 27th, 2006, 09:55 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 23
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.
pierguy is offline   Reply With Quote
Old September 27th, 2006, 10:45 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
well if the file is being dropped is it because your trying to upload a file larger then your PHP max upload?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 28th, 2006, 11:05 AM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 23
Upload File Size Limit is set to 0 for all usergroups.
pierguy is offline   Reply With Quote
Old September 28th, 2006, 12:30 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 29th, 2006, 12:23 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 23
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.
pierguy is offline   Reply With Quote
Old September 29th, 2006, 12:53 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 30th, 2006, 07: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 08:00 PM. Reason: posted on wrong thread, sorry.
GoMeS_k is offline   Reply With Quote
Old September 30th, 2006, 08:04 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 1st, 2006, 12:18 PM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 23
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.
pierguy is offline   Reply With Quote
Old October 1st, 2006, 12:33 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 1st, 2006, 06: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 06:40 PM.
hswartz is offline   Reply With Quote
Old October 1st, 2006, 07:01 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,742
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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moved to new server -- Upload Problems creativepart Photopost Pro Installation & Upgrades 1 June 20th, 2006 09:03 PM
server move upload problems sean_ransom Photopost Pro Installation & Upgrades 0 March 7th, 2006 04:08 PM
Upload error after server move bplinson Photopost Pro Installation & Upgrades 4 January 23rd, 2006 11:18 AM
Emergency Server move.. Photopost problems jbade Photopost Pro Installation & Upgrades 1 October 26th, 2005 01:47 PM
Need Help move to new server**UPload Error*** mitomcua Photopost Pro Installation & Upgrades 2 December 27th, 2004 09:30 AM


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

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0