Posted on: 02/10/02 05:00am
By: Anonymous (King)
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"

- 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
chmod
Posted on: 02/11/02 05:52am
By: Anonymous (mrgibson)
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.
chmod
Posted on: 02/11/02 11:53am
By: Anonymous (King)
Shot, I forgot about the file attributes. Now I just got to hunt down the second part of the error
