WordPress.org

Forums

EWWW Image Optimizer
[resolved] Missing optipng, gifsicle (9 posts)

  1. busimeprint
    Member
    Posted 1 year ago #

    Hi, I would really appreciate your assistance with this. My site is http://www.primapilates.co.uk and I have recently moved to a new host but I've never seen this message before. I have updated everything in WordPress, but have these few problems. I tried to download the EWWW Image Optimizer 1.4.4 and upload it, but that didn't fix anything. Then I tried to download the individual files 'optipng' and 'gifsicle' and following the instructions I managed to download the files off the website, but then got stuck because I couldn't open the 'configure' file as I am using a Mac. I tried it on a Windows 7 PC but on that I can't even extract the files. So, I'm stuck. Please help. Many thanks!

    Kind regards, Jonathan.

    p.s. I have included below the error messages, plugin status, and debug log for your attention.

    EWWW Image Optimizer requires jpegtran, optipng or pngout, and gifsicle. You are missing: optipng, gifsicle. Please install via the Settings Page. If the one-click install links don't work for you, try the Installation Instructions.

    Plugin Status

    If updated versions are available below, you may need to enable write permission on the wp-content/ewww folder to use the automatic installs.
    *Updates are optional, but may contain increased optimization or security patches
    jpegtran: OK version: Independent JPEG Group's JPEGTRAN, version 8d 15-Jan-2012
    optipng: MISSING Copy binary from /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/plugins/ewww-image-optimizer/optipng-linux to /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/optipng or to a system path (like /usr/local/bin), OR Download optipng source
    gifsicle: MISSING Copy binary from /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/plugins/ewww-image-optimizer/gifsicle-linux to /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/gifsicle or to a system path (like /usr/local/bin), OR Download gifsicle source
    Graphics libraries - only need one, used for conversion, not optimization: GD: OK   Imagemagick 'convert': OK
    safe mode: Off  exec(): OK  
    Only need one of these: finfo: OK  getimagesize(): OK  mime_content_type(): OK

    Debug Log
    hosting-user
    ewww_image_optimizer_notice_utils()
    ewww_image_optimizer_install_tools()
    Checking/Installing tools in /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/
    wp-content/ewww permissions: 0755
    ewww_image_optimizer_install_paths()
    generated paths:
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/optipng
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/gifsicle
    64-bit linux detected while installing tools
    ewww_image_optimizer_md5check()
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran-custom: 2dab67e5f223b70c43b2fef355b39d3f
    Linux/UNIX style OS, checking permissions
    jpegtran permissions: 0755
    gifislce permissions: 0755
    optipng permissions: 0755
    ewww_image_optimizer_path_check()
    found /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran, testing...
    ewww_image_optimizer_md5check()
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran: 4da4092708650ceb79df19d528e7956b
    ewww_image_optimizer_mimetype()
    testing mimetype: /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran: sh: 1: /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran: Permission denied
    found /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran-custom, testing...
    ewww_image_optimizer_mimetype()
    testing mimetype: /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran-custom
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran-custom: sh: 1: /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran-custom: Permission denied
    ewww_image_optimizer_tool_found()
    jpegtran: Independent JPEG Group's JPEGTRAN, version 8d 15-Jan-2012
    found /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/optipng, testing...
    ewww_image_optimizer_md5check()
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/optipng: 4eb91937291ce5038d0c68f5f2edbcfd
    ewww_image_optimizer_mimetype()
    testing mimetype: /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/optipng
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_tool_found()
    found /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/gifsicle, testing...
    ewww_image_optimizer_md5check()
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/gifsicle: 44273fad7b3fd1145bfcf35189648f66
    ewww_image_optimizer_mimetype()
    testing mimetype: /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/gifsicle
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_tool_found()
    pngout-static: sh: 1: pngout-static: not found
    ewww_image_optimizer_tool_found()
    pngout: sh: 1: pngout: not found
    ewww_image_optimizer_tool_found()
    /usr/bin/pngout-static: sh: 1: /usr/bin/pngout-static: not found
    ewww_image_optimizer_tool_found()
    /usr/bin/pngout: sh: 1: /usr/bin/pngout: not found
    ewww_image_optimizer_tool_found()
    /usr/local/bin/pngout-static: sh: 1: /usr/local/bin/pngout-static: not found
    ewww_image_optimizer_tool_found()
    /usr/local/bin/pngout: sh: 1: /usr/local/bin/pngout: not found
    using: jpegtran
    ewww_image_optimizer_options()
    ewww_image_optimizer_install_paths()
    generated paths:
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/jpegtran
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/optipng
    /srv/data/web/vhosts/www.primapilates.co.uk/htdocs/wp-content/ewww/gifsicle
    ewww_image_optimizer_tool_found()
    jpegtran: Independent JPEG Group's JPEGTRAN, version 8d 15-Jan-2012
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_tool_found()
    ewww_image_optimizer_gd_support()
    GD found, supports:
    GD Version: 2.0
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support:
    XBM Support:
    JIS-mapped Japanese Font Support:
    ewww_image_optimizer_tool_found()
    convert: Version: ImageMagick 6.7.7-10 2012-11-06 Q16 http://www.imagemagick.org
    disabled functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
    ewww_image_optimizer_tool_found()
    /usr/bin/file: magic file from /etc/magic:/usr/share/misc/magic
    ewww_image_optimizer_tool_found()
    /usr/bin/nice: 0
    ewww_image_optimizer_tool_found()
    tar: tar (GNU tar) 1.26
    ewww_image_optimizer_jpeg_background()
    ewww_image_optimizer_jpeg_background()
    ewww_image_optimizer_jpg_quality()

    http://wordpress.org/plugins/ewww-image-optimizer/

  2. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    Who is your new webhost? It appears that optipng and gifsicle are verified, but that your server can't run them for some reason.

    The best way to install the plugin, is always to use the built-in wordpress plugin installer. Manually uploading or copying the files can often corrupt the binaries, so I would start with deleting and reinstalling the plugin using the built-in installer within wordpress.

    If that doesn't fix anything, contact your webhost to see if they can run the files, or if they have some sort of restriction in place that is preventing those from working.

  3. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    You're not using godaddy by any chance, are you?

  4. busimeprint
    Member
    Posted 1 year ago #

    Apologies I didn't see you replied there. No, I use GANDI for my webhost. And how do I install the plugin or delete and reinstall? Many thanks.

  5. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    From the dashboard, on the Plugins page, there is a deactivate link below the plugin. After you have deactivated, you will have a link that allows you to delete it. Then you click Add New (near the top or on the menu), search for 'ewww' and click the Install link next to the plugin.

  6. busimeprint
    Member
    Posted 1 year ago #

    Hi,

    I did what you said, but I am still getting the same message as before. Do you have any other advice for me? Thanks.

  7. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    It looks like your webhost has some restrictions in place that prevent the binaries from working. It looks like all the other checks are passing, until it comes to actually outputting the version strings, and then it fails. So, one of two things:
    1. Your webhost is blocking the execution of tools in the web folder.
    2. The binaries are incompatible with your new server.

    If you have ssh access to your server, you could try running the binaries manually to test them, or ask their tech support to test them out and see what happens.

  8. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    or you can use the 'cloud' functionality in the new version: 1.6.0

  9. wcimbrelo
    Member
    Posted 1 year ago #

    Perhaps this is old news, but I did the upgrade on the goDaddy server to PHP 5.3 and after deleting and reinstalling your plugin everything worked. Great plugin and it looks like you do a great job of supporting it. Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.