• Resolved mldavis08

    (@mldavis08)


    Hi, I am trying to select a directory on my server to store the Smush files on. When I select the directory (by actually checking the checkbox), then click the “Choose Directory” button to save it, it acts like it is processing it, then goes from 0% to 100% quickly, refreshes the page…and then nothing. No directory has been saved. I have done this process over and over, and it has never saved.

    On the progress screen, when it is trying to save, I get this message under the progress bar…maybe it will help detect the issue.

    0/[object Object] images optimized

    I tried on another website I manage with different servers/hosts…and it is doing the same thing.

    Please advise. Thanks

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @mldavis08 ,

    Could you please check if there are any errors in the browser console during the scan? Also, are you using any security plugins?

    Best regards,
    Anton

    Thread Starter mldavis08

    (@mldavis08)

    I’m seeing no errors and I do not have an security plugins installed.

    @mldavis08,

    Could you please try to enable debug log by adding the following to the wp-config.php file:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    After that, please run Directory smush and check if you have a debug.log file in your wp-content folder.

    Best regards,
    Anton

    Thread Starter mldavis08

    (@mldavis08)

    Ok, I did that. This is the only error I saw….

    [02-Nov-2019 18:55:17 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /wp-content/plugins/js_composer/include/classes/core/class-vc-mapper.php on line 111

    There’s doesn’t seem to be any errors that affect Smush. Could you please give more info on your setup: theme, PHP version, hosting, a list of plugins used?

    Best regards,
    Anton

    Thread Starter mldavis08

    (@mldavis08)

    Ok, I can’t get this to work on 2 different websites. Below are the versions, plugins, etc for each. I have tried so many times, as I need to get all my images hosted on my own domain name…

    Website 1
    Wordpress 5.2.4
    Hosting Godaddy
    Server architecture Linux 2.6.32-954.3.5.lve1.4.66.el6.x86_64 x86_64
    Web server Apache
    PHP version 7.3.7
    Theme: Legenda, Version 4.2 by 8theme
    Advisor Quiz Version 1.7.0.2 by Carlos Moreira
    CMB2 Version 2.6.0 by CMB2 team
    Duplicate Post Version 3.2.3 by Enrico Battocchi
    Facebook for WooCommerce Version 1.9.15 by Facebook
    Flexible Product Fields Version 1.2.8 by WP Desk
    Flexible Product Fields Pro Version 1.4.3 by WP Desk
    Jetpack by WordPress.com Version 7.9 by Automattic
    Layered Popups Version 6.59 by Halfdata, Inc. (Latest version: 6.60)
    Legenda Core Version 1.0.2 by 8theme
    Mailchimp for WooCommerce Version 2.3 by Mailchimp
    Ninja Forms Version 3.4.21 by The WP Ninjas
    Redux Framework Version 3.6.15 by Team Redux
    Slider Revolution Version 6.1.4 by ThemePunch
    Smash Balloon Instagram Feed Version 2.1.2 by Smash Balloon
    Smush Version 3.3.1 by WPMU DEV
    WooCommerce Version 3.8.0 by Automattic
    WooCommerce Stripe Gateway Version 4.3.0 by WooCommerce (Latest version: 4.3.1)
    WP Affiliate Manager Version 2.6.9 by wp.insider, wpaffiliatemgr
    WPBakery Page Builder Version 6.0.5 by Michael M – WPBakery.com
    wpDiscuz Version 5.3.5 by gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
    WP Fastest Cache Version 0.8.9.9 by Emre Vona
    WP Mail SMTP Version 1.7.1 by WPForms
    YITH WooCommerce Wishlist Version 2.2.16 by YITH
    Yoast SEO Version 12.4 by Team Yoast

    Website 2
    Wordpress 5.2.4
    Theme Kloe Version 1.3 by Select Themes
    Hosting WP Engine
    Server architecture Linux 4.15.0-1040-gcp x86_64
    Web server Apache
    PHP version 7.3.10
    Plugins
    AffiliateWP Version 2.2.12 by AffiliateWP, LLC (Latest version: 2.4.1)
    Akismet Anti-Spam Version 4.1.2 by Automattic (Latest version: 4.1.3)
    Facebook for WooCommerce Version 1.9.15 by Facebook
    Flexible Product Fields Version 1.2.4 by WP Desk (Latest version: 1.2.8)
    Jetpack by WordPress.com Version 7.8 by Automattic (Latest version: 7.9)
    Layered Popups Version 6.21 by Halfdata, Inc. (Latest version: 6.60)
    Ninja Forms Version 3.4.20 by The WP Ninjas (Latest version: 3.4.21)
    Quick Page/Post Redirect Plugin Version 5.1.9 by anadnet
    Regenerate Thumbnails Version 3.1.1 by Alex Mills (Viper007Bond)
    Select Core Version 1.1.1 by Select Themes
    Select Instagram Feed Version 1.0 by Select Themes
    Smush Version 3.3.1 by WPMU DEV
    Video Embed & Thumbnail Generator Version 4.6.25 by Kyle Gilman
    WooCommerce Version 3.7.1 by Automattic (Latest version: 3.8.0)
    WooCommerce Stripe Gateway Version 4.3.0 by WooCommerce (Latest version: 4.3.1)
    WPBakery Page Builder Version 5.4.5 by Michael M – WPBakery.com (Latest version: 6.0.5)
    Yoast SEO Version 12.3 by Team Yoast (Latest version: 12.4)

    Hi @mldavis08,

    There doesn’t seem to be any plugins on the list that can be conflicting with Smush. The only other reason I can think of is incorrect file permissions on the directory you are trying to compress.

    And one more thing to check – do any of the images appear in the wp_smush_dir_images table?

    Best regards,
    Anton

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Choose Directory not working’ is closed to new replies.