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 January 10th, 2007, 05:34 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 31
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 06:07 PM. Reason: Added more info / additional test upload results
flytier101 is offline   Reply With Quote
Old January 10th, 2007, 06:12 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Set your uploads directory at every level 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 offline   Reply With Quote
Old January 10th, 2007, 06:30 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 31
Geez Chuck, I thought I did that. Obvioulsy not. What was interesting was when I went in to change those permissions, I saw the upload already in there. Permissions are now changed and now I get this error:

Error creating thumbnail! Error code: 1

Command:

"/usr/local/bin/mogrify" +profile "*" -size 100x100 -quality 70 -geometry 100x100 -unsharp 10 '/usr/local/apache/htdocs/photopost/data/500/thumbs/test.jpg'

I just double checked and all the permissions in the Data folder including all sub directories and files are 777
flytier101 is offline   Reply With Quote
Old January 10th, 2007, 08:04 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Okay you have a real old imagemagick. You can set your image processor to GD2 and see if uploads work if thats the case edit image-inc.php and remove this twice in that file and then see if imagemagick works

Code:
Content visible to verified customers only.
__________________
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 January 10th, 2007, 10:30 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 31
is the magemagick something I should have my server people update?
flytier101 is offline   Reply With Quote
Old January 10th, 2007, 11:09 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Usually unless you have root SSH access
__________________
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 January 11th, 2007, 06:53 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 31
Quote:
Originally Posted by Chuck S View Post
Usually unless you have root SSH access
Which I do, but, they get paid for stuff like this. Ill have them update it (if it can be), Ill try it again, if it doesnt work, Ill remove the two lines of code in your previous post.

What suprises me is that the server configuration is exactly the same as it was in August when you did the pay for install on one of my other sites. Nothing different so why it worked then, and not now, not sure, unless back then, you had to remove that code as well.

Ill respond with results later this morning

Thanks!!
flytier101 is offline   Reply With Quote
Old January 11th, 2007, 11:42 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 31
Updated Imagemagick to this version ImageMagick-6.2.9 Tried again, got this error:
Error creating thumbnail! Error code: 139
Command:
"/usr/local/bin/mogrify" +profile "*" -size 100x100 -quality 70 -geometry 100x100 -unsharp 10 '/usr/local/apache/htdocs/photopost/data/500/thumbs/image.jpg

Switched the image processor to GD2 and the upload went fine.

Chuck, opened the file below image_inc.php and could not find the code you posted. Even did a search through the code for just the first word and it turned up no results.

So, should I assume, I am good to go with GD2?

Thanks
flytier101 is offline   Reply With Quote
Old January 11th, 2007, 12:06 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
profile statement is definately in there twice in image-inc.php

I have never heard of a 139 imagemagick error but if GD2 works fine your issue is with the imagemagick install on the server and not Photopost.

Did you follow the Imagemagick compile instructions here on our site under the support link in the header?
__________________
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 January 11th, 2007, 03:32 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 31
Chuck, Found the profile lines. Had one seeting in my search incorrect.
I forwarded this info to my support team. They deinstalled and reinstalled after i think they said, adding or compiling the libraries.

I wont mess with this any longer. Its just odd that an install you did a few months ago worked no prob, the server settings were the same and not working now, although, your install still works.

Anyway, since its working with GD2, I suspect I dont need to do anything with Imagemagick and will just use GD2.

If I still need to do something with imagemagick even if I am using GD2, please le me I will move this off here to a adv. install service, if it is totally necessary.

thanks again \

-larry
flytier101 is offline   Reply With Quote
Old January 11th, 2007, 04:29 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Nah GD2 should be fine. If your host updated there servers they probally broke imagemagick
__________________
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
Don't Have Permission bschneider5 Photopost Pro Installation & Upgrades 2 July 18th, 2006 07:03 PM
Upload permission warrior How Do I? - vBulletin 3.0.X 2 February 21st, 2005 05:55 AM
Permission Levels fetus Photopost Pro Installation & Upgrades 4 January 30th, 2005 02:26 PM
Problems getting Reviewpost to work fully without these UID permission errs LittleBrother ReviewPost Bug Reports 8 August 27th, 2004 02:44 PM


All times are GMT -5. The time now is 04:16 AM.

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