Messages are NOT being deleted

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
MrBaseball34
Posts: 11
Joined: Fri Jun 30, 2006 2:49 pm

Messages are NOT being deleted

Post by MrBaseball34 »

Script URL: http://www.theshipmanfamily.com/mboard
Version of script: 1.22
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try:

Write your message below:

The messages aren't being deleted when I enter the admin pwd.

I modified mboard.php to write all the <!--o-->, <!--s-->, <!--z-->
and <!--k--> comments CORRECTLY, per W3C guidelines, to <!-- o -->,
<!-- s -->, <!-- z --> and <!-- k -->.

Could this be the problem?

I also do not see where you are actually deleting the file in the msg dir in
doDelete.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Yes, changing the comment tags is the problem. You will have to update all the regular expressions and strstr searches to make that work.

Deleting of messages is done with the unlink PHP function.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
MrBaseball34
Posts: 11
Joined: Fri Jun 30, 2006 2:49 pm

XHTML support, then?

Post by MrBaseball34 »

Then you should consider updating the code to handle comments correctly per the specs. Better yet, would be to support XHTML
strict, then it would force you to do that.
MrBaseball34
Posts: 11
Joined: Fri Jun 30, 2006 2:49 pm

reverted

Post by MrBaseball34 »

I tried updating the regexs, too, but it still didn't work.
I will revert back to the non-std code.
Locked