1
xsell
error after upgrading from 2.5.5 to 2.5.6 (mb_convert_encoding)
  • 2013/7/31 22:59

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


hello
after upgrading from 2.5 to 2.6 i get this error ..

Fatal error: Call to undefined function mb_convert_encoding() in /home/xxxx/public_html/class/module.textsanitizer.php on line 517

i had to comment out the 517 line to make it work .. the only place that error is appear is when i try to edit the general settings on admin panel ..

any idea ?

i Have mysql 5.17 Apache 2.2.6 . php5 , UTF8 encoding

2
Mamba
Re: error after upgrading from 2.5.5 to 2.5.6 (mb_convert_encoding)
  • 2013/8/1 0:25

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Can you please run a file check on your installation?

My line 517 is totally different from yours, so I suspect that you might not have the right file.

The best way is to download the full XOOPS installation and copy all the files, except

- /install folder
- mainfile.php
.

Don't forget to copy also the /upgrade folder and run it.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
xsell
Re: error after upgrading from 2.5.5 to 2.5.6 (mb_convert_encoding)
  • 2013/8/1 0:38

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


Thanks,

But are you telling me that line 517 is not

$text mb_convert_encoding($text$charsetmb_detect_encoding($text,$charset.', ISO-8859-1'true));


in file class/module.textsanitizer ..

thats the line i had to comment out ...

i kept my mainfile.php untouched and copied whole files inside htdocs from 2.5.6 to replace my old ones .. after removing install folder i did the upgrade and all went fine but the mentioned error..

4
xsell
Re: error after upgrading from 2.5.5 to 2.5.6 (mb_convert_encoding)
  • 2013/8/1 1:52

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


Got it .. Had to enable php mbstring .. Credit goes to someone called
LaFortuna in this forum

forums.sugarcrm.com/f115/fatal-error-call-undefined-function-mb_convert_encoding-78153


Login

Who's Online

93 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 93


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits