Title: Warning: db.php not found
Last modified: August 31, 2016

---

# Warning: db.php not found

 *  [Cameron Macintosh](https://wordpress.org/support/users/jcmaci03/)
 * (@jcmaci03)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/warning-dbphp-not-found/)
 * I took over the management of a website recently for my organization and I’ve
   started seeing this error occasionally:
 * > `WARNING: wp-content/plugins/w3-total-cache/lib/W3/DbCacheAdminEnvironment.
   > php:155 - file_get_contents(/wp-content/db.php): failed to open stream: No 
   > such file or directory require_once('wp-admin/admin-header.php'), do_action('
   > admin_notices'), call_user_func_array, W3_Plugin_TotalCacheAdmin->admin_notices,
   > W3_AdminEnvironment->fix_in_wpadmin, W3_DbCacheAdminEnvironment->fix_on_wpadmin_request,
   > W3_DbCacheAdminEnvironment->delete_addin, W3_DbCacheAdminEnvironment->is_dbcache_add_in,
   > file_get_contents`
 * I’m not familiar with `/wp-content/db.php` as it’s not a WordPress core file.
   What is it’s purpose and how do I fix this error?
 * I’m running v0.9.4.1 of the plugin on WP4.4.2 and php 5.6.
 * Thank you in advance for any help with this issue.
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  [SJW](https://wordpress.org/support/users/whitsey/)
 * (@whitsey)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/warning-dbphp-not-found/#post-7065309)
 * Try turning off Database Caching and see if that fixes it.

Viewing 1 replies (of 1 total)

The topic ‘Warning: db.php not found’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [db.php](https://wordpress.org/support/topic-tag/db-php/)
 * [W3TC](https://wordpress.org/support/topic-tag/w3tc/)

 * 1 reply
 * 2 participants
 * Last reply from: [SJW](https://wordpress.org/support/users/whitsey/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/warning-dbphp-not-found/#post-7065309)
 * Status: not resolved