Page 1 of 1

Can't open entries file for writing. Please CHMOD entries...

Posted: Mon Jan 18, 2010 12:40 pm
by Titti
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Can't open entries file for writing. Please CHMOD entries file to 666 (rw-rw-rw-)

Is written when I am trying to delete spam in my guestbook - What to do??? Please help!

Posted: Mon Jan 18, 2010 5:16 pm
by Henrie
Hello Titti,

If you are able to add new entries to the guestbook, it should already be set to 666 (rw-rw-rw-).
But please check again with your FTP program what value you entries.txt file has and if needed change it to 666 (rw-rw-rw-) like the message says.
And can you try if you can add a normal entry yourself?

PS. Klemen, can you move this to the right forum (GBook)?

Greetings,
Henrie

Posted: Sat Mar 06, 2010 5:02 pm
by Redneckheaven
I am having the same problem. I have checked, my entries.txt and banned_ip.text are set to 6-6-6. Everytime I try to add a entry it says Can't open entries file for reading! CHMOD this file to 666 (rw-rw-rw) and make sure your host allows PHP scripts to read from local files!

Posted: Sat Mar 06, 2010 5:05 pm
by Klemen
Your host could have file reading functions disabled in php. Upload the phpinfo file to your server and place a link to it here, so we can check (get it here: viewtopic.php?t=83)

Posted: Sat Mar 06, 2010 5:16 pm
by Redneckheaven
Got things working. Thanks