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 August 15th, 2006, 06:05 AM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
PP 531: Problem running JPEGTRAN - Error 1

PP 531: Problem running JPEGTRAN - Error 1

Hi

My webhoster confirmed that I have jpegtran installed and that it is working on my server. When a user uploads an image, everything is fine. As soon as he wants to replace the image with another one (edit photo), he gets the error:

---

Problem running JPEGTRAN:

"/usr/bin/jpegtran" -copy none /homepages/11/d125332279/htdocs/galerie_de/uploads/66/Blaue_Berge.jpg

Error Code: 1

----

All other functions are workin (flip photo etc.)

After replacing, the new image appears as thumbnail, but no medium size image.

How to fix this?

(path to jpegtarn is also correct in admin menu)
snoopy5 is offline   Reply With Quote
Old August 15th, 2006, 07:58 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
I would think with this error there is an issue with jpegtran. If you clear the path in global options and try this again do things work fine?
__________________
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 August 15th, 2006, 08:31 AM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
I would think with this error there is an issue with jpegtran. If you clear the path in global options and try this again do things work fine?

In this case I get the following error:

"this format is not accepted" or something similar (although a jepeg with the right size etc.

At the same time, I get on the index page above my header the warning:

---
Warning: getimagesize(/kunden/homepages/11/d125332279/htdocs/galerie_de/uploads/66/Blaue_Berge.jpg): failed to open stream: No such file or directory in /homepages/11/d125332279/htdocs/galerie_de/image-inc.php on line 91

Warning: unlink(/kunden/homepages/11/d125332279/htdocs/galerie_de/uploads/66/Blaue_Berge.jpg): No such file or directory in /homepages/11/d125332279/htdocs/galerie_de/image-inc.php on line 103

--
snoopy5 is offline   Reply With Quote
Old August 15th, 2006, 09:24 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
well I would suggest you double check your uploads and data directories to ensure they are 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 August 15th, 2006, 03:50 PM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
well I would suggest you double check your uploads and data directories to ensure they are 777.
This did not work neither. Same errors as before.

I checked now in another PP 5.31 version, which is on the same server. In this installation, there is no path to jpegtran in the admin options field.

With this installation it works without any problems.

Both installations are nearly identical. Same files AFAIK, same server etc.

Both installations are using files of the download zip file of 17.06.2006

The only difference I can think of is the language. The working installation is English, the non-working is German.
snoopy5 is offline   Reply With Quote
Old August 15th, 2006, 04:32 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Has to be the data and uploads directory permissions if its the same server and your using the same processor etc.

I can not think of anything else it could be given this is the same server using the same stuff
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; August 15th, 2006 at 04:44 PM.
Chuck S is offline   Reply With Quote
Old August 15th, 2006, 08:30 PM   #7 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Hi

I checked & resetted the permissions for data and uploads directory 3 times. It is definiley correct. I also checked permissions for images directory and all php and sql files etc. They are all correct as described in the installation instructions.


I tested now with a third photopsot 531 installation. Again on the same server. This one uses the info in the admin options jpegtran field. THis works fine too.

So it is only one of 3 installations that is not working properly. Something must be different in this specific installation. I only do not know what. I tested now everythind as admin, to be sure that it is not a userright problem.

This third installation is a french language installation by the way. So it seems not to be a language problem.

If you want to, I can give you access to the installation and the server.
snoopy5 is offline   Reply With Quote
Old August 15th, 2006, 08:52 PM   #8 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
I found the problem. It is the last modification we did for fixing the 24 hour bug in image-inc.php.

This was the only file that was different to all my other installations, since I only made that bugfix in the German gallery. See here:

http://www.photopost.com/forum/showt...68#post1168168

I replaced the image-inc.php file with the original (untouched) one and the jpegtran error disappears immediately.

Obviously the 24 hour problem re-appears. So now I need again a better bugfix for the 24 hour problem

We can continue this discussion either here or in the 24 hour bug thread of 2 days ago (link above), whatever you prefer...
snoopy5 is offline   Reply With Quote
Old August 16th, 2006, 07:39 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
Hello as noted your fix is not the fix I originally posted for you to use hense this is what is causing your issue. I would suggest you go back and use the original fix that I provided which works fine and worked fine for you.

Example you did your edit using a variable called $filepath which is used extensively in our program which is causing your issue you can not reassign a variable we use for something else hense you cause the issue.

The edit I gave you here should work fine

http://www.photopost.com/forum/showp...6&postcount=15
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; August 16th, 2006 at 07:48 AM.
Chuck S is offline   Reply With Quote
Old August 16th, 2006, 11:04 AM   #10 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Problem solved /disappeared with a new change in the bugfix of the 24 h upload problem.

For more details see here in my posting of today:

http://www.photopost.com/forum/showp...1&postcount=35
snoopy5 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
Error with jpegtran KarstensMommy Photopost Pro Installation & Upgrades 2 June 22nd, 2006 11:42 AM
jpegtran Error Code: 2 motowebmaster Photopost Pro How Do I...? 1 March 12th, 2006 05:40 PM
notcat? and jpegtran and error code 1? Mikan Photopost Pro Installation & Upgrades 1 July 21st, 2005 09:06 AM
JPEGTRAN Error Code 2 fasteddie Photopost Pro Installation & Upgrades 1 April 28th, 2005 08:27 AM
4.8.5 vB3 - Error with Problem running JPEGTRAN wrang Photopost Pro Installation & Upgrades 7 December 20th, 2004 04:09 PM


All times are GMT -5. The time now is 01:02 AM.

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