CodeIgniter Forums
mb_url_title() generates an error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: mb_url_title() generates an error (/showthread.php?tid=77465)



mb_url_title() generates an error - kilden - 09-04-2020

Hello,
I need to transform titles with accented characters and I've tried the function mb_url_title(). Unfortunately, this one generate the error : Call to undefined function App\Controllers\mb_url_title()

What did I do wrong ? Strangely url_title() works and I've tried to declare the uri helper in my controller.

thanks for help.


RE: mb_url_title() generates an error - InsiteFX - 09-04-2020

Sounds like the mb extensions are remarked out in your php.ini file.

Also did you load the url_helper?

It works here I just tried it.

Check your php.ini file and remove the ; semi-colon from

;extension=mbstring

should be
extension=mbstring