View Full Version : (Error Code: 1) Editing a review and adding more images
October 1st, 2007, 10:48 PM
Never had this problem before, but when I tried to edit a review and add more images, the below screen shows:
Problem running command: "/usr/bin/jpegtran" -copy none /home/anime10/public_html/reviews/data/2/darker-than-black.JPG
Error Code: 1
October 2nd, 2007, 12:01 AM
Seemed to have been a problem with just this one image I was trying to upload. It was the .png image found at http://en.wikipedia.org/wiki/Image:Dblack.png.
I do allow .png file extensions, so am curious as to why this one image couldn't be done. Appreciate if someone else can try it on their ReviewPost to see if the same problem occurs.
October 2nd, 2007, 10:04 AM
well I would be curious to know why jpegtran was called. jpegtran is only used on jpg images not png. So there is your issue. Maybe it was a jpg image renamed as a png.
if ( $Globals['jpegtran'] != "" )
// Only do this on JPGs
if ( strstr(strtolower($filepath),".jpg") && file_exists($Globals['jpegtran']) )
October 2nd, 2007, 10:11 AM
Thanks Chuck. ;)
October 2nd, 2007, 05:50 PM
Yeah I would suspect that since when uploading the image and we read what the image says the extention it is it is saying its a jpg and we try running jpegtran and its a png.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.