WordPress.org

Ready to get started?Download WordPress

Forums

EWWW Image Optimizer
[resolved] Image Optimizer Unsupported File Type / Metadata is missing file path (6 posts)

  1. larsenja
    Member
    Posted 1 year ago #

    Hi - FANTASTIC plugin. Awesome tool.

    We are having an issue. When one is looking at the Media Library, under the Image Optimizer column, we are seeing the following: "Unsupported File Type" and/or "Metadata is missing file path".

    From what I can tell, the plugin is working in spite of these messages.

    For you to know to help us diagnose the issue:

    * We haven't upgraded to wordpress 3.5.x on this particular server as we are trying to deal with some issues before we do that.

    * We are running a site network.

    Here's the plugin DEBUG info...

    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 9 13-Jan-2013
    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: OK  getimagesize(): OK  mime_content_type(): OK
    Debug Info

    jpegtran path: /home/servername/public_html/wp-content/ewww/jpegtran
    optipng path: /home/servername/public_html/wp-content/ewww/optipng
    gifsicle path: /home/servername/public_html/wp-content/ewww/gifsicle
    pngout path:
    disabled functions:
    gifsicle permissions: 0755
    optipng permissions: 0755
    wp-content/ewww permissions: 0755
    user: apache
    Operating environment: Linux 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686

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

  2. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    What version of the plugin are you using? There were some issues previously with the finfo plugins on PHP pre-5.3, but they should be resolved now (should, but perhaps we're missing something).
    Your PHP version might also be useful.

  3. larsenja
    Member
    Posted 1 year ago #

    Great question. Looks like we are running PHP 5.2.17.

    PHP Version: 5.2.17
    PHP max_execution_time: 60 (seconds)
    WordPress Version: 3.5.1
    MySQL Version: 5.5.30
    Zip Methods: exec, ziparchive, pclzip
    PHP Register Globals disabled
    PHP Magic Quotes GPC disabled
    PHP Magic Quotes Runtime disabled
    PHP Safe Mode disabled
    Operating System: Linux

  4. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    sorry for the slow reply, what version of the plugin are you using?

  5. newburns
    Member
    Posted 1 year ago #

    WordPress Version 3.5.1

    EWWW Image Optimizer
    Network Deactivate | Edit
    Reduce file sizes for images within WordPress including NextGEN Gallery and GRAND FlAGallery. Uses jpegtran, optipng/pngout, and gifsicle.

    Version 1.4.1 | By Shane Bishop | Visit plugin site

    Same issue.
    Displays HTTP error upon image upload, but when I go to the media library the image is present.
    Image Optimizer: Metadata missing file path.
    Server Log shows:

    httpd: PHP Fatal error:  Call to undefined function posix_getpwuid() in /home/e-smith/files/ibays/mtrosemedia/html/wp-content/plugins/ewww-image-optimizer/ewww-image-optimizer.php on line 1104

    Let me know if you need to see any other logs or information.
    I have deactivated this plugin as I have many, many sites running from this WordPress install. Maybe that's it. Multisite compatibility

  6. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    This doesn't actually sound like the same issue. You should ALWAYS start a new thread, and especially avoid posting in one that is marked RESOLVED.

    This does sound like another issue in the forums, where images are not getting their metadata saved to the database, because the optimization times out. If these are PNG images, lower the optimization level and see if that helps. Also, if you have BOTH pngout & optipng enabled, disable pngout, and see if that helps also.

    There are no known issues with multisite (the only difference is the existence of a network-wide options table, which we don't use). Lots of people on multisite are using the plugin without issues.

    If these suggestions do not resolve the issue, and you would like further help, please start a new forum thread.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic