-
AuthorPosts
-
January 3, 2011 at 11:14 pm #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 Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
January 4, 2011 at 10:45 am #369994Hi @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.
January 4, 2011 at 4:14 pm #370039thanks thuanlq for ur reply
my PHP version : 5.3.2what shoukd i do now ?
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
January 5, 2011 at 3:33 am #370126Hi @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
January 5, 2011 at 11:15 pm #370336hello ,,
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 Friendmenodev
- Join date:
- October 2010
- Posts:
- 11
- Downloads:
- 6
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 5, 2011 at 11:19 pm #370337should 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 = OffJanuary 5, 2011 at 11:20 pm #370338where is that ??
menodev Friendmenodev
- Join date:
- October 2010
- Posts:
- 11
- Downloads:
- 6
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 5, 2011 at 11:25 pm #370340php.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.
January 5, 2011 at 11:28 pm #370341in 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 = 0menodev Friendmenodev
- Join date:
- October 2010
- Posts:
- 11
- Downloads:
- 6
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 6, 2011 at 12:05 am #370346Think 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 = autoYour encoding does not match EUC-JP
January 6, 2011 at 1:39 pm #370474so what should i do now ?
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
January 7, 2011 at 2:34 am #370578Hi @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 .php4January 8, 2011 at 4:01 pm #370836hello ,,,
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 problemsnow i’m trying to re install your last quickstart but this error comes after finishing installation ..
please help
Regardsthuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
-
AuthorPosts
This topic contains 14 replies, has 3 voices, and was last updated by thuanlq 13 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum