Plugin Contributor
cageehv
(@cageehv)
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
There is not such folder Rolf
Plugin Contributor
cageehv
(@cageehv)
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
Okay – with what permissions?
Plugin Contributor
cageehv
(@cageehv)
Errr… 770 or so (just as a test)
Plugin Contributor
cageehv
(@cageehv)
411 also should be enough:
owner: read + write
group: read
other: read
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
(@cageehv)
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.
Okay – but the plugin seems to be working others wise. Should I choose ‘executable’ as an option under Owner?
Plugin Contributor
cageehv
(@cageehv)
Not necessarily… My setting is 411 and it works fine.
You can try anyways!
Got it – copied setting from JEtPack Logs /dir = 705
Yep – well it was working – just no errors now