Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

install SS3 gives undefined function mb_http_output()


Reply


4 Posts   1737 Views

Avatar
Bruce B

Community Member, 147 Posts

14 July 2012 at 8:29pm

I have installed SS3 successfully a couple of times on my local machine but my VPS doesn't want to know about it. It gives an error:

Fatal error: Call to undefined function mb_http_output() in /home/bbowden/public_html/framework/core/Core.php on line 206

This server holds already multiple instances of SS2.4. A quick code check shows that SS2.4 checked for the existence of mb_http_output before calling it while SS3 assumes it exists.

Looks like I need to work out how to install this module on my server or edit my SS3 core.php file. I don't like the second option but then again I have no idea how to attack the first. Google, here I come! (and I hope I don't break my server.)

Avatar
Bruce B

Community Member, 147 Posts

14 July 2012 at 11:30pm

Looks like SS3 also requires MySQLi which was optional under SS2.4.

Discovered Easy Apache which makes compiling and installing new versions of PHP relatively pain-free.

SS3 is now running successfully.

Avatar
Darkfaythe

Community Member, 6 Posts

2 December 2012 at 2:58pm

Helpful reply in that it helped me work with EasyApache but after trying this fix, updating the code to the latest release all it seems to have done is move the error line to 232.

Fatal error: Call to undefined function mb_http_output() in /home/spijker/public_html/ss/framework/core/Core.php on line 232

Any suggestions?

Cheers

Avatar
Sean

Forum Moderator, 922 Posts

5 December 2012 at 10:44am

Hi there,

SilverStripe requires the mbstring PHP extension is installed. Could you confirm you've got that installed?

Sean