Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter polkade

    (@polkade)

    Sorry, I’ve forgotten. The plugin says I have this version : Independent JPEG Group’s JPEGTRAN, version 8b 16-May-2010

    Plugin Author nosilver4u

    (@nosilver4u)

    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).

    Thread Starter polkade

    (@polkade)

    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
    Debug Info

    jpegtran path: jpegtran
    optipng path: /homepages/35/d279464009/htdocs/wp-content/ewww/optipng
    gifsicle path: /homepages/35/d279464009/htdocs/wp-content/ewww/gifsicle
    pngout path:
    disabled functions:
    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

    Plugin Author nosilver4u

    (@nosilver4u)

    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?

    Thread Starter polkade

    (@polkade)

    Thanks for your reply. My webhost is 1&1.

    Plugin Author nosilver4u

    (@nosilver4u)

    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.

    Plugin Author nosilver4u

    (@nosilver4u)

    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

    Thread Starter polkade

    (@polkade)

    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?

    Plugin Author nosilver4u

    (@nosilver4u)

    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');
    ?>
    Thread Starter polkade

    (@polkade)

    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…

    Plugin Author nosilver4u

    (@nosilver4u)

    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?

    Thread Starter polkade

    (@polkade)

    I have the message “-rw-r–r– 1 u52737577 ftpusers 433626 Feb 3 10:42 /homepages/35/d279464009/htdocs/wp-content/ewww/jpegtran”

    Plugin Author nosilver4u

    (@nosilver4u)

    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

    Thread Starter polkade

    (@polkade)

    it does not seem to work … typing this command in shell, nothing happens.

    Plugin Author nosilver4u

    (@nosilver4u)

    There is no output from that command if you typed it right. If it works, the results of the ls -l command should then contain something like ‘-rwxr-wr-x’ — note the three x’s, those mean executable.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘jpegtran : Update available’ is closed to new replies.