Welcome Guest, Not a member yet? Register   Sign In
mb_url_title() generates an error
#1

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.
Reply
#2

(This post was last modified: 09-04-2020, 08:20 AM by InsiteFX.)

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
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB