Forums | Mahara Community

Support /
Share not working: PHP Fatal error: Call to undefined function mb_strlen()


anonymous profile picture
Account deleted
Posts: 27

02 October 2012, 12:10

Greetings,

Late last week we did an emergency move of our Mahara site to a new server running a newly-installed OS. I've got most of the site up and running, but a few alarming issues are outstanding.

Number one on my list right now: Users cannot share their pages or portfolios. Clicking on 'Share' generates a blank page.

Message in the error log is: [Tue Oct 02 09:56:01 2012] [error] [client 10.1.100.194] PHP Fatal error:  Call to undefined function mb_strlen() in /path/to/my/mahara/htdocs/lib/form/elements/viewacl.php on line 110, referer: https://my.site/view/blocks.php?id=11334

I'm not a php programmer, but a quick Google search indicates that mb_strlen is a standard php function. If it's not found, that suggests to me that not all the php libraries/resources have been installed. What do I need to tell my SysAdmin?

Linux RedHat
Mahara v1.4.0
mySQL5

Hrynkiw
Kwantlen Polytechnic University

Dirk Meyer's profile picture
Posts: 425

02 October 2012, 13:12

Hello Donna,

mb_strlen may be installed but not enabled. They may just have to enable it. See here for more. http://www.php.net/manual/en/mbstring.installation.php

anonymous profile picture
Account deleted
Posts: 27

02 October 2012, 14:20

Ah! That's useful. Thank-you Dirk.

3 results