This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Paul's Time Sink

| Main | Albums |

Fixed filtering bug in pLog

Paul Westbrook | 12 July, 2005 10:18

I had been noticing that spam comment messages had been getting through my spam filter in pLog.  When I looked at the bayesian token database, it appeared that the tokens were being considered non-spam tokens.  I wasn't able to find the messages that had those tokens in them.

After a little investigation, I found the problem.  It appeared that if the message pass through the bayesian filter, and it thought that it wasn't spam, and then if it was blocked by another filter, the message was deleted.  This would prevent me from being able to correct the bayesian spam filter.

I made a fix for this and have put it in the bug report.  Now when a comment is rejected for any reason, if the bayesian filter through that it was not spam, it will untrain it and then retrain it as spam.  Once it is approved, I will check it in.

With this fix, all spam messages have been blocked.  (And the bayesian database is being trained correctly.)

 (More)

Fixed php upgrade problems

Paul Westbrook | 12 July, 2005 07:22

Since I had the problems upgrading php, I really didn't spend too much more time trying to figure out what was the problem.  Just recently, a the 4.3.11 version of php was released, so I decided to try the upgrade again. 

I hit the same problem again.  I did another search and I found the solution to my problem.  I disabled the zend optimizer, and everything works correctly.

Technorati Tags: ,

Powered by LifeType
Design by Book of Styles