Discover Centmin Mod today
Register Now

Wordpress "3). Wordpress Super Cache" not working?

Discussion in 'Blogs & CMS usage' started by dorobo, Dec 7, 2016.

  1. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    12:52 PM
    latest
    latest
    It seems super cache isn't working in selecting 22 in menu and then 3 under Wordpress Caching

    I've done these:
    except for 4 since I'm using a different theme

    it's not making the html files

    [​IMG]

    wp-config has this

    [​IMG]

    WPCACHEHOME

    [​IMG]

    settings
    [​IMG]

    easy tab

    [​IMG]
     
    Last edited: Dec 7, 2016
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    2:52 PM
    Nginx 1.13.x
    MariaDB 5.5
    wp super cache sometimes need disable/turn off and back on a few times hence why i like keycdn cache enabler heh. If that doesn't work, i'll have to investigate :)
     
  3. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    12:52 PM
    latest
    latest
    there appears .tmp files but 0 byte inside the cache folder

    [​IMG]

    plus there is no wp super cache timestamp in the source

    tried enabling and disabling too

    from rtcamp's wp super cache post

    [​IMG]
    but the conf of centminmod is

    [​IMG]
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    2:52 PM
    Nginx 1.13.x
    MariaDB 5.5
    Checked nginx and php logs for clues ?

    To troubleshoot Nginx and PHP-FPM issues you'd want to check the domain site's vhost access.log and error.log logs located within directory at /home/nginx/domains/yourdomain.com/logs. You can see a full overview at centminmod.com/configfiles.html

    FAQ item 19 has more info on all Centmin Mod relevant log files locations and how to use tail command to view a sample of the entries.

    Also post the contents of your site's nginx vhost http /usr/local/nginx/conf/conf.d/yourdomain.com.conf and/or /usr/local/nginx/conf/conf.d/yourdomain.com.ssl.conf in BBCODE CODE tags as outlined at How to use forum BBCODE code tags
     
  5. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    12:52 PM
    latest
    latest
    it seems wp super cache is not compatible with php 7.1.0?

    I'll try to recompile php to 7.0.13
     
    • Informative Informative x 1
  6. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    2:52 PM
    Nginx 1.13.x
    MariaDB 5.5
    Ah ha PHP 7.1.0 still too new :)

    haven't tested centmin.sh menu option 22 options against PHP 7.1.0 as yet so your mileage may vary :)
     
  7. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    12:52 PM
    latest
    latest
    yep it's 7.1.0

    it still works in 7.0.13 but I had to replace this

    Code (Text):
    try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php?q=$uri&$args;


    with

    rtcamp's

    Code (Text):
    try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php ;


    as the former is not generating html files for internal pages
     
  8. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    2:52 PM
    Nginx 1.13.x
    MariaDB 5.5
    you use woocommerce ? probably better to use keycdn cache enabler :)
     
  9. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    12:52 PM
    latest
    latest
  10. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    2:52 PM
    Nginx 1.13.x
    MariaDB 5.5
  11. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    12:52 PM
    latest
    latest
    I didn't use centminmod to create the vhost of those wordpress blogs

    I just copied the config from a vhost that was created using centminmod in a test server

    so I think doing those commands will just result in not found errors

    plus the double slash problem was so bad, seo-wise, that I couldn't afford to waste time looking for a solution. I switched to redis cache real quick.

    but maybe I could recreate it on a test server let's see
     
  12. RoldanLT

    RoldanLT Well-Known Member

    3,823
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    12:52 PM
    1.11
    10.2
    I can confirm this also.
    Downgrading to PHP 7.0.13 for now :/.
     
  13. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    2:52 PM
    Nginx 1.13.x
    MariaDB 5.5
    if the test server has centmin mod and wp-cli command installed, you can still run the wp commands asked. If wp-cli isn't installed on test server but it's centmin mod based, just run addons/wpcli.sh to install wp-cli command first :)
     
  14. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    12:52 PM
    latest
    latest
    I couldn't recreate it with the test server :(

    I'll stop experimenting for now and stick with redis
     
    • Like Like x 1