Have a modified Gbook 1.5 (using mods in this forum). Was running OK for months. I store all my site files in an off-line archive file area, and the last time I updated the archive everything was working properly with gbook.
Now just this weekend, when I tried to delete an existing message, I got the message
"ERROR
Invalid ID"
I noticed that banned ip file was quite full, so I deleted existing and reinstalled original from archive. I also reinstalled settings.php, gbook.php and modified my_entries file (has different name) to delete the last two entries.
Even after all this I cannot get into the delete area. The other admin functions: View IP, Reply, and View E-mail seem to work properly.
Can you assist?
unable to delete msgs, invalid id
I forgot to include my guestbook address in my post.
http://www.gilsbus.ca/gbook/gbook.php
http://www.gilsbus.ca/gbook/gbook.php
There's an error in your code (your own or one from a mod) your delete links print for example
http://www.gilsbus.ca/gbook/gbook.php?a=delete&num=0</a>.'
instead of just
http://www.gilsbus.ca/gbook/gbook.php?a=delete&num=0
(the </a>.' is too much at the end)
http://www.gilsbus.ca/gbook/gbook.php?a=delete&num=0</a>.'
instead of just
http://www.gilsbus.ca/gbook/gbook.php?a=delete&num=0
(the </a>.' is too much at the end)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Thanks for the help Klemen,
I found the extra end tag and deleted it.
Earlier, when doing some testing off-line, I must have started a link, and manually added an end tag, not thinking about the tag auto-complete which is enabled in my editor. When I deleted the link later, I missed that extra tag. The file eventually got uploaded to the web, possibly as a result of another modification and then the problem showed itself.
my guestbook is now back to normal operation.
Thanks again.
Gil
I found the extra end tag and deleted it.
Earlier, when doing some testing off-line, I must have started a link, and manually added an end tag, not thinking about the tag auto-complete which is enabled in my editor. When I deleted the link later, I missed that extra tag. The file eventually got uploaded to the web, possibly as a result of another modification and then the problem showed itself.
my guestbook is now back to normal operation.
Thanks again.
Gil