 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
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)
|
| |
August 15th, 2006, 07:58 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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?
|
| |
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 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
--
|
| |
August 15th, 2006, 09:24 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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 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.
|
| |
August 15th, 2006, 04:32 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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
Last edited by Chuck S; August 15th, 2006 at 04:44 PM.
|
| |
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.
|
| |
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...
|
| |
August 16th, 2006, 07:39 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
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
Last edited by Chuck S; August 16th, 2006 at 07:48 AM.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:02 AM. | |