Page 1 of 1

Unable to connect to entries.txt

Posted: Tue Jan 10, 2006 6:37 pm
by chucktarv
Script URL: http://www.michellesofdelaware.com/guestbook/gbook.php
Version of script: 1.34
Version of PHP: ?
Hosting company: Godaddy.com
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try: CHMOD

Write your message below:

I'm not sure this is a chmod problem but if I could use the 666 chmod command it certainly would help. The site I'm working on is on a windows-based server that will allow me to change directory permissions but not chmod files. as a result I get the following error message "Can't open the log file (entries.txt) for reading! CHMOD this file to 666 (rw-rw-rw)!" The file is on http://www.michellesofdelaware.com/guestbook/gbook.php

Is there a work around for this problem.

Posted: Tue Jan 10, 2006 10:00 pm
by Klemen
Hi,

Reading old topics usually helps, there has been A LOT said about this topic.

Heck, I even wrote a short artivcle about it, see
http://www.phpjunkyard.com/ftp-chmod-tutorial.php
and read under "CHMOD on Windows servers"

Posted: Tue Jan 10, 2006 11:07 pm
by chucktarv
I agree. Reading past posts does help. I did that including the chmod tutorial. Unfortunately, the hosting plan my client selected does not have a cgi-bin directory. I'm actually lost here which is why I decided to post.

Klemen Stirn wrote:Hi,

Reading old topics usually helps, there has been A LOT said about this topic.

Heck, I even wrote a short artivcle about it, see
http://www.phpjunkyard.com/ftp-chmod-tutorial.php
and read under "CHMOD on Windows servers"

Posted: Wed Jan 11, 2006 6:41 pm
by Klemen
In that case you should contact your hosting company and ask them to set the correct file permissions for you. They should make the entires.txt file writable by scripts.

Posted: Wed Jan 11, 2006 8:27 pm
by chucktarv
Hi Klemen,

Thanks for your attention and for all you do here. I've convinced my client to switch to a linux server. That was the solution all along. Why should I drive myself crazy. Turns out he is not wedded to the windows platform after all.

Again. Thank you.

Klemen Stirn wrote:In that case you should contact your hosting company and ask them to set the correct file permissions for you. They should make the entires.txt file writable by scripts.