Fork me on GitHub
Subscribe 2

Ticket #554 (fixed bug)

Call to undefined function utf8_bad_clean()

  • Created: 2011-12-05 18:34:07
  • Reported by: daris
  • Assigned to: daris
  • Milestone: 2.0-alpha1
  • Component: code
  • Priority: normal

Fatal error: Call to undefined function utf8_bad_clean() in C:\EWemp\nginx-0.8.52\html\fluxbb-2.0\include\functions.php on line 1830

when mbstring extension is not loaded


daris 2011-12-09 11:13:26

Commit 02bdd40 to fluxbb fluxbb-2.0

#554 Fix "Call to undefined function utf8_bad_clean()" error when mbstring extension is not loaded

daris 2011-12-09 11:22:28

Commit 699b412 to fluxbb fluxbb-2.0

#554 Make sure we load patterns.php file also (which is required by the bad.php)

daris 2011-12-09 11:23:43

  • Owner set to daris.
  • Status changed from open to fixed.

Franz 2011-12-09 11:56:55

Did you report it upstream in Frank's repository?

daris 2011-12-09 12:01:27

I didn't, because it looks like a FluxBB related issue. The utf8 module doesn't need utf8_bad_clean function when mbstring extension is disabled (according to the comments in core/utf8/mbstring.php), but FluxBB needs that function no matter when mbstring extension is enabled or disabled