• Resolved josmatic

    (@josmatic)


    Today site was broken by w3 total cache, every single page except Home did not work, it had error which say that connection to database is not ok. I tested connection to DB and that was ok, after disable cache in wp-config then I has option to go on wp-admin/ clear cache and everything was fine.

    What was wrong?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @josmatic,

    Do you have DB cache and Object Cache enabled? If so, what caching method are you using?

    Thread Starter josmatic

    (@josmatic)

    Hi Marko,

    Yes I using both Cache Method as “Disk”. You can see whole my settings in json file here

    https://drive.google.com/file/d/1mr6i-k_4UPBU9uEzdz2NieKHThfjkSsr/view?usp=drive_open

    Cheers

    • This reply was modified 5 years, 11 months ago by Jan Dembowski.
    • This reply was modified 5 years, 11 months ago by Jan Dembowski. Reason: Removed shortlink
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note to @josmatic please don’t use shortlinks in these forums.

    Thread Starter josmatic

    (@josmatic)

    ok

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @josmatic,

    There is a possibility that your server cannot handle both DB and Object caching. You should disable DB caching in this case. Alternatively, you can switch to any memory-based caching I.E. Memcached.

    Thread Starter josmatic

    (@josmatic)

    Ok, tnx

    Thread Starter josmatic

    (@josmatic)

    Nope, again the same thing

    Error establishing a database connection
    This either means that the username and password information in your wp-config.phpfile is incorrect, or we can localhostnot reach the database server . It could be that the database server of your hosting has failed.

    Are you sure the username and password are correct?
    Are you sure you entered the correct hostname?
    Are you sure that the database server is running?
    If you are unsure what these terms mean, you should contact the support of your web hosting. If you still need help, you can always visit the WordPress support forums .

    Thread Starter josmatic

    (@josmatic)

    W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /home/webbite/public_html/wp-content/advanced-cache.php.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Please delete advanced-cache.php from your wp-content. Also, delete the cache folder as well.

    Thread Starter josmatic

    (@josmatic)

    Yes I am, I delete and plugin, clear files and folders which using W3 and then again just install and activate, again get DB error but my suspicious is Hosting. Even without any cache still I have problems, probably this is not related to w3. I tested and other cache and got the same issue.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Then it appears that it is not W3 Total Cache issue. Please contact your host for further assistance.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘w3 database error’ is closed to new replies.