Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 09:58 pm EST

Geeklog Forums

Log File and possible path error


King

Anonymous
I got two highly modified geeklog systems, one within the other. I originally created a student portal using geeklog’s framework. I am now creating a related sight using the same framework (In the future the new site will be moved to another server, for now they need to share the URL), within a new directory of the original site. The problem I am having is as follows Warning: fopen("/Web/localhost/htdocs/budget/logs/error.log","a"Wink - Permission denied in /vol4/Web/ localhost/htdocs/budget/common.php on line 551 Error, could not write to the log file /Web/ localhost/htdocs/budget/logs/error.log (Sun Feb 10 13:42:22 2002) Warning: Supplied argument is not a valid File-Handle resource in /vol4/Web/ localhost/htdocs/budget/common.php on line 554 Warning: Supplied argument is not a valid File-Handle resource in /vol4/Web/ localhost/htdocs/budget/common.php on line 534 Warning: Supplied argument is not a valid File-Handle resource in /vol4/Web/ localhost/htdocs/budget/common.php on line 535 Warning: Supplied argument is not a valid File-Handle resource in /vol4/Web/ localhost/htdocs/budget/common.php on line 536 The only difference in the two paths for each site is the “/budget” bit. The rest of the site work perfectly. Any Suggestions? Shot
 Quote

mrgibson

Anonymous
You can use a FTP CLIENT and do a SITE CHMOD 777 logs, the problem you have is pretty simple, the directory logs/ can't be opened for writing because of a lack of rights or maybe the directory you try to write logs inside do not exists. the CHMOD 777 solution work but its little unsecure, the best thing you can try in orders is to chmod 755 first, if you web server run with suEXEC that should be fine, or maybe 775 if the httpd run in a special group where you are too.
 Quote

King

Anonymous
Shot, I forgot about the file attributes. Now I just got to hunt down the second part of the error Smile
 Quote

All times are EST. The time is now 09:58 pm.

  • 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