I have the message “jpegtran : Update available” even if I manually put the file in the folder. Where can I find the last version of jpegtran ? The link “manually” seems not deliver the right version…
Sorry, I’ve forgotten. The plugin says I have this version : Independent JPEG Group’s JPEGTRAN, version 8b 16-May-2010
Do you have optipng and gifsicle enabled and installed? Can you post the entire plugin status, and the debug info (Use the Debug link near the top of the settings page).
yes absolutely. This is the Plugin Status :
jpegtran: UPDATE AVAILABLE* Install automatically | manually version: Independent JPEG Group’s JPEGTRAN, version 8b 16-May-2010
optipng: OK version: OptiPNG version 0.7.4
gifsicle: OK version: LCDF Gifsicle 1.68
Graphics libraries (only used for conversion, not optimization): GD: OK Imagemagick ‘convert’: OK
safe mode: Off exec(): OK shell_exec(): OK
Only need one of these: finfo: MISSING getimagesize(): OK mime_content_type(): MISSING
jpegtran path: jpegtran
optipng path: /homepages/35/d279464009/htdocs/wp-content/ewww/optipng
gifsicle path: /homepages/35/d279464009/htdocs/wp-content/ewww/gifsicle
gifsicle permissions: 0755
optipng permissions: 0755
wp-content/ewww permissions: 0755
Operating environment: Linux infong 2.4 #1 SMP Fri May 18 17:32:59 UTC 2012 i686 GNU/Linux Linux infong 2.4 #1 SMP Fri May 18 17:32:59 UTC 2012 i686 GNU/Linux Linux infong 2.4 #1 SMP Fri May 18 17:32:59 UTC 2012 i686 GNU/Linux Linux infong 2.4 #1 SMP Fri May 18 17:32:59 UTC 2012 i686 GNU/Linux
I would suspect that the jpegtran binary is compiled on a system that is too new for your server to run. I’ll look into bundling that with the plugin in the future to see if I can compile one that is better supported than the one from jpegclub.org. I’m honestly a little surprised that gifsicle and optipng even run on that kernel. I haven’t seen a 2.4 kernel in almost 10 years. Do you mind sharing who your webhost is?
Try using this one: http://www.shanebishop.net/uploads/jpegtran
While the one from ijg.org was compiled for an older kernel, it was also dynamically linked, whereas I use static linking on all the tools I bundle with the plugin, so hopefully that does the trick.
ah, forgot to mention also, you’ll need to rename it as ‘jpegtran-custom’ when you upload it, or will still fail the validation routines
sorry, but it still does not work. I downloaded jpegtran by renaming jpegtran-custom then put on my server. I also tried to rename jpegtran but nothing works. I always version 8b 16 may 2010. Is that I missed a step?
Do you have shell access on your server?
If so, try these commands via shell/ssh:
/homepages/35/d279464009/htdocs/wp-content/ewww/jpegtran-custom -v /homepages/35/d279464009/htdocs/wp-content/ewww/jpegtran -v
It will stall out there waiting for an image, but you can press Ctrl+C to kill the process after it outputs version information, although likely it will spit out some error message and then die.
If not, you can create a php file with this code, and paste the output here:
<?php echo shell_exec('/homepages/35/d279464009/htdocs/wp-content/ewww/jpegtran-custom -v 2>&1'); echo shell_exec('/homepages/35/d279464009/htdocs/wp-content/ewww/jpegtran -v 2>&1'); ?>
I have shell access on my server but when I entered your orders, the access is denied. I think I get the same thing with a php file because it is the access to the directory that is denied…
Aha, that is a different issue then. You probably need to make it ‘executable’. If you do this from the shell:
ls -l /homepages/35/d279464009/htdocs/wp-content/ewww/jpegtran
what do you get?
I have the message “-rw-r–r– 1 u52737577 ftpusers 433626 Feb 3 10:42 /homepages/35/d279464009/htdocs/wp-content/ewww/jpegtran”
ok, that’s what I thought you might see. There will be a fix in the next version to check for missing permissions on jpegtran, so thank you for reporting this bug.
That said, here’s how you can fix it right now:
chmod a+x /homepages/35/d279464009/htdocs/wp-content/ewww/jpegtran
it does not seem to work … typing this command in shell, nothing happens.
- The topic ‘jpegtran : Update available’ is closed to new replies.