CHMOD error

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
empressrose

CHMOD error

Post 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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
empressrose

reply to phpinfo.php

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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,
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
empressrose

Thanks!

Post 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.
Post Reply