PDA

View Full Version : Guestbook: Having 2 GB's on one domain. 2nd won't post


richpee
09-27-2006, 02:45 PM
I am wracking my brains. I can't get my 2nd guestbook to work.

I have a working guestbook (FQ/Dreamcatchers book of guests 2.0) on my domain (http://www.flightsofwit.com/guestbook.shtml)

and I am trying to add a new guestbook, (http://www.flightsofwit.com/guestbook_bert.html)
which points to http://www.flightsofwit.com/sign_bert.html

I have modified the 3 files, renamed them (including guest_bert.cgi) and changed all references (I believe) changing all the "guestbook.html" 's to "guestbook_bert.html"'s.

in "guestbook_bert.html" I changed the href "sign.html" to href sign_bert.html"

When I sign, I get,
"Thank You For Signing [Bert's] Guestbook

Thank you for filling in my guestbook. Your entry has been added.
Here is what you added:

<B>testing to see if this stupid thing will work this time</b> [my entry]"

At the bottom is the link, Back to the Guestbook.When I hover, I see it's pointing to guestbook_bert.html like it should. When I click, none of the entries are included. I have checked, and I do have the "<!--begin-->" in the guestbook_bert.html" file.

Additionally, when I go to sign_bert.html and fill in the form, I do receive an email to notify me of the contents, so I know something is working right.

I know it's a simple line of code or a comma somewhere, but where? :blah:

WHERE?:wah:

Bob
09-27-2006, 02:54 PM
I have modified the 3 files, renamed them (including guest_bert.cgi) and changed all references (I believe) changing all the "guestbook.html" 's to "guestbook_bert.html"'s.



Did you happen to modify any other portions of the cgi script itself...

Like maybe change $guestlocation = to something else?

If you did I would recommend changing those lines back to the script default and only changing the variables which are the actual file paths...

-Bob

richpee
09-27-2006, 08:47 PM
Thank you for your quick reply.

Yes, I had, Mr. Holmes.
Unfortunately, I, Mr. Watson, have tried it prior to changing the variables, and did indeed change the variables with the same result.

Upon your suggestion, I went back to the original guest.cgi and copied everything below "do not edit below this line" and pasted into my guest_bert.cgi file. Same result again.

The reason I changed the $ variables is because an earlier problem was that signing the bert guestbook was posting to the first guestbook. I managed to change the problem, I believe by changing the ref. in "guestbook_bert.html" to point to the guest_bert.cgi file.

Bob
09-27-2006, 08:50 PM
Thank you for your quick reply.

Yes, I had, Mr. Holmes.

Thanks but I cannot tell a Lie... I peeked ;)


I managed to change the problem, I believe by changing the ref. in "guestbook_bert.html" to point to the guest_bert.cgi file.

That would do it :)

-Bob

richpee
09-27-2006, 09:39 PM
Sorry, maybe I wasn't clear:
The original problem (which I didn't mention) was that sign_bert.html was posting to guestbook.shtml (the wrong guestbook). I changed the guestbook_bert.html code to point to guest_bert.cgi, after which it would not post to anywhere, neither the wrong place nor the right place.

Nothing's fixed, just the problem has changed. Further help would be much appreciated.

Bob
09-27-2006, 09:45 PM
Remember that Server Paths are cASe sensitive and:

/big/dom/xFLIGHTSOFWIT is not the same as /big/dom/xflightsofwit

Hope this helps,
Bob

richpee
09-28-2006, 01:56 AM
Bob, did I mention I want to have your children? No? That's because I'd prefer another way to express my gratitude. But it's the thought that counts.

In any case, the case-sensitiveness worked. I knew it was something stupid like that, but apparently I'm not smart enough to be that stupid. Thanks for the assist! :yeah:

Melissa
09-28-2006, 02:02 AM
Bob, did I mention I want to have your children?I bet if Bob knew you better, he might let you babysit for them... but I doubt he'd let you keep them... :P

Congrats on getting it working. :)