WordPress.org

Ready to get started?Download WordPress

Forums

EWWW Image Optimizer
[resolved] Hangs on bulk-optimize and individual I get blank screen (7 posts)

  1. marcosebastian
    Member
    Posted 1 year ago #

    Doesn't work. It hangs on bulk-optimize, flashes red alert "Operation Interrupted" then it hangs forever. I try single image optimize, when I click to optimize it takes me to a blank page, nothing happens.

    Debug Log
    thisismydomain
    ewww_image_optimizer_notice_utils()
    ewww_image_optimizer_install_tools()
    Checking/Installing tools in /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/
    wp-content/ewww permissions: 0755
    ewww_image_optimizer_install_paths()
    generated paths:
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/plugins/ewww-image-optimizer/jpegtran-linux64
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/plugins/ewww-image-optimizer/optipng-linux
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/plugins/ewww-image-optimizer/gifsicle-linux
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/jpegtran
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/optipng
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/gifsicle
    64-bit linux detected while installing tools
    ewww_image_optimizer_md5check()
    /var/www/vhosts/thisismydomain.com/httpdocs/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 /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/jpegtran, testing...
    ewww_image_optimizer_md5check()
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/jpegtran: 4da4092708650ceb79df19d528e7956b
    ewww_image_optimizer_mimetype()
    testing mimetype: /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/jpegtran
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/jpegtran: Independent JPEG Group's JPEGTRAN, version 9 13-Jan-2013
    found /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/optipng, testing...
    ewww_image_optimizer_md5check()
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/optipng: 4eb91937291ce5038d0c68f5f2edbcfd
    ewww_image_optimizer_mimetype()
    testing mimetype: /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/optipng
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/optipng: OptiPNG version 0.7.4
    found /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/gifsicle, testing...
    ewww_image_optimizer_md5check()
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/gifsicle: 44273fad7b3fd1145bfcf35189648f66
    ewww_image_optimizer_mimetype()
    testing mimetype: /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/gifsicle
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/gifsicle: LCDF Gifsicle 1.70
    found /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/pngout-static, testing...
    ewww_image_optimizer_md5check()
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/pngout-static: 670a0924e9d042be2c60cd4f3ce1d975
    ewww_image_optimizer_mimetype()
    testing mimetype: /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/pngout-static
    finfo_file: application/x-executable
    ewww_image_optimizer_tool_found()
    /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/pngout-static: PNGOUT [In:{PNG,JPG,GIF,TGA,PCX,BMP}] (Out:PNG) (options...) Feb 21 2013
    using: /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/jpegtran
    using: /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/optipng
    using: /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/gifsicle
    using: /var/www/vhosts/thisismydomain.com/httpdocs/wp-content/ewww/pngout-static

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

  2. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    That would seem to indicate a javascript issue. Usually, that error appears when the server kills the process in the background, or when you click a link to navigate away from the optimizer page.
    Can you check to see what scripts are being loaded in the <head> section of the page (you can omit any domain information, I'm mostly concerned with the path from the root of your wp install).

  3. marcosebastian
    Member
    Posted 1 year ago #

    I get this on the error console:

    Failed to load resource: /wp-admin/admin-ajax.php the server responded with a status of 500 (Internal Server Error)

    When I press to optimize an image this the result:

    The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
    a()load-s...r=3.5.1 (line 2)
    n =
    a()load-s...r=3.5.1 (line 2)
    e = mouseup clientX=1155, clientY=237

  4. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    curious. You don't have your admin pages protected with an .htaccess file, do you (see http://codex.wordpress.org/Hardening_WordPress#Securing_wp-admin)?

    Per the instructions at that link, using that security mechanism will break any ajax in the admin area, so check to see if that is an issue with your install.

  5. marcosebastian
    Member
    Posted 1 year ago #

    No, I don't have it protected. I actually installed your plugin in a different site, I'm having the same issue. Same server.

    I turned on wp_debug, this is the error I get:

    Fatal error: Call to undefined function posix_getpwuid() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/ewww-image-optimizer/ewww-image-optimizer.php on line 1104

  6. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    aha, so you are having the same issue as a few other folks. Good to know. I'm going to push out a fix tonight. Stay tuned!

  7. marcosebastian
    Member
    Posted 1 year ago #

    Thank you, that update fixed it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.