error encoding

Started by inter, November 19, 2011, 08:11:34 AM

Previous topic - Next topic

inter

I removed all censorship of speech and file .htaccess and the problem with censorship disappeared  :D
Sorry for my English

inter

 :-\


2: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Compilation failed: invalid UTF-8 string at offset 0



find:
// Censoring isn't so very complicated :P.
$text = preg_replace($censor_vulgar, $censor_proper, $text);
return $text;

replace:
// Censoring isn't so very complicated :P.
$old_text = $text;
if (!$text = @preg_replace($censor_vulgar, $censor_proper, $text))
return $old_text;
else
return $text;


:)
Sorry for my English

emanuele

That silence the error, but doesn't fix the problem...that I still have no idea where it is...


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

AZMazda3

I am getting this too but it seems to only come up when I have spammers that get through the registration process. Otherwise I don't  see it.  It's  new to me and we haven't added any new mods in a long time.

Advertisement: