PDA

View Full Version : questbook ?


Terra
11-29-1999, 05:29 PM
Which domain?
Which GuestBook script?

--Terra

dan
11-29-1999, 06:19 PM
johncogan.com

the one FQ provides

Terra
11-29-1999, 06:40 PM
After inspecting your script log:
logs_cgi/script

The problem points to line 208 'Unmatched right bracket'...

Further investigation shows the *true* problem to be on line 179
print ("$INPUT{'name'}
\n"); }

Remove the '}' from that line and it should work properly now...

I checked the original 'GuestBook.zip' for download on AOTA and that script checks out fine (no errors)...

Must have happened while you were editing the file... :(

--
Terra
sysAdmin
FutureQuest

Terra
11-29-1999, 06:41 PM
BTW: after you make edits to the file, you can check for compile time errors via Telnet/SSH
$cd
$cd ../cgi-bin
$perl -c guest.cgi

Check to make sure there are no errors... ;)

--Terra

WayneK
11-29-1999, 06:54 PM
Dan,

I do not see this in your guestbook.htm file

<!-- DO NOT REMOVE ANYTHING HERE -->

<!--begin-->

<!-- Continue Editing below this line as needed -->

Maybe I missed it.

The original sign.htm form action is set to &quot;post&quot; not &quot;get&quot;.

dan
11-30-1999, 12:12 AM
I fill out the questbook form and click on &quot;Sign Guestbook&quot; it takes to another page that says I didn't enter my name and gives me a space to put my name again. When I click on &quot;Sign Guestbook&quot; again, it tells me all I entered was my name and doesn't give the rest of the fields.

Thanks for any help you can offer.<!-- NO_AUTO_LINK -->

dan
12-02-1999, 12:30 AM
Now when it sends the form to the email address, the comments don't show up. As far as I can tell, the script is set up right and the HTML code is right. This is for johncogan.com
[This message has been edited by dan (edited 12-01-99)]