Urgent Help needed! Fatal error: Call to undefined function mb_detect_encoding()
Clicking on 'Design' either in the C5 header bar or on the page pop up menu bring up the following error:
Fatal error: Call to undefined function mb_detect_encoding() in \\NAS43ENT\domains\m\mocohlive.com\user\htdocs\concrete\helpers\concrete\marketplace\themes.php on line 16
While clicking on any of the custom editable areas I have created in the theme bring up this error:
Fatal error: Call to undefined function mb_detect_encoding() in \\NAS43ENT\domains\m\mocohlive.com\user\htdocs\concrete\helpers\concrete\marketplace\blocks.php on line 17
I'm new to C5 and loved the way it all works and have previously messed around with customising existing themes.
Utf8 compatible lower case filter needs mbstring extension to be enabled.
if you goto this page:
there is a link to a file we ask people to post before we decide if we can even install concrete5 on the site for them. If you download that, unzip it, and upload the PHP file to a spot you can share it will help a lot.
We'll need more information from you to figure out what's going on.
1. Create a blank file on your server and name it something like "serverinfo.php", and then copy/paste the following text in it. (or just download the file franz linked to).
2. View that page in your brower, (go tohttp://www.itsnotroscience.com/serverinfo.php)...
2. Point us to that page and we'll be better able to diagnose the problem you're having.
Also, do you know who the administrator of your server is? If so, ask them to turn on the PHP Multibye extension. Beyond concrete5, almost all PHP web applications need this extension to properly handle international characters.
I have spoken to the web host:http://www.fasthost.co.uk and it appears they do not install the PHP multibyte extension on any of their shared servers. Their Tech support says that I can disable the need for it in the php script on my website is this what 'jgarcia' meant? If so does anyone know where this script might be inside the concrete directory?... (or did you mean on the main windows server which I do not have permissions to get to?)
i'm not 100% sure that that override would work but i think that it would...franz or andrew could confirm. looks like those lines just convert the marketplace themes xml file to UTF-8, so as long as it's already in UTF-8, it should be okay (not sure if it would be or not)
or you could just edit the original core file and comment those lines out, but that's definitely not best practice.
cheers for you help in advance
'cannot redeclare class ConcreteMarketplaceThemesHelper' in the themes.php file inside hte directory I have just created.
the other immediate option would be to just edit the original file by commenting those two lines out, but be careful when doing so and make a backup.
Would be nice if c5 prints a warning in case you don't have it but still works tho...
Love C5 guys keep up the good work