Title: Directory open error
Last modified: March 14, 2018

---

# Directory open error

 *  [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/directory-open-error/)
 * I am seeing this with Query Monitor plugin, trying to maximise performance:
 * opendir(/home/discoveringdaysc/public_html/wp-content/cache/db/options_comments/):
   failed to open dir: No such file or directory 17 wp-content/plugins/w3-total-
   cache/Util_File.php:124
 * In the db folder, there are folders for options and comments, but not one for
   both.
    The 17 refers to the number of stack calls related to this reported by
   the query monitor.
 * Can this be fixed please, thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * (@gidomanders)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/directory-open-error/#post-10481152)
 * Sorry for the late reply. We use the @ character before the opendir call to disable
   logging of failures. Your PHP config disabled the @ character feature, so you
   actually force PHP to log everything. So it is not an issue, more of a misconfiguration.

Viewing 1 replies (of 1 total)

The topic ‘Directory open error’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/directory-open-error/#post-10481152)
 * Status: not resolved