xoops forums

xsell

Quite a regular
Posted on: 2013/7/31 22:59
xsell
xsell (Show more)
Quite a regular
Posts: 245
Since: 2008/9/2 1
#1

error after upgrading from 2.5.5 to 2.5.6 (mb_convert_encoding)

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

Mamba

Moderator
Posted on: 2013/8/1 0:25
Mamba
Mamba (Show more)
Moderator
Posts: 10770
Since: 2004/4/23
#2

Re: error after upgrading from 2.5.5 to 2.5.6 (mb_convert_encoding)

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

xsell

Quite a regular
Posted on: 2013/8/1 0:38
xsell
xsell (Show more)
Quite a regular
Posts: 245
Since: 2008/9/2 1
#3

Re: error after upgrading from 2.5.5 to 2.5.6 (mb_convert_encoding)

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..

xsell

Quite a regular
Posted on: 2013/8/1 1:52
xsell
xsell (Show more)
Quite a regular
Posts: 245
Since: 2008/9/2 1
#4

Re: error after upgrading from 2.5.5 to 2.5.6 (mb_convert_encoding)

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