If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Perl guestbook on Win32 headache (syntax maybe?)  XML
Forum Index » Support Forum
Author Message
Anonymous



I'm determined to get this script to run on a windoze NT server, but I keep getting the same error. I can enter the admin area and the script executes fine, but when I try and add a post, I get the error

Cannot open ID file guest_id.txt in D:\wwwroot\www.mysitesfolder.com\guestbook\ for writing!

This error must mean one of 2 things - either the path's wrong or the files aren't writable. I gave the files write permissions, and played around with the base URL, but I can't seem to get it right. WinNT's a bit finnicky about system paths, so i'm guessing that's the cause of the problem, but i've tried forward slashes, backslashes and double-slashes and none of these work - I definitely have the folder path right.

Anyone got any suggestions that might help me out?

Thanks.
Anonymous



i too get this same error on windows. does anyone else here run the guestbook on a windows server
Anonymous



since I have only dealt with Winblows NT servers a few times in the past, because I didn't have any choice.

one thing I know is that you must set the folder permissions to Read, Write, Execute

this is the windows equiv of chmod 777

also the path must be absolute.

if all that is correct, then the script may have to be modified to run on windows

bottom line is that Windows NT server sucks
ferzun
Newbie

Joined: 22/05/2003 08:08:59
Messages: 2
Offline

Anonymous wrote:i too get this same error on windows. does anyone else here run the guestbook on a windows server


Try changing the permissions folder where you have addentry.html, guest_id.txt, page_id.txt, guestbook.html and template.html in Windows Server with right click mouse then go to security, here select all users permissions and let Read_and_execute, Read and Write, and where you have your guestbook.pl (/cgi-bin folder) change permission to Read and thenin Application Settings enable execute permissions with secuences commands a executables.

Sorry, i donĀ“t have a good english, i speak spanish.

Fernando Zuniga
[Email]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum