• Resolved Marventus

    (@marventus)


    Hello, there. I’m a WP developer and I was looking into your plugin to bulk optimize images on a site I’m helping out with.
    However, I’m getting missing statuses on optipng, gifsicle and pngout. The strange part is that I can actually see the scripts installed inside wp-content/ewww and both wp-content and ewww have the right file permissions (755).
    We are running WP on a “WP Economy” GoDaddy hosting plan (Linux), with PHP version 5.2.17.
    If you have any ideas of what could be happening I would really appreciate it, since I would really hate to have to optimize all the images manually. Thanks!

    Debug log:

    thgeekinvasion
    WP version: 3.8.1
    EWWW IO version: 183
    ewww_image_optimizer_admin_init()
    ewww_image_optimizer_install_tools()
    Checking/Installing tools in /home/content/54/6772054/html/wp-content/ewww/
    wp-content/ewww permissions: 0755
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /home/content/54/6772054/html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /home/content/54/6772054/html/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /home/content/54/6772054/html/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /home/content/54/6772054/html/wp-content/plugins/ewww-image-optimizer/pngquant-linux
    /home/content/54/6772054/html/wp-content/ewww/jpegtran
    /home/content/54/6772054/html/wp-content/ewww/optipng
    /home/content/54/6772054/html/wp-content/ewww/gifsicle
    /home/content/54/6772054/html/wp-content/ewww/pngquant
    64-bit linux detected while installing tools
    ewww_image_optimizer_md5check()
    /home/content/54/6772054/html/wp-content/ewww/jpegtran-custom: 2dab67e5f223b70c43b2fef355b39d3f
    Linux/UNIX style OS, checking permissions
    jpegtran permissions: 0755
    gifsicle permissions: 0755
    optipng permissions: 0755
    pngquant permissions: 0755
    ewww_image_optimizer_init()
    ewww_image_optimizer_cloud_verify()
    ewww_image_optimizer_notice_utils()
    ewww_image_optimizer_exec_check()
    disable_functions =
    suhosin_blacklist =
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_path_check()
    found /home/content/54/6772054/html/wp-content/ewww/jpegtran, testing…
    ewww_image_optimizer_md5check()
    /home/content/54/6772054/html/wp-content/ewww/jpegtran: 4da4092708650ceb79df19d528e7956b
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/content/54/6772054/html/wp-content/ewww/jpegtran
    ewww_image_optimizer_tool_found()
    testing case: f at file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/local/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/gnu/bin/file
    found /home/content/54/6772054/html/wp-content/ewww/jpegtran-custom, testing…
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/content/54/6772054/html/wp-content/ewww/jpegtran-custom
    ewww_image_optimizer_tool_found()
    testing case: f at file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/local/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/gnu/bin/file
    ewww_image_optimizer_tool_found()
    testing case: j at jpegtran
    jpegtran: libjpeg-turbo version 1.2.1 (build 20130221)
    found /home/content/54/6772054/html/wp-content/ewww/optipng, testing…
    ewww_image_optimizer_md5check()
    /home/content/54/6772054/html/wp-content/ewww/optipng: 4eb91937291ce5038d0c68f5f2edbcfd
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/content/54/6772054/html/wp-content/ewww/optipng
    ewww_image_optimizer_tool_found()
    testing case: f at file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/local/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/gnu/bin/file
    ewww_image_optimizer_tool_found()
    testing case: o at optipng
    ewww_image_optimizer_tool_found()
    testing case: o at /usr/bin/optipng
    ewww_image_optimizer_tool_found()
    testing case: o at /usr/local/bin/optipng
    ewww_image_optimizer_tool_found()
    testing case: o at /usr/gnu/bin/optipng
    found /home/content/54/6772054/html/wp-content/ewww/gifsicle, testing…
    ewww_image_optimizer_md5check()
    /home/content/54/6772054/html/wp-content/ewww/gifsicle: 151e395e2efa0e7845b18984d0f092af
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/content/54/6772054/html/wp-content/ewww/gifsicle
    ewww_image_optimizer_tool_found()
    testing case: f at file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/local/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/gnu/bin/file
    ewww_image_optimizer_tool_found()
    testing case: g at gifsicle
    ewww_image_optimizer_tool_found()
    testing case: g at /usr/bin/gifsicle
    ewww_image_optimizer_tool_found()
    testing case: g at /usr/local/bin/gifsicle
    ewww_image_optimizer_tool_found()
    testing case: g at /usr/gnu/bin/gifsicle
    found /home/content/54/6772054/html/wp-content/ewww/pngout-static, testing…
    ewww_image_optimizer_md5check()
    /home/content/54/6772054/html/wp-content/ewww/pngout-static: 670a0924e9d042be2c60cd4f3ce1d975
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/content/54/6772054/html/wp-content/ewww/pngout-static
    ewww_image_optimizer_tool_found()
    testing case: f at file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/local/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/gnu/bin/file
    ewww_image_optimizer_tool_found()
    testing case: p at pngout
    pngout: sh: pngout: command not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/bin/pngout
    /usr/bin/pngout: sh: /usr/bin/pngout: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/local/bin/pngout
    /usr/local/bin/pngout: sh: /usr/local/bin/pngout: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/gnu/bin/pngout
    /usr/gnu/bin/pngout: sh: /usr/gnu/bin/pngout: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at pngout-static
    pngout-static: sh: pngout-static: command not found
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/bin/pngout-static
    /usr/bin/pngout-static: sh: /usr/bin/pngout-static: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/local/bin/pngout-static
    /usr/local/bin/pngout-static: sh: /usr/local/bin/pngout-static: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: p at /usr/gnu/bin/pngout-static
    /usr/gnu/bin/pngout-static: sh: /usr/gnu/bin/pngout-static: No such file or directory
    found /home/content/54/6772054/html/wp-content/ewww/pngquant, testing…
    ewww_image_optimizer_md5check()
    /home/content/54/6772054/html/wp-content/ewww/pngquant: 90ea1271c54ce010afba478c5830a75f
    ewww_image_optimizer_mimetype()
    testing mimetype: /home/content/54/6772054/html/wp-content/ewww/pngquant
    ewww_image_optimizer_tool_found()
    testing case: f at file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/local/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/gnu/bin/file
    ewww_image_optimizer_tool_found()
    testing case: q at pngquant
    ewww_image_optimizer_tool_found()
    testing case: q at /usr/bin/pngquant
    ewww_image_optimizer_tool_found()
    testing case: q at /usr/local/bin/pngquant
    ewww_image_optimizer_tool_found()
    testing case: q at /usr/gnu/bin/pngquant
    using: jpegtran
    ewww_image_optimizer_options()
    ewww_image_optimizer_install_paths()
    CPU architecture: x86_64
    generated paths:
    /home/content/54/6772054/html/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /home/content/54/6772054/html/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /home/content/54/6772054/html/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /home/content/54/6772054/html/wp-content/plugins/ewww-image-optimizer/pngquant-linux
    /home/content/54/6772054/html/wp-content/ewww/jpegtran
    /home/content/54/6772054/html/wp-content/ewww/optipng
    /home/content/54/6772054/html/wp-content/ewww/gifsicle
    /home/content/54/6772054/html/wp-content/ewww/pngquant
    ewww_image_optimizer_tool_found()
    testing case: j at jpegtran
    jpegtran: libjpeg-turbo version 1.2.1 (build 20130221)
    ewww_image_optimizer_tool_found()
    testing case: o at
    ewww_image_optimizer_tool_found()
    testing case: g at
    ewww_image_optimizer_tool_found()
    testing case: p at
    ewww_image_optimizer_gd_support()
    GD found, supports:
    GD Version: bundled (2.0.34 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support:
    XBM Support: 1
    JIS-mapped Japanese Font Support:
    ewww_image_optimizer_tool_found()
    testing case: i at convert
    convert: Version: ImageMagick 6.5.4-7 2012-05-07 Q16 OpenMP https://www.imagemagick.org
    ewww_image_optimizer_safemode_check()
    safe_mode =
    ewww_image_optimizer_exec_check()
    disable_functions =
    suhosin_blacklist =
    ewww_image_optimizer_tool_found()
    testing case: f at file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/local/bin/file
    ewww_image_optimizer_tool_found()
    testing case: f at /usr/gnu/bin/file
    ewww_image_optimizer_tool_found()
    testing case: n at nice
    nice: sh: nice: command not found
    ewww_image_optimizer_tool_found()
    testing case: n at /usr/bin/nice
    /usr/bin/nice: sh: /usr/bin/nice: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: n at /usr/local/bin/nice
    /usr/local/bin/nice: sh: /usr/local/bin/nice: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: n at /usr/gnu/bin/nice
    /usr/gnu/bin/nice: sh: /usr/gnu/bin/nice: No such file or directory
    ewww_image_optimizer_tool_found()
    testing case: t at tar
    tar: tar (GNU tar) 1.23
    ewww_image_optimizer_jpeg_background()
    ewww_image_optimizer_jpeg_background()
    ewww_image_optimizer_jpg_quality()

    https://www.ads-software.com/plugins/ewww-image-optimizer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    You have to use PHP 5.3 on Godaddy, their PHP 5.2 installs are missing the necessary functions for mimetype detection of binaries.

    Thread Starter Marventus

    (@marventus)

    Hi, nosilver4u. I had a hunch it was PHP-related, but I wanted to make sure.
    Thanks a lot for the very prompt response.

    P.S.: Should I call you the “silver nazi”? ??

    Plugin Author nosilver4u

    (@nosilver4u)

    Haha, yes it is a bit of a spin off that Seinfeld clip.

    Thread Starter Marventus

    (@marventus)

    Amazing show! They Don’t make them like that no more, ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing optipng, gifsicle, pngout’ is closed to new replies.