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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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 :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.