Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:40 am EDT

Geeklog Forums

Help with error on lib-common.php


Status: offline

twohawks

Forum User
Junior
Registered: 12/17/01
Posts: 33

I just installed Geeklog on a new server and everything works and it rocks... EXCEPT I'm getting the following error above any articles page:


Warning: fopen("/home/tribalquest/www/main/logs/error.log", "a") - Permission denied in /home/www/tribalquest/main/lib-common.php on line 757

Warning: Supplied argument is not a valid File-Handle resource in /home/www/tribalquest/main/lib-common.php on line 760

Warning: Supplied argument is not a valid File-Handle resource in /home/www/tribalquest/main/lib-common.php on line 705

Warning: Supplied argument is not a valid File-Handle resource in /home/www/tribalquest/main/lib-common.php on line 706

Warning: Supplied argument is not a valid File-Handle resource in /home/www/tribalquest/main/lib-common.php on line 707


Please feel free to visit and you'll see what I mean: http://www.tribalquest.org/main

Any help is much appreciated. I'm wanting to edit the templates and .css files and launch this site within the next few days.

Thanks!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

Well that error message

Warning: fopen("/home/tribalquest/www/main/logs/error.log", "a") - Permission denied

is pretty clear: It can't open your error.log file for writing. Make sure you have set the permissions for the logs directory and all files therein to 777. It should work then.

bye, Dirk

P.S. It's all in the installation instructions ...

 Quote

Anonymous

Anonymous
I swear I had changed the permissions to 777 but I went back and checked and sure enough the log files weren't set at 777 so I fixed that part. Now I just have all the other error messages to deal with (bottom 3 on the original help post). Any ideas?
 Quote

Status: offline

twohawks

Forum User
Junior
Registered: 12/17/01
Posts: 33

Just to be clear I'm still getting the following:

Warning: Supplied argument is not a valid File-Handle resource in /home/www/tribalquest/main/lib-common.php on line 705

Warning: Supplied argument is not a valid File-Handle resource in /home/www/tribalquest/main/lib-common.php on line 706

Warning: Supplied argument is not a valid File-Handle resource in /home/www/tribalquest/main/lib-common.php on line 707


Since I'm not a .php programmer I have no idea how to fix the problem.

Thanks for the help.

 Quote

Status: offline

twohawks

Forum User
Junior
Registered: 12/17/01
Posts: 33
It was all permissions based... I feel like a dope! Thanks for the help.
 Quote

Anonymous

Anonymous
Actually, the INSTALL file says 775; this tripped me up initially. Some consistency in the docs and the INSTALL file would not be too much to ask, surely?
 Quote

All times are EDT. The time is now 06:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content