Viewing 15 replies - 1 through 15 (of 31 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Go to Bulk Optimize, and it will tell you the last time the scheduled optimization ran, and you can click Show Images to see what has been optimized by the plugin (scheduled and otherwise).

    Thread Starter jshare

    (@jshare)

    Now I see that. Very cool.

    But for some reason it only optimized one of the two paths that I listed in ‘Folders to optimize’.

    I even tried Empty Table and redoing it, but it still didn’t recognize the other path, which is within the path mentioned after ‘One path per line, must be within…’.

    When I try Optimize Again, it says ‘There are no images to optimize.’

    What do you think?

    Plugin Author nosilver4u

    (@nosilver4u)

    Hmm, that’s a bit strange. If a path fails validation, it will be removed from the settings page though, so if both paths are saving, they should be working. I’ll test it out on my local system and see what happens. I generally only test with one path, so it is entirely possible that there is a bug with multiple paths.

    Plugin Author nosilver4u

    (@nosilver4u)

    Tested with 2 paths, and worked fine. It’s possible that the scheduled optimization might have processed the images before you check on the Bulk Optimize page. If you click Show Optimized Images, it will show you everything it has processed.

    Thread Starter jshare

    (@jshare)

    About to get stranger-

    I tried to do the simplest test I could- a one-path run.

    The plugin settings page says that the Folders to Optimize must be within /var/www/mydomain.net/html/, which is my site root.

    So that’s the exact path that I pasted into that text field, saved the settings changes and verified that path had been saved. It had been, so it passed validation.

    Then, in Bulk Optimize, I emptied the table and reran the optimization.

    Regardless of the fact that the plugin was supposed to scan everything under the site root, it only found & optimized the active theme’s images:

    /var/www/mydomain.net/html/wp-content/themes/mytheme/images/

    In other words, it didn’t optimize images in any other installed themes (which was unexpected but I don’t need them optimized at this point) and most importantly, it didn’t catch my images directory at:

    /var/www/mydomain.net/html/images

    I enabled debugging but I don’t see anything unusual that might be related. Everything checks out except for the pngout-related stuff, but I have that checked off to be disabled anyway.

    Any ideas?

    Thread Starter jshare

    (@jshare)

    I tried this with a different site- used the root path as a Folder to Optimize. The only images that were then optimized were the ones in the active theme and anything that was in the Media Library.

    Plugin Author nosilver4u

    (@nosilver4u)

    Wow, that did get ‘stranger’. Just want to confirm that you are using the Scan and Optimize button underneath the Optimize Everything Else heading?

    Also want to confirm that the ../html/images/ folder you mentioned is NOT the same as your Media Library uploads folder. Is that correct?

    Now for some troubleshooting, look in your plugin folder to see if there is a debug.log file. If there is, delete it. Then (with debugging turned on of course), re-run the Scan & Optimize, and send the new debug.log (you’ll have to zip it) to me via my contact form here: http://www.shanebishop.net/contact-me/

    Thread Starter jshare

    (@jshare)

    Yes, I’m using the button under ‘Optimize Everything Else’. Since I don’t usually use the Media Library, it’s empty for the first site above and only has a handful of images in the second.

    Right- …/html/images is not my Media Library. My WordPress 3.8.1 installs are configured for Multisite, so the Media Library folders are in /html/wp-content/blogs.dir/…

    Deleted debug.log, re-enabled Debugging and reran Scan & Optimize. Debug.log didn’t appear right away, so I ‘Empty Table’d and then reran the S & O. Now there’s a debug.log. I’ll zip it before I send it but it’s not very big…

    Plugin Author nosilver4u

    (@nosilver4u)

    Bummer, I had thought the scan & optimize would generate some logging as well, but I think most of that ends up on-screen now that I think about it.
    Are both sites setup as multisite?

    Thread Starter jshare

    (@jshare)

    Yes, both multisite. One is the dev environment and one is the live site.

    Just redid the whole process and will send you all logs, on-screen and off.

    Plugin Author nosilver4u

    (@nosilver4u)

    Oh, and if both sites are multisite, do you have EWWW IO network activated, or activated on individual sites?

    Thread Starter jshare

    (@jshare)

    Activated on individual sites.

    Plugin Author nosilver4u

    (@nosilver4u)

    Pretty sure I found the bug. Try the ‘dev’ version from here, this should fix it: http://downloads.wordpress.org/plugin/ewww-image-optimizer.zip

    Thread Starter jshare

    (@jshare)

    Seems to be working in my dev environment, found over 5K images and is plowing through them.

    Once that’s done, I’ll give it a go with my live site.

    Plugin Author nosilver4u

    (@nosilver4u)

    That’s good news!

    The problem was that I was using get_site_option() which only works for single-site installs and network installs when it is activated network-wide.

    I should have been using my custom function that checks how the plugin is activated and retrieves the appropriate option. Let me know how it goes on the live site, and then I’ll mark this as resolved.

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Reporting / notification?’ is closed to new replies.