missing jpeg tran
-
messages on all of my media files — missing jpegtran — I reinstalled the plugin and still have same messages
idea?
-
Was it working previously?
Yes, it was working. We moved the site to a new domain and since we moved the images have this new message.
All of the old images have it and any new ones that have been added also have it.
We have taken the plugin out and re-installed — same issue.
Any errors on the plugin status section?
no errors that I can see — only the comment that jpegtran is missing
where do I look for status section
It’s at the top of the EWWW IO settings page.
Please also turn on the debugging option for EWWW IO, and paste the yellow debugging section from the bottom of the settings page.
Use pastebin.com for the latter information.
Are you still having this problem?
I have the same issue on new wp installation.
http://pastebin.com/F0byW53LBut it not work. I wrote to my server admin, he said that jpegtran is available, he can call it from php code.
flammer, ask your server admin where jpegtran is installed. They can run this:
which jpegtranLooking at your debugging info, it isn’t in any of the usual area, and obviously isn’t in the same place as optipng and gifsicle. The user ‘vana’ has what is called a ‘path’ which is a list of folders that tells the server where to look for binaries by default. Those folders apparently include optipng and gifsicle, but not jpegtran. They can adjust the path for the vana user, or if we know where jpegtran is located, I can add that to the path search that the plugin performs.
debug info: http://pastebin.com/DK3gNju2
What happens if you run this:
jpegtran -v
You’ll have to Ctrl-C to kill it, but it will print out the version string, and may give us a clue here.
jpegtran -v Independent JPEG Group's JPEGTRAN, version 8d 15-Jan-2012 Copyright (C) 2012, Thomas G. Lane, Guido VollbedingWell, that looks totally normal, but the test in the plugin is producing no output, not even a single line of output when it runs, which is not normal.
Try running this:jpegtran -v /EWWW_IMAGE_OPTIMIZER_PLUGIN_PATH/sample.jpg 2>&1And substitute the entire EWWW IO plugin path (there is a sample.jpg file in there that we use for testing). Alternatively, you can just browse to that folder on the command line, and do:
jpegtran -v sample.jpg 2>&1[vana@s18:: ~/domains/vana.pl/public_html/wp-content/plugins/ewww-image-optimizer ]:$ jpegtran -v sample.jpg 2>&1 Independent JPEG Group's JPEGTRAN, version 8d 15-Jan-2012 Copyright (C) 2012, Thomas G. Lane, Guido Vollbeding Start of Image JFIF APP0 marker: version 1.01, density 72x72 1 Define Quantization Table 0 precision 0 Define Quantization Table 1 precision 0 Start Of Frame 0xc0: width=5, height=5, components=3 Component 1: 2hx2v q=0 Component 2: 1hx1v q=1 Component 3: 1hx1v q=1 Define Huffman Table 0x00 Define Huffman Table 0x10 Define Huffman Table 0x01 Define Huffman Table 0x11 Start Of Scan: 3 components Component 1: dc=0 ac=0 Component 2: dc=1 ac=1 Component 3: dc=1 ac=1 Ss=0, Se=63, Ah=0, Al=0 End Of Image ????JFIFHH??C??C?"?? ???}!1AQa"q2??#B??R??$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????????????????????????????????????????????[v[va[va[[v[[[[v[vana@s18:: ~/domains/vana.pl/public_html/wp-content/plugins/ewww-image-optimizer ]:$Ok, so let’s do a simple test in php. Put this in a .php file in your wordpress root, and then browse to it and see if you get the same/similar output:
<?php exec('jpegtran -v wp-content/plugins/ewww-image-optimizer/sample.jpg 2>&1', $results); foreach ($results as $result) { echo "$result<br>\n"; if (preg_match('/End Of Image/', $result)) { exit; } } ?>There is no output :/
http://vana.pl/ewww.php
The topic ‘missing jpeg tran’ is closed to new replies.