Page 1 of 1

Warning: fopen(entries.txt): failed to open stream: Permissi

Posted: Tue Feb 22, 2005 9:51 pm
by Dtails
First of all; Klemen STirn, thanx for the really nice script. I'm looking forward to using it on my site, and I will, as soon as I can get it to work properly. I get a message saying:

Warning: fopen(entries.txt): failed to open stream: Permission denied in /home/rothenbo/public_html/gbook132/gbook.php on line 423

and:

Error

Couldn't open links file (entries.txt) for writing! Please CHMOD all entries.txt to 666 (rw-rw-rw)!

I'm not quite sure what this means, and would be really grateful, if you could help me.
Thanx!
Jens :P
Please answer to jens@rothenborg.com or here


[EDITED BY KLEMEN STIRN]
I have changed this post's subject and added it to "sticky" so others with same problem can see it.

Posted: Wed Feb 23, 2005 9:25 am
by Klemen
Hi there,

Thanks for the kudos.

Are you on a Linux server? If yes, you will have to do a CHMOD 666 command on entries.txt file. Check your FTP program's help to see how you can do CHMOD (or set file permissions) to files as this is different with each FTP rpgoram. Oncde you find it out either CHMOD the entries.txt file on your server to 666 or rw-rw-rw.

If you're on WIndows you will probably have to contact your host. Give them the error you get and ask if they can set write permissions to entries.txt.

Regards

more on guestbook

Posted: Thu Feb 24, 2005 5:28 pm
by Dtails
Hello again, thanx for the info. I managed to work it out. I would like to ad a link with some additional info on the cdmod rules, if there is someone who is a little lost, like I was. I might help explain some things. Thanks again, great script!

http://www.ibdhost.com/help/ftp/

Look at the bottom of the page

Posted: Thu Feb 24, 2005 7:17 pm
by Klemen
Hi,

Glad you got it working. I have made this post sticky and changed the subject so other people having the same problem will quickly find it (and I know many people have this problem).

Regards,

Klemen

Posted: Sat Apr 02, 2005 10:29 pm
by Klemen
A note for everyone having problems with file upload and CHMOD: I wrote FTP and CHMOD tutorial which should help you get started.

Regards