Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Welcome,
I was wondering why Wax Poteto (here) generates this message, when Oekaki Administrator is trying to change something in control panel:
Błąd!
Could not open database config file for writing. Check your server permissions
- "Błąd" - means "Error" - it's Polish word.
The main text of it tell me, that there is something wrong with config.php CHMOD. Well, I check it - and it's value is set up to 666.
So the question is: what value should I attach, to config.php, to eliminate "Could not open database config file for writing. error?
Best Regards!
Offline
"666" means that the file has public write permissions. Some servers don't like that, and will not allows scripts to write to those files, even though the group permissions are correct. Try setting the file to 664, instead.
The file in question is "dbconn.php". It's possible that the main config file, "config.php" will also be affected.
If you can't seem to get it working by changing the permissions, I do have a script that will reset permission on the config files. But, try setting them to 664, first.
Offline
I guess your server has a custom security policy where the execute flag is used by the web server and not by the OS. I've seen that a few times before.
In that case, 666 should be safe. I find it odd that 777 will work -- most servers don't allow that setting for files.
Offline