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 December 17th, 2004, 03:49 AM   #1 (permalink)
Senior Member
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 854
Getting Errors doing mass upload

When I upload a bunch of files to my upload directory and try to get photopost to process it it gives these errors after clicking the submit button:

Warning: copy(/home/ggadmin/public_html/gallery/uploads/1/01_064035.jpg): failed to open stream: No such file or directory in /home/ggadmin/public_html/gallery/bulkupload.php on line 140
Processing 01_064035.jpg... (/home/ggadmin/public_html/gallery/data/2106/101_064035.jpg) (2106)

Warning: getimagesize(/home/ggadmin/public_html/gallery/data/2106/101_064035.jpg): failed to open stream: No such file or directory in /home/ggadmin/public_html/gallery/image-inc.php on line 173

Warning: copy(/home/ggadmin/public_html/gallery/data/2106/101_064035.jpg): failed to open stream: No such file or directory in /home/ggadmin/public_html/gallery/image-inc.php on line 208

Warning: getimagesize(/home/ggadmin/public_html/gallery/data/2106/101_064035.jpg): failed to open stream: No such file or directory in /home/ggadmin/public_html/gallery/image-inc.php on line 332

Problem running command: "/usr/bin/jpegtran" -copy none /home/ggadmin/public_html/gallery/data/2106/101_064035.jpg

Error Code: 1



I see the line "Problem running command: "/usr/bin/jpegtran""

Does this mean that it is likely pointing to the wrong location in my Admin CP? I ran locate on my server and it appears to be pointing to the right place in the AdminCP.

Please help.
Johnny Doomo is offline   Reply With Quote
Old December 17th, 2004, 08:40 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
You might have an outdated version of pegtran - do you know the version you have? Is /usr/bin/jpegtran the proper path?
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old December 17th, 2004, 05:32 PM   #3 (permalink)
Senior Member
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 854
I talked to my host and they say that the latest version for Red Hat was installed. I did recently move servers. Could it be a problem with CHMOD or something? I CHMODed all the directories in the data directory and the uploads directory.

What else could be the problem?

Last edited by Johnny Doomo; December 17th, 2004 at 05:39 PM.
Johnny Doomo is offline   Reply With Quote
Old December 17th, 2004, 07:53 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
I would ask them what they say the path to jpegtran is as your install does not find it at

/usr/bin/jpegtran

another normal place would be

/usr/local/bin/jpegtran

or

/usr/X11R6/bin/jpegtran


You can also remove the line for jpegtran on your options and you should be fine if you dont have it installed
__________________
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 December 17th, 2004, 10:32 PM   #5 (permalink)
Senior Member
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 854
I will check those things you mentioned. What does jpegtran do anyways so i know if it's something I need/want/use.

Thanks.
Johnny Doomo is offline   Reply With Quote
Old December 17th, 2004, 10:34 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Well it strips the bad header info for instance of files with the adobe/IE Bug
__________________
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 December 17th, 2004, 11:57 PM   #7 (permalink)
Senior Member
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 854
So what would happen if I didn't use it? Would I have problems if I upload the type of images that needed it?

Also I changed the location of jpegtran from /usr/bin/jpegtran to /usr/local/bin/jpegtran and I started getting this error:

Warning: copy(/home/ggadmin/public_html/uploads/1/01_064035.jpg): failed to open stream: No such file or directory in /home/ggadmin/public_html/gallery/bulkupload.php on line 140
Processing 01_064035.jpg... (/home/ggadmin/public_html/gallery/data/2106/101_064035.jpg) (2106)

Warning: getimagesize(/home/ggadmin/public_html/gallery/data/2106/101_064035.jpg): failed to open stream: No such file or directory in /home/ggadmin/public_html/gallery/image-inc.php on line 173

Warning: copy(/home/ggadmin/public_html/gallery/data/2106/101_064035.jpg): failed to open stream: No such file or directory in /home/ggadmin/public_html/gallery/image-inc.php on line 208

Warning: getimagesize(/home/ggadmin/public_html/gallery/data/2106/101_064035.jpg): failed to open stream: No such file or directory in /home/ggadmin/public_html/gallery/image-inc.php on

Error creating watermarked original! Error code: 1

Command: "/usr/local/bin/composite" -compose over -gravity SouthEast /home/ggadmin/public_html/gallery/images/gg_watermark.png /home/ggadmin/public_html/gallery/data/2106/101_064035.jpg /home/ggadmin/public_html/gallery/data/2106/101_064035.jpg




I don't know if that is working in the right direction of getting it working or not?

But still the question I have is what happens I don't have the jpegtran and if I upload a photo that needs the jpegtran. What will happen? Will it error out or what? I don't want to do a quick fix if it's going to cause me more problems in the future.

Can you explain what exactly is the jpegtran needed for anyways? I think I remember reading it somewhere but now I can't find it. Something about the newer photoshops or something I thought?

Last edited by Johnny Doomo; December 18th, 2004 at 12:04 AM.
Johnny Doomo is offline   Reply With Quote
Old December 18th, 2004, 12:12 AM   #8 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
There is an IE bug that Microsoft has so far refused to fix which when IE tries to display a file saved in Adobe Photoshop that hasn't had the Adobe-specific meta tags removed, IE hangs. This isn't very common, but we had some Mac folks who needed jpegtran as a way to ensure that this info was stripped.

Since you are using watermarks, its trying to execute composite (an IM component); which doesnt appear to be installed.

Haven't you been having big issues with IM ever since you moved servers? Maybe you should consider an installation service to get it resolved once and for all.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old December 18th, 2004, 06:25 AM   #9 (permalink)
Senior Member
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 854
I had my host do it and they claim the installation was done properly because it makes the thumbnails. I got the watermarks working too after their installation. So single image uploads now work fine. It's that for me I mostly use the mass upload feature and it doesn't give this error when you upload a single file from the field in the upload page.

So why does it seem to work on single files, but then when you have it look at the upload folder for your list of files to upload it gives that error?

I don't understand that.
Johnny Doomo is offline   Reply With Quote
Old December 18th, 2004, 10:03 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Johnny

I have yet to see you say you have actually verified the path to jpegtran or composite here in this thread.
__________________
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 December 18th, 2004, 04:33 PM   #11 (permalink)
Senior Member
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 854
Finally. OK I chmoded both the upload and the 1 folder in it to 777. It started working, but is that too much permission? Does the upload folder even need to be chmodded and either or not it's both, does it need to be 777?

That was a strange error to give when jpegtran was installed properly the whole time.... or at least my host claimed it was and after chmodding those things it did start working.

Thanks for all the help you guys have imparted on my behalf. May I make a suggestion. It would be great if you guys offered a moved server guide that instructs users on everything they need to do and recheck after moving servers. From all the chmodding I went through to the more noobish thing of making sure the paths to mogrify, etc. are set correct. You could even include the lines of running locate on your server.

Just a thought. Thanks Again!
Johnny Doomo is offline   Reply With Quote
Old December 18th, 2004, 04:40 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Per the Photopost installation directions yes all uploads and data directory folders and the y themselves need to 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
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
mass upload Hoof Before You Buy 9 September 30th, 2005 10:33 AM
Mass upload from server cgmojoco Installs and Upgrade - vBulletin 3.0.X 4 June 29th, 2005 12:42 PM
Mass upload Mijae vBGallery Suggestions 12 March 22nd, 2005 11:35 PM
mass upload danrak Installs and Upgrade - vBulletin 3.0.X 3 February 27th, 2005 12:43 PM
Is there a mass upload? trackpads Before You Buy 3 January 22nd, 2005 10:44 PM


All times are GMT -5. The time now is 02:49 PM.

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