WordPress.org

Ready to get started?Download WordPress

Forums

EWWW Image Optimizer
[resolved] [closed] Database error (7 posts)

  1. Click-Factor
    Member
    Posted 8 months ago #

    Hello I'm getting this type of error message.

    WordPress database error Unknown column 'image_size' in 'field list' for query UPDATE igm_MeEgZ3cJfH_ewwwio_images SET image_size = '2253', results = 'Reduced by 14.9% (394.0 B)' WHERE id = '1' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/IGMstyle/single.php'), get_footer, locate_template, load_template, require_once('/themes/IGMstyle/footer.php'), dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, AboutMeWidget->widget, et_new_thumb_resize, et_resize_image, WP_Image_Editor_GD->save, EWWWIO_GD_Editor->_save, ewww_image_optimizer_aux_images_loop

    Any idea why does this happen?

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

  2. nosilver4u
    Member
    Plugin Author

    Posted 8 months ago #

    Deactivate, and reactivate the plugin. The table schema didn't get updated on your site when you upgraded.

  3. nosilver4u
    Member
    Plugin Author

    Posted 8 months ago #

    I've just realized that the activation hooks don't always fire on upgrade, so the next version (already in dev) will do the table modifications a little differently.

  4. Click-Factor
    Member
    Posted 8 months ago #

    Fine thank you for the advice.
    I will do what you suggest and come back if I don't see any change.

  5. Click-Factor
    Member
    Posted 8 months ago #

    Hello I'm back again
    It seems that the database issue is now resolved
    But I'm still getting the following errors

    Nov 16, 01:21:55 PHP Warning: unlink(/home/infograp/public_html//wp-content/uploads/igm-Avatar-75-60161_74x74.jpg.prog) [function.unlink]: No such file or directory in /home/infograp/public_html/wp-content/plugins/ewww-image-optimizer/ewww-image-optimizer.php on line 1877
    Nov 16, 01:21:55 PHP Warning: rename(/home/infograp/public_html//wp-content/uploads/igm-Avatar-75-60161_74x74.jpg.tmp,/home/infograp/public_html//wp-content/uploads/igm-Avatar-75-60161_74x74.jpg) [function.rename]: No such file or directory in /home/infograp/public_html/wp-content/plugins/ewww-image-optimizer/ewww-image-optimizer.php on line 1891

    How could I stop this?

  6. nosilver4u
    Member
    Plugin Author

    Posted 7 months ago #

    seems to indicate that either jpegtran isn't working normally, or permissions are not set correctly on the uploads/ folder. Those 2 files should be temporarily created for every jpg that gets optimized, and then renamed or removed.

    Do you get those errors on every jpg, or just a few?

  7. Click-Factor
    Member
    Posted 7 months ago #

    Hello.

    Ok.But nothing has changed from the server side - this is the first time a get this type of error and permissions are set to 755 for the uploads folder.
    I get this error for one specific file that I have uploaded to the uploads folder directly via ftp.
    Now I have moved this file to a subfolder and changed the source path of the image source and wait to see.

    I'll come back as soon as I see any change.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.