Page 1 of 1

CHMOD error

Posted: Sun Aug 21, 2005 7:59 pm
by empressrose
Script URL: http://www.empressrose.com/guest.html
Version of script: 1.33
Version of PHP:
Hosting company: guestbook(Gbook)
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: Tried to re-CHMOD all files and re-FTP all files.

Write your message below:
Here is the message I receive: Error

Couldn't open links file (http://www.empressrose.com/guestbook/entrylog.txt) for writing! Please CHMOD all http://www.empressrose.com/guestbook/entrylog.txt to 666 (rw-rw-rw)!

I have checked the file over and over and it is at 666, the php files are at 744. I cannot figure out why I cannot send a test message to the guestbook unless it is because I am trying to do it from my own site. Any input is appreciated.

EmpressRose.

Posted: Sun Aug 21, 2005 8:38 pm
by Klemen
Hi,

What kind of server are you on? Linux, Windows, ...?

Try uploading this file, might give me some clues:
http://www.phpjunkyard.com/extras/phpinfo.zip

Then put a link to it here.

Regards

reply to phpinfo.php

Posted: Mon Aug 22, 2005 3:33 pm
by empressrose
I am on a Linus server. I uploaded the file and it is at the following address:

http://www.empressrose.com/guestbook/phpinfo.php

Thank you for helping me with this.

EmpressRose

Posted: Mon Aug 22, 2005 4:39 pm
by Klemen
Oh, in settings.php what is $settings['logfile'] set to?

If it is set to

$settings['logfile']='http://www.empressrose.com/guestbook/entrylog.txt';

change it to

$settings['logfile']='entrylog.txt';

Was this it? You shouldn't change optional settings unless you know exactly what you are doing :wink:

Regards,

Thanks!

Posted: Mon Aug 22, 2005 5:12 pm
by empressrose
Yep, that did it. Thanks so much. I guess I thought that it needed to have my url in it since all the other file names did too.

EmpressRose.