WordPress.org

Ready to get started?Download WordPress

Forums

EWWW Image Optimizer
[resolved] Getting Error Codes When Using Draft Scheduler (9 posts)

  1. kjross13
    Member
    Posted 10 months ago #

    I use the Draft Scheduler plugin to post hundreds of recipes to my recipe blog. Now that I am using your plugin on my multi site install, I am getting hundreds, if not thousands of these error when I schedule posts:

    Warning: fileperms(): stat failed for /wpid-13353251-150x150.jpeg in /home/kravers/public_html/wp-content/plugins/ewww-image-optimizer/ewww-image-optimizer.php on line 1516

    Warning: fileowner(): stat failed for /wpid-13353251-150x150.jpeg in /home/kravers/public_html/wp-content/plugins/ewww-image-optimizer/ewww-image-optimizer.php on line 1520

    Warning: filegroup(): stat failed for /wpid-13353251-150x150.jpeg in /home/kravers/public_html/wp-content/plugins/ewww-image-optimizer/ewww-image-optimizer.php on line 1524

    I seem to get one of each of these for every post that is scheduled.

    Please help

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

  2. nosilver4u
    Member
    Plugin Author

    Posted 10 months ago #

    Generally that means the file doesn't yet exist. I might do a look at that particular plugin to see what exactly is happening there. At any rate, the next version is going to be doing some preventative checks to be sure that file operations aren't attempted unless the file exists. I'm planning to release it shortly after WordPress 3.7 (which was due out this week, but they just did RC2, so hard to say).

  3. nosilver4u
    Member
    Plugin Author

    Posted 10 months ago #

    From what I can tell, it doesn't seem like Draft Scheduler is the problem. How are those images being uploaded? It seems like they are missing a full path, as it is highly unlikely that "/wpid-13353251-150x150.jpeg" is the full path.

  4. kjross13
    Member
    Posted 10 months ago #

    I have a custom application that uploads the images, and even though I get that huge number of errors, once the posts are scheduled/published, they do work and the images do load...which is what I thought was so weird about the whole situation.

  5. nosilver4u
    Member
    Plugin Author

    Posted 10 months ago #

    Those 'errors' are technically only 'warnings' so they aren't fatal, which allows wordpress to keep processing things. So, while it is a bit obnoxious, it won't cause any harm. I'd like to try and make the 'file-finding' algorithm a little more robust for 1.7.0, so one way or another we'll take care of those errors.

    Would you mind sharing what application you are using, so I can attempt to see where and how it is storing file paths and such?

    If not, are the files stored in wp-content/uploads, or someplace else?

  6. nosilver4u
    Member
    Plugin Author

    Posted 10 months ago #

    If you want, you could try the development release at http://downloads.wordpress.org/plugin/ewww-image-optimizer.zip

    I've enhanced the file-finding algorithm to see if it works for some plugins that don't do things quite the way WP expects them to. Plus it also has the code to not attempt any operations on files that don't exist yet.

  7. nosilver4u
    Member
    Plugin Author

    Posted 9 months ago #

    see if the issue is fixed with 1.7.0

  8. kjross13
    Member
    Posted 9 months ago #

    ok, I will test it and let you know within a few hours.

  9. nosilver4u
    Member
    Plugin Author

    Posted 9 months ago #

    any news?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.