Status: offline

ShdwRulr

Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
For some reason, I keep getting the following error whenever I do one of the following: Login incorrectly, try to add contact info as a member, make administrative changes to plugins.

I have changed the settings to both error.log and lib-common.php to 775. I even tried 777.
I have also re-uploaded my lib-common file several times.
Finally, the error.log file only has some dummy entry in it. Shouldn't there be more?

Everything works fine, it is just that this error keeps coming up, and I want to get rid of it.

Warning: fopen(/home/shadowru/public_html/geeklog/logs/error.log): failed to open stream: Permission denied in /home/shadowru/public_html/geeklog/public_html/lib-common.php on line 1512
Bla bla bla

mach

Anonymous
the problem isn't with lib-common.php, but with your path to the error.log.
The function that writes to the error log cannot find it. check your paths in config.php

Anonymous

Anonymous
Im also geting the same error and all my paths seem correct.

Help?

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
As the error states, you don't have permission to write to the error log. Make sure you chmod the access.log and error.log files. For shared hosting, you usually have to chmod 777 the files.

Anon

Anonymous
Thanks, its just the first reply didnt make it too clear. Problem solved