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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 2nd, 2008, 06:36 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2002
Posts: 10
Upload errors

I have tried searching, but can't find exact error, these are at the TOP of the screen...We checked permissions,etc...and set according to the install page. It just started doing this recently and won't allow anyone to upload.

Warning: move_uploaded_file(/home/mach1/www/photopost/uploads/1/686_Q0442.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/mach1/public_html/photopost/image-inc.php on line 46

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpxcjHi7' to '/home/mach1/www/photopost/uploads/1/686_Q0442.jpg' in /home/mach1/public_html/photopost/image-inc.php on line 46



This one is in the middle of the screen where the images are located.

Unable to move file [/tmp/phpxcjHi7] [/home/mach1/www/photopost/uploads/1/686_Q0442.jpg]


Sorry if a repost, but couldn't find it. Thanks all for the help.
03Mach1 is offline   Reply With Quote
Old May 2nd, 2008, 10:44 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
On install your data and uploads directories at every level must be set to 777 permissions and that error suggests to me that this was not done. You can ftp to your photopost directory on the server and check both of those directories to make sure they are every level deep in both those directories are 777 permissions.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 5th, 2008, 10:00 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2002
Posts: 10
I will check it again. Everything had been working flawlessly.

I know they were all set to 777 and all the others set accordingly to the install. It had been working fine up until a month or so ago. Maybe hosting service did something to it...?? I haven't made any changes at all.

Thanks.!!
03Mach1 is offline   Reply With Quote
Old May 5th, 2008, 01:22 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
Moving a hosting service means you would have to reset all permissions sure.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 5th, 2008, 03:28 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 40
Doesn't sound like he moved companies. Sounds like he is wondering if the hosting company DID something to cause the error...

I have a similar problem as well. It just showed up a while ago. I get this:

Warning: copy(/home/my site/public_html/photopost/data/1022/thumbs/deebo.jpg) [function.copy]: failed to open stream: Permission denied in /home/my site/public_html/photopost/image-inc.php on line 141

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/my site/public_html/photopost/data/1022/thumbs/deebo.jpg' for writing: Permission denied in /home/my site/public_html/photopost/image-inc.php on line 159


P.S. I tried doing a search on the site here, but it isn't working. Tells me my search string is too short (which it wasn't).

line 141 is: copy ( $image_file_path, $new_image_file_path );

line 159 is: case 2: $return_val = ImageJPEG( $full_id, $new_image_file_path, $Globals['imgquality'] ); break;

Last edited by OMSA; May 5th, 2008 at 04:28 PM.
OMSA is offline   Reply With Quote
Old May 5th, 2008, 06:42 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
I would suggest your uploads and data folders are set via ftp to 777 permissions at every level.

Example your 1022/thumbs directory under data based on your error would suggest it is not 777.

As noted on the other guys post his numeric 1 directory under uploads seems to not be 777 or safe mode is on his server.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 5th, 2008, 07:37 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 40
Are ALL the folders under the data folder set to 777 as well?

When I run a database scan, I am getting this:

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/mysite/public_html/photopost/data/531/medium/25DDR-HeldArbeit.jpg' for writing: Permission denied in /home/mysite/public_html/photopost/image-inc.php on line 159
OMSA is offline   Reply With Quote
Old May 5th, 2008, 08:56 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
Yes all your directories under data and uploads as well as those parent directories must be set to 777.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 5th, 2008, 09:16 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 40
Hosting company is telling me that the server is running suExec and that is preventing the use of 777 folders.

Does this sound right?
OMSA is offline   Reply With Quote
Old May 5th, 2008, 10:06 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
It could if thats the issue then they should be able to setup there servers to allow uploads with 755 permissions.

we tell people 777 because that always works although if a server is setup correctly by a host 755 would work. You would need to work with your host on this issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 6th, 2008, 03:53 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 40
Yes, they say I have to use 755...
OMSA is offline   Reply With Quote
Old May 6th, 2008, 09:31 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
Okay then that means they need to setup there server to properly allow file uploads and file creation moving between 755 directories mimicing the permissions of 777.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
More upload errors Pirate45 Photopost Pro How Do I...? 3 June 1st, 2007 09:09 AM
Upload errors xowi Photopost Pro Installation & Upgrades 1 November 29th, 2006 04:56 PM
upload errors flowrider General Discussion 10 July 8th, 2006 05:53 AM
Errors with upload titusc Photopost Pro Installation & Upgrades 1 June 11th, 2006 08:40 AM
Upload Errors nbenton Photopost Pro Installation & Upgrades 1 July 13th, 2004 12:48 PM


All times are GMT -5. The time now is 11:53 AM.

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