• Resolved Insect Trojan

    (@insecttrojan)


    hello i need help i have php error and it shows me this warning
    Warning (Suppressed) opendir(/var/www/vhosts/insect.gr/httpdocs/wp-content/cache/db/comments/): failed to open dir: No such file or directory

    thanks a lot

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

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

    (@vmarko)

    Hello @insecttrojan

    Thank you for your inquiry and I am happy to assist you with this.
    Can you please share if DB caching is enabled in Performance>General settings and if caching to Disk?
    Also try purging the DB Cache and check if /wp-content/cache/db/comments/ folder exists on your server.
    Thanks!

    Thread Starter Insect Trojan

    (@insecttrojan)

    yes is to disk the cache but in the cache folder i dont have the comments folder

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @insecttrojan

    Thank you for the information.
    Well, there is the issue. The mentioned folder is not there. Are you on a shared server or VPS?
    You can try disabling DB cache, Delete the /wp-content/db.php, delete the /wp-content/cache/db/ folder, re-enable DB cache, save all settings and purge the cache.
    Thanks!

    Thread Starter Insect Trojan

    (@insecttrojan)

    i am on a on a shared server ok i will do it again the turn off and on

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @insecttrojan

    Thank you for the information
    WordPress website utilizes database quite a lot. And database caching allows decreasing database usage. Database caching allows to cache database request results.
    Database caching can make your site faster if the time needed to get data from the database is more than the time needed to get data from the cache.
    So, if you are on shared hosting, then RAM-based caching is likely to be unavailable for you. And disk-based caching is not that efficient. In other words, if you are on shared hosting, it’s recommended not to use database caching.
    Moreover, using disk-database caching (on shared hosting) can make your site slower. This is so because getting data from the database can be faster than getting cached data from the disk.
    Thanks!

    Thread Starter Insect Trojan

    (@insecttrojan)

    ok i will turn it off the database cache .
    thanks a lot

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