Call to undefined function mb_substr() [message #162973] |
Mon, 13 September 2010 12:39 |
tinkuforyou
Messages: 16 Registered: February 2010 Location: India
Karma: 0
|
Junior Member |
|
|
Hi,
I am seeing the following error whever user searches for any thinkg in my forum.
Fatal error: Call to undefined function mb_substr() in apache-2.2.15/htdocs/messageboardappl/FudForum/theme/default/search.php on line 1165
I have default php.ini properities, pelase let me know what are the i need to chagne to enable mb-string .
following are the php.ini values :-
[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
Please let me know what are the values i need to change , so that it enables the mb_string lib.
Note :- I chagned the mbstring.func_overload = 0 to mbstring.func_overload = 2 and restarted the apache but no luck and i installed the mb_string also.
Could any one let me know where mb_string related files will be stored after installing ?
Thanks
Manoj
|
|
|
|
|
Re: Call to undefined function mb_substr() [message #162979 is a reply to message #162973] |
Tue, 14 September 2010 07:43 |
tinkuforyou
Messages: 16 Registered: February 2010 Location: India
Karma: 0
|
Junior Member |
|
|
tinkuforyou wrote on Mon, 13 September 2010 08:39
Note :- I chagned the mbstring.func_overload = 0 to mbstring.func_overload = 2 and restarted the apache but no luck and i installed the mb_string also.
Could any one let me know where mb_string related files will be stored after installing ?
Could you please let me know ,after installing mb_string where the files will be located.
Thanks
Manoj
|
|
|
|