1

Topic: Permission denied in cache.php?!

Newbie here, I just installed 1.2.10 and created the config.php file. I chmoded the "cache" directory to 755 (we're not allowed to use 777, but that shouldn't matter). I set DEBUG mode to on in includes/common.php. When I go to the index.php page this is what the error message says:

File: /home/server/public_html/site/forums/include/cache.php
Line: 91

PunBB reported: Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory 'cache'

I looked on line 91 in cache.php and found this:

$output[$cur_config_item[0]] = $cur_config_item[1];

I also checked my server error logs but there was no other message there. My "cache" folder has only an index.html file inside, nothing else.

Does anyone know what could be going wrong?

Thanks!

Re: Permission denied in cache.php?!

it does matter, it needs to be 777 or maybe 775

3

Re: Permission denied in cache.php?!

Hmm, I tried 775 and it doesn't work but 757 does. I've never had any trouble with 755 when a script called for 777 in the past so who knows. Thanks for the help!