SMF Support > SMF 2.0.x Support

"!! Performance Warning" Issue

(1/1)

cts:
Hello, all!

I just setup my new SMF board yesterday, and the only kink that I am coming across is that I am getting the following message when I log onto the site after a little while:

--- Code: ---!!Performance Warning
The cache directory is not writable - this will adversely affect the performance of your forum.
--- End code ---
It doesn't happen every time I log on to it, but only after I haven't been there for maybe 10-15 minutes.

I checked the Cache folder on my host (using godaddy), and it appears to have read/write permissions.  There are even files being stored in there.  I'm on Windows, not Linux ... so I can't CHMOD it.

Does anyone have any suggestions as to where I can look to resolve this?  Let me know if you need any other info from me.

Thanks!

K@:

--- Quote from: cts on July 11, 2012, 01:15:47 PM ---(using godaddy)
--- End quote ---



You could try asking them to disable mod_security and tell them to give you full ownership of the files on your site.

Don't hold your breath, though.

Search "Godaddy", here, and you'll see why. :(

cts:
I'll give that a shot.

I just don't understand why it says it's not writable ... yet files are being written to that folder.

K@:
With Godaddy, anything's possible.

Except what you want to be. ;)

Sure is odd. That's what made me suspect the ownership thing.

The system can write to the cache, but your files can't.

At least, that's how I'm reading it.

'course, I could be wrong.

MrPhil:
Does "Mod Security" apply to Windows (IIS) servers? Linux servers are usually Apache (sometimes nginx), never IIS. Windows servers are usually IIS, but can be Apache.

Anyway, on Linux servers, sometimes there is security software to bar access to "world writable" files and directories (e.g., 666/777). This can result in "not writable" errors, and usually results in a 500 error. It's possible that there's something similar on Windows/IIS, but I don't know for sure. You might check (via your control panel, not FTP) that your cache directory has similar permissions to other directories (Packages, Packages/Temp) that need to be written to by SMF/PHP (assuming mod installation works for you). It's possible that you've inadvertently granted excessively liberal permissions for that directory and access is being restricted. Why it would work for 15 minutes or so is puzzling. Perhaps the warning is only issued every so often? Are you getting data_* files written to your cache directory?

So, double check your directory permissions that they are writable not just by you (the owner) but also by PHP (SMF). The same permissions will be needed for Packages and Packages/Temp, and possibly by all directories, when it comes time to install a mod. Don't go overboard granting Write permissions to the whole world, as security software might shut you down.

Navigation

[0] Message Index

Go to full version