Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • fajertv Friend
    #158249

    hello ,,
    after installing JA Teline IV quickstart i got the line :

    Fatal error: Call to undefined function mb_internal_encoding() in /home/alfajer1/public_html/iv/components/com_k2/helpers/route.php on line 55

    when i try to view my website …

    please help

    thuanlq Friend
    #369994

    Hi @faiertv,

    Your problems are becasue “mb_internal_encoding()” function was undefined, but this function is php function. Please check php version on your site, this function work on (PHP 4 >= 4.0.6, PHP 5).

    If you can not resolve this issues, please provide me your website information (ftp account, admin user account ).

    Thankx.

    fajertv Friend
    #370039

    thanks thuanlq for ur reply
    my PHP version : 5.3.2

    what shoukd i do now ?

    thuanlq Friend
    #370126

    Hi @fajerty,
    Please make sure your server has installed mbstring extension, or check if the mbstring extension is enabled : , check the screenshot.

    If your server didn’t installed, please see the install section for the mbstring extension in ref link http://vn2.php.net/mbstring
    If you can’t edit php.ini on your server, please try rename the htaccess.txt to .htaccess then add the following two lines in the end of .htaccess file.


    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4

    fajertv Friend
    #370336

    hello ,,
    i checked the mbstring extension ..
    and i found it in my php.ini as the shown in your screenshot ,,

    so , where is the problem ?

    menodev Friend
    #370337

    should look something like this:

    [mbstring]
    mbstring.language = all
    mbstring.internal_encoding = UTF-8
    mbstring.http_input = auto
    mbstring.http_output = UTF-8
    mbstring.encoding_translation = On
    mbstring.detect_order = UTF-8
    mbstring.substitute_character = none;
    mbstring.func_overload = 0
    mbstring.strict_encoding = Off

    fajertv Friend
    #370338

    where is that ??

    menodev Friend
    #370340

    php.ini, but IIS along with K2 is not recommended. Google will tell you.

    You could use eclipse or dw as a local windows editor and connect remote to a unix environment, where Apache is ment to run on.

    fajertv Friend
    #370341

    in my php.ini . here what i found :

    [mbstring]
    ; language for internal character representation.
    ;mbstring.language = Japanese

    ; internal/script encoding.
    ; Some encoding cannot work as internal encoding.
    ; (e.g. SJIS, BIG5, ISO-2022-*)
    ;mbstring.internal_encoding = EUC-JP

    ; http input encoding.
    ;mbstring.http_input = auto

    ; http output encoding. mb_output_handler must be
    ; registered as output buffer to function
    ;mbstring.http_output = SJIS

    ; enable automatic encoding translation accoding to
    ; mbstring.internal_encoding setting. Input chars are
    ; converted to internal encoding by setting this to On.
    ; Note: Do _not_ use automatic encoding translation for
    ; portable libs/applications.
    ;mbstring.encoding_translation = Off

    ; automatic encoding detection order.
    ; auto means
    ;mbstring.detect_order = auto

    ; substitute_character used when character cannot be converted
    ; one from another
    ;mbstring.substitute_character = none;

    ; overload(replace) single byte functions by mbstring functions.
    ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ; etc. Possible values are 0,1,2,4 or combination of them.
    ; For example, 7 for overload everything.
    ; 0: No overload
    ; 1: Overload mail() function
    ; 2: Overload str*() functions
    ; 4: Overload ereg*() functions
    ;mbstring.func_overload = 0

    menodev Friend
    #370346

    Think i found your problem…

    ; enable automatic encoding translation accoding to
    ; mbstring.internal_encoding setting. Input chars are
    ; converted to internal encoding by setting this to On.
    ; Note: Do _not_ use automatic encoding translation for
    ; portable libs/applications.
    ;mbstring.encoding_translation = Off

    ; automatic encoding detection order.
    ; auto means
    ;mbstring.detect_order = auto

    Your encoding does not match EUC-JP

    fajertv Friend
    #370474

    so what should i do now ?

    thuanlq Friend
    #370578

    Hi @fajertv,
    Please check your php.ini again, you make sure mbstring extension was enabled on php.ini,
    go to line 616 and change code


    ;extension=php_mbstring.dll

    to


    extension=php_mbstring.dll

    then restart apache on host.

    Or you can try add two line code on the .htaccess file


    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4

    fajertv Friend
    #370836

    hello ,,,
    i did ur steps and restarted apache ,, but the problem still
    “Fatal error: Call to undefined function mb_internal_encoding() in /home/alfajer1/public_html/v4/components/com_k2/helpers/route.php on line 55”

    i wanna tell u that i installed the the first quickstart u offer for this tepmlate on
    http://www.alfajertv.com/2011
    and its working with some rtl problems

    now i’m trying to re install your last quickstart but this error comes after finishing installation ..

    please help
    Regards

    thuanlq Friend
    #371107

    Hi @fajertv,

    Did you fix “fatal error: call to undefined ..” problems? i checked your site and didn’t see the error.

    The rtl problem, you can edit styles in “template_rtl.css” to show correctly.

Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 3 voices, and was last updated by  thuanlq 13 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum