Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Gavcox on April 05, 2008, 03:10:44 PM

Title: Performance warning
Post by: Gavcox on April 05, 2008, 03:10:44 PM
I have just installed smf 2 and i get this message on the board.

Performance Warning
The cache directory is not writable - this will adversely affect the performance of your forum.

I have checked the cache in public_html in the smf folder and it is writable i did also clear the cache on the forum after this but has made no diffrence
Title: Re: Performance warning
Post by: Grudge on April 05, 2008, 04:28:49 PM
Can you check $cachedir is defined in your Settings.php?
Title: Re: Performance warning
Post by: Gavcox on April 05, 2008, 05:11:17 PM
Dont seem to be able to find that
Title: Re: Performance warning
Post by: Grudge on April 05, 2008, 05:14:34 PM
OK. Add it. should look like:

$cachedir = '/path/to/your/boarddir/cache';


Hopefully that makes sense. It will basically be the same as the line beggingin $boarddir but with the addition of '/cache';

Now to work out why that was missed off :(
Title: Re: Performance warning
Post by: Gavcox on April 05, 2008, 05:36:08 PM
Sorted it moved cache folder from package folder to smf all cool now