Title: Error
Last modified: February 17, 2017

---

# Error

 *  Resolved [Fionavar](https://wordpress.org/support/users/fionavar/)
 * (@fionavar)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/)
 * Warning: file_put_contents(/home/content/p3pnexwpnas12_data02/78/3762778/html/
   wp-content/plugins/rvg-optimize-database/logs/rvg-optimize-db-log.html): failed
   to open stream: No such file or directory in /home/content/p3pnexwpnas12_data02/
   78/3762778/html/wp-content/plugins/rvg-optimize-database/classes/odb-logger.php
   on line 74
 * Warning: file_put_contents(/home/content/p3pnexwpnas12_data02/78/3762778/html/
   wp-content/plugins/rvg-optimize-database/logs/rvg-optimize-db-log.html): failed
   to open stream: No such file or directory in /home/content/p3pnexwpnas12_data02/
   78/3762778/html/wp-content/plugins/rvg-optimize-database/classes/odb-logger.php
   on line 95
 * Please Advise?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8819827)
 * Hey Fionavar,
 * Does the log directory (/wp-content/plugins/rvg-optimize-database/logs/) exist
   on the server?
    If yes, what are the permissions of that folder?
 * peace,
    Rolf
 *  Thread Starter [Fionavar](https://wordpress.org/support/users/fionavar/)
 * (@fionavar)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820457)
 * There is not such folder Rolf
 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820481)
 * Hey Fiona,
 * Okay, thanks for checking.
    In that case creating the directory apparently is
   the issue…
 * Must be some server setting.
    You could try to create the folder yourself.
 * Rolf
 *  Thread Starter [Fionavar](https://wordpress.org/support/users/fionavar/)
 * (@fionavar)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820505)
 * Okay – with what permissions?
 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820520)
 * Errr… 770 or so (just as a test)
 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820528)
 * 411 also should be enough:
    owner: read + write group: read other: read
 *  Thread Starter [Fionavar](https://wordpress.org/support/users/fionavar/)
 * (@fionavar)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820566)
 * Okay created directory with 411 setting and still received this:
 * Warning: file_put_contents(/home/content/p3pnexwpnas12_data02/78/3762778/html/
   wp-content/plugins/rvg-optimize-database/logs/rvg-optimize-db-log.html): failed
   to open stream: Permission denied in /home/content/p3pnexwpnas12_data02/78/3762778/
   html/wp-content/plugins/rvg-optimize-database/classes/odb-logger.php on line 
   74
 * Warning: file_put_contents(/home/content/p3pnexwpnas12_data02/78/3762778/html/
   wp-content/plugins/rvg-optimize-database/logs/rvg-optimize-db-log.html): failed
   to open stream: Permission denied in /home/content/p3pnexwpnas12_data02/78/3762778/
   html/wp-content/plugins/rvg-optimize-database/classes/odb-logger.php on line 
   95
 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820583)
 * Pffffhhhh… I have no idea… 🙁
 * This never caused problems before. At least, no one reported a problem about 
   this.
    Just tested it again myself and the log file is being created without 
   any problems.
 * I have no idea what else you could try. It clearly states it’s a ‘Permission 
   denied’ error.
 *  Thread Starter [Fionavar](https://wordpress.org/support/users/fionavar/)
 * (@fionavar)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820592)
 * Okay – but the plugin seems to be working others wise. Should I choose ‘executable’
   as an option under Owner?
 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820662)
 * Not necessarily… My setting is 411 and it works fine.
    You can try anyways!
 *  Thread Starter [Fionavar](https://wordpress.org/support/users/fionavar/)
 * (@fionavar)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820681)
 * Got it – copied setting from JEtPack Logs /dir = 705
 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820698)
 * So, it works now?
 *  Thread Starter [Fionavar](https://wordpress.org/support/users/fionavar/)
 * (@fionavar)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820718)
 * Yep – well it was working – just no errors now
 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820725)
 * Okay, cool!

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Error’ is closed to new replies.

 * ![](https://ps.w.org/rvg-optimize-database/assets/icon-256x256.png?rev=3350597)
 * [Optimize Database after Deleting Revisions](https://wordpress.org/plugins/rvg-optimize-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rvg-optimize-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rvg-optimize-database/)
 * [Active Topics](https://wordpress.org/support/plugin/rvg-optimize-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rvg-optimize-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rvg-optimize-database/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [cageehv](https://wordpress.org/support/users/cageehv/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/error-892/#post-8820725)
 * Status: resolved