I got stuck into this problem and I can't seem to find a solution.
The version of PHP installed in the server is 5.3.22. After installing Joomla and the default sample data I got this error accessing the web site:
Fatal error: Call to undefined function mb_strpos() in /public_html/site/templates/yoo_sync/layouts/module.php on line 115
I checked the phpinfo page and I noticed that option --enable-mbstring
is missing:
I spoke with the hosting company's support team and they told me to add the following entry to the .htaccess file in the Joomla installation directory:
AddHandler application/x-httpd-php55 .php
Now I can see the option there but many of the others are missing:
which causes the following error (due to the missing options):
Database connection error (1): The MySQL adapter 'mysqli' is not available.
Is there anything else I can try?
Just switch the code to JString:strpos(). Joomla does not require that you have mb installed.