Author |
Message |
20/11/2004 16:58:59
|
Anonymous
|
Hi, have had a (registered) guestbook working for a while, but on one day i got this message after posting a new entry:
I have never changed anything and it was woring fine always. I have deleted all the files and installed the guestbook again, but the problem remains. Can anyone help me? The guestbook is located here:
http://www.ucpzone.com/madagascar/guestbook/guestbook.html
Thanks.
|
|
20/11/2004 17:16:09
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
Try getting a fresh copy of the files from here.
And upload them, make sure NOT to overwrite your current db of entries!
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
21/11/2004 07:08:01
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
You stated this was working before, but since there are no entries in your book, I am thinking it was a problem all along that is just now being noticed.
You are using the cgi version, while most of us are using the php version.
Your guestbook is at: http://www.ucpzone.com/madagascar/guestbook/guestbook.html
The cgi-bin directory you are using is: http://www.ucpzone.com/cgi-bin
(I believe) Your guestbook.pl file has the following settings:
[list]
[/list]
The following code looks like it could be the problem:
[list][/list]
Try changing it to:
[list][/list]
Question? Is "madagascar" a subdomain or just a subdirectory?
If "madagascar" is a subdomain, it should have its own cgi-bin, in which case you would put the guestbook.pl file in http://www.ucpzone.com/madagascar/cgi-bin and change the url of script to:
[list][/list]
You might also need to change the code in the addentry.html file to:
[list][/list]
Can somebody else verify this?
|
|
22/11/2004 11:48:48
|
Anonymous
|
Thanks for your help, sorry i wanst clear; my guestbook did work, and had entries, but unfortunately i deleted them when re-installing the guestbook.
|
|
22/11/2004 11:50:06
|
Anonymous
|
And no, madagascar is no subdomain, its just a directory.
I will see and try if you suggestion work, thanks again
|
|
22/11/2004 11:56:22
|
Anonymous
|
i have tried this in guestbook.pl
but this gives me a 404 after submitting
|
|
22/11/2004 12:04:43
|
Anonymous
|
sorry not a 404, but the same error:
|
|
22/11/2004 13:41:59
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
What is the code in the addentry.html?
Do you have php and mysql? What about using the php version?
|
|
22/11/2004 14:21:32
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Are permissions for cgi-bin/guestbook.pl set at 755?
|
|
22/11/2004 14:43:14
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Looking at your guestbook.html source code again, you deleted the wording "Thank you for... here you can leave your mark." You also deleted the code underneath which calls for the jump:
In deleting the above, you also deleted the part that is required:
Would suggest you start over. Put the original guestbook.html file back on the server and only delete the words. Leave the html codes there.
|
|
22/11/2004 16:51:19
|
Anonymous
|
Amber222, thanks a lot for all your help. I have re-inserted the deleted line, although i dont believe that was the problem, all i deleted was the drop-down menu from where you can go back to the guestbook. Anyway, i put it back but the problem remains. I will try to install a brand new guestbook tomorrow, maybe the PHP version.
Ps, yes my chmod settings are correct.
|
|
|