Hi,
I have recently moved my osCommerce website to a new server but I believe this could be a PHP code problem I’m having, rather than an osCommerce problem.
I know little about PHP and was wondering if anyone could help me work out what the problem is with this line of code…
I have moved my website to a new server earlier today, just finished updating the configure.php files with the new database information .etc.
I believe everything should be set but I’m getting the following message in the browser when trying to load my website: Fatal error: Call to undefined function mb_substr() in public_html/includes/modules/boxes/bm_specials.php on line 48
Here is the line of code (line 48): $p_desc = mb_substr(strip_tags($product[‘products_description’]), 0, MAX_DESCR_BOX, ‘UTF-8’).’…’;
I found on the internet that someone advised to change the function mb_substr to substr so I tried that, my website loaded up but then in the header of the page I could see the following text: Warning: Wrong parameter count for substr() in public_html/includes/modules/boxes/bm_specials.php on line 48
Here is the link to the website http://www.thefurnituredepartment.com
I really appreciate any help
Thanks
James