Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Hello,
I've installed oekaki boards before. While trying to install 1.3.6 of wacintaki, there is this a very annoying error that I get everytime. What frustrates me is that this did not happen last time I installed it.
"ERROR: Could not open database config file for writing. Check your server permissions"
I have been using this thread to help me, but I still seem to receive the same error.
I have checked my perm.php file and it says the base folder is okay.
I think what may differ from before and now is that before, I had installed it before the server had been hacked.
The server may have new security from the last hacking so I think this may be the reason why I cannot install it this time around.
Any slight advice is welcomed and appreciated though.
Offline
If the the base folder is not locked, but PHP can't write files, most likely it is because PHP is being run in safe mode, so its ability to create files is crippled. This is an admin-level issue and not something you can resolve yourself.
Wacintaki silences PHP's internal errors because that can cause a number of header problems. What you can do is modify the install script around line 505 where you see this:
// Write the config files $fp = @fopen ('dbconn.php', 'w');
Remove the "@" symbol before "fopen" and try again. The board should tell you right away why access has been denied. I'm 95% sure this is safe mode, though, and you'll have to ask your admin to turn it off, or else no files may be written, including the actual pictures.
Yes, safe mode is a real pain. Ironicly, it's not really that safe, either.
Offline