Joomla fopen permission denied


So I have a joomla 1.6 website with the "kunena"-forum component and login module.

For some reason when a user is not logged in they seem to get following error:
Warning: fopen(/home/guardians/domains/ [function.fopen]: failed to open stream: Permission denied in /home/guardians/domains/ on line 191

Warning: Cannot modify header information - headers already sent by (output started at /home/guardians/domains/ in /home/guardians/domains/ on line 54

Although I can't seem to see that error, I do however see a glimpse of that error (a fraction of a second in IE) when i login without entering any userdata (frontend).

Any ideas what it might be? I also downloaded the "admin tools core" from the akeeba website to set the permissions.
Who is Participating?
Joomla would like you to change the file permissions of the following file to 777

However there are a million reasons why that would be a bad idea...
Instead, open up the file that produces the error:

Look around line 191 for this:

And change it to this:

MutsopAuthor Commented:
what does the @ stands for? I've been trying to search for it on but no real explanation :(
@ will just suppress the error so the error message is not displayed.

Joomla is trying to write to a log file.  The log file permissions are not allowing Joomla to write to the log file.  If you (or your hosting provider) change the file permissions to 777 it will be able to write to the log file and there will be no error.  However the log file is a PHP script and some hosting providers will not let you change the file permissions of php scripts to 777 for security reasons.  So unless you need the log, you can just suppress the error with @
MutsopAuthor Commented:
Oh k thanks alot :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.