Recent Topics

1 Jan 03, 2011 09:54    

I enabled the setting Remove repetitive characters and after that users started getting errors that they shouldn't post empty comments.

After removing the option, the comments seem to work fine.

3 Jan 04, 2011 09:03

No, I am talking about the PHP error page which is with a white page.

My PHP version is 5.2.14 and mbstring is loaded.

I was able to reproduce it on the test server.

Steps to reproduce:

1. Go to Control panel -> Global settings -> Plugins.
2. Install Basic antispam plugin if not installed.
3. Edit settings and enable Remove repetitive characters.
4. Try to post comments with multiple lines for example in here:
http://test.b2evo.net/HEAD/blogs/blog1.php/welcome-to-b2evolution#feedbacks

It randomly gives the error message that do not post empty comments.

I haven't yet figured out what causes the error in the message. The problem is that the error message is very random and I had to post several comments both on my own blog and in the test server before seeing it.

But many our users reported seeing the error when the setting was enabled.

4 Jan 30, 2011 17:57

Yep I saw the same thing also. I can confirm this. Had to disable basic antispam to clean it up :(

5 Sep 10, 2011 21:06

(Alex/sam2kb, this is your feature, I leave it up to you to find out what's going on.)

6 Sep 11, 2011 04:34

Well if there's a problem it must be in this regexp, and I really don't see a case when it can output an empty string or error

preg_replace( '~(.)\\1{3,}~u', '$1$1$1', $str );

7 Sep 12, 2011 00:26

Ok, I sort of fixed this in CVS.
The function now returns the original string if some error occurred during character substitution.


Form is loading...