Support » Plugin: Adaptive Images for WordPress » Cache folder empty

  • Hi,

    The plugin does not seem to be working. The cache/adaptive-images folder is empty. The folder was not created by default, so I had to create it.

    Debug info

    ✔ PHP GD library is installed.

    ✔ Image cache directory has been created.

    /home/sydneyad/public_html/wp-content/cache/adaptive-images => drwxr-xr-x

    ✔ Installation .htaccess file is setup OK.

    /home/sydneyad/public_html/.htaccess => -rw-r–r–

    ❖ Adaptive images settings dump:

    array(14) {
    [“resolutions”]=>
    array(4) {
    [0]=>
    int(1324)
    [1]=>
    int(1000)
    [2]=>
    int(768)
    [3]=>
    int(480)
    }
    [“landscape”]=>
    bool(true)
    [“hidpi”]=>
    bool(true)
    [“cdn-support”]=>
    bool(true)
    [“cache-directory”]=>
    string(21) “cache/adaptive-images”
    [“watched-directories”]=>
    array(2) {
    [0]=>
    string(18) “wp-content/uploads”
    [1]=>
    string(17) “wp-content/themes”
    }
    [“jpeg-quality”]=>
    int(75)
    [“sharpen-images”]=>
    bool(true)
    [“watch-cache”]=>
    bool(true)
    [“browser-cache”]=>
    float(180)
    [“version”]=>
    string(6) “0.6.64”
    [“sanitized”]=>
    bool(true)
    [“wp-content-dir”]=>
    string(37) “/home/sydneyad/public_html/wp-content”
    [“wp-content-url”]=>
    string(43) “https://sydneyadventuretours.com/wp-content”
    }

    System information

    Web Server
    Apache/2.4.35 (cPanel) OpenSSL/1.0.2p mod_bwlimited/1.4 Phusion_Passenger/5.1.12

    Document Root
    /home/sydneyad/public_html

    PHP
    7.0.32

    PHP Time Limit
    300

    PHP Memory Limit
    256M

    PHP Post Max Size
    256M

    PHP Upload Max Size
    256M

    PHP Max Input Vars
    1000

    PHP Display Errors
    No

    PHP Error Log
    error_log

    MySQL
    5.6.41-log

    MySQL Ext/mysqli
    Yes

    MySQL Table Prefix
    wplt_

    MySQL DB Charset
    utf8mb4

    WP
    4.9.8

    WP Multisite
    No

    WP Debug Mode
    No

    WP Site url
    https://sydneyadventuretours.com

    WP WP Home url
    https://sydneyadventuretours.com

    WP Permalinks
    /%postname%/

    WP home path
    /home/sydneyad/public_html/

    WP content dir
    /home/sydneyad/public_html/wp-content

    WP plugin dir
    /home/sydneyad/public_html/wp-content/plugins

    WP content url
    https://sydneyadventuretours.com/wp-content

    WP plugin url
    https://sydneyadventuretours.com/wp-content/plugins

    WP Locale
    en_AU

    WP Memory Limit
    40M

    WP Max Upload Size
    256mb

    WP Active plugins
    Adaptive Images for WordPress v.0.6.64 by Nevma
    Contact Form 7 v.5.0.4 by Takayuki Miyoshi
    Download Theme v.1.0.4 by IndiaSan
    Easy Theme and Plugin Upgrades v.2.0.1 by Chris Jean
    Enhanced Media Library v.2.7.2 by wpUXsolutions
    Envato Market v.1.0.0-RC2.2 by Derek Herman
    FareHarbor Reservation Calendars v.3.5 by FareHarbor
    Goodlayers Personnel Post Type v.1.1.1 by Goodlayers
    Goodlayers Portfolio Post Type v.1.1.8 by Goodlayers
    Goodlayers Twitter v.1.0.2 by Goodlayers
    Goodlayers Core v.1.3.8 by Goodlayers
    Newsletter v.5.7.1 by Stefano Lissa & The Newsletter Team
    Redirection v.3.5 by John Godley
    Regenerate Thumbnails v.3.0.2 by Alex Mills (Viper007Bond)
    Snazzy Maps v.1.1.5 by Atmist
    Orbit Fox Companion v.2.5.7 by Themeisle
    Tour Master v.4.0.4 by Goodlayers
    Widget Options v.3.7.2 by Phpbits Creative Studio
    Yoast SEO v.8.4 by Team Yoast
    WP File Manager v.3.2 by mndpsingh287
    WP Google Map Plugin v.4.0.6 by flippercode
    WP Mail SMTP v.1.3.3 by WPForms
    WP Retina 2x v.5.4.3 by Jordy Meow

    WP MU plugins

    Thanks for the help,

    Adi

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

Viewing 1 replies (of 1 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, my friend,

    Thank you for reaching out to us!

    All is perfectly well and normal with your WordPress installation except I just noticed that you are using Varnish -most probably- as a caching server.

    Now with such a setup you website is actually acting as if it were behind a CDN, so it is the CDN (or simply Varnish in your case) that handles the images and does not allow WordPress and -thus- our plugin to manipulate them.

    Now, we have tried to support such setups but they are indeed tricky and we have only managed to support them in -what we call- an experimental way. You will find such an option in the plugin settings page called “CDN support”. However, even for this to work your Varnish must be configured to allow passing of url parameters on images like this:

    https://sydneyadventuretours.com/wp-content/uploads/2018/09/North-Head-View.jpg?resolution=320,1

    Hope this helps!

    Let me know if there is anything else I can help you with.

    Cheers,
    Takis

Viewing 1 replies (of 1 total)
  • The topic ‘Cache folder empty’ is closed to new replies.