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   1633 Views

Avatar
Bruce B

14 July 2012 at 8:29pm Community Member, 145 Posts

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

14 July 2012 at 11:30pm Community Member, 145 Posts

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

2 December 2012 at 2:58pm Community Member, 6 Posts

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

5 December 2012 at 10:44am Forum Moderator, 921 Posts

Hi there,

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

Sean