Page 1 of 1
iconv and mbstring extention with "free"
Posted: 23 Aug 2008, 04:31
by raistlin
Hi everyone
i'm using the admin interface and it says two errors about php functions
iconv and mbstring extention which are missings on my php server, i don't know how resolve this and also how this errors affected the gallery
thank by advance
regards
Posted: 24 Aug 2008, 15:47
by Nick
As you can read in
Imagevue 2 Requirements
from
Imagevue 2 Documentation Section
Mbstring is quite needed unfortunately, you might have issues with national characters, although if you use only latin letters (ie English) you have nothing to worry about.
To enable it you have to uncomment (remove ;)corresponding line in php.ini and restart webserver. If you are not sure how, you should ask your support to help you. The line in question looks like this:
Posted: 24 Aug 2008, 16:54
by raistlin
thank you for the response
I don't know if i can join the support to enable it, this provider don't talk a lot... But if you says that the latin font is not a problem it's allright for my use, i m french.
Good night!
Posted: 25 Aug 2008, 01:22
by Nick
What do you mean don't talk alot? Just send them email, it will take 1 min to uncomment couple of lines.
Posted: 07 Nov 2008, 12:06
by davegod75
pain wrote:As you can read in
Imagevue 2 Requirements
from
Imagevue 2 Documentation Section
Mbstring is quite needed unfortunately, you might have issues with national characters, although if you use only latin letters (ie English) you have nothing to worry about.
To enable it you have to uncomment (remove ;)corresponding line in php.ini and restart webserver. If you are not sure how, you should ask your support to help you. The line in question looks like this:
My host allows me to have a custom php.ini. Instead of commenting out a line to fix this problem and the EXIF and ICONV problems, can I add anything to my own file?
BTW, my provider says they support mbstring but I still get the error.
Posted: 07 Nov 2008, 13:10
by davegod75
I've added the following to my php.ini but I still get the three errors: mbstring, exif, and iconv
; Set default language
mbstring.language = Neutral;
;; Set default internal encoding
;; Note: Make sure to use character encoding works with PHP
mbstring.internal_encoding = UTF-8 ; Set internal encoding to UTF-8
;; HTTP input encoding translation is enabled.
mbstring.encoding_translation = On
;; Set default HTTP input character encoding
;; Note: Script cannot change http_input setting.
mbstring.http_input = pass ; No conversion.
mbstring.http_input = auto ; Set HTTP input to auto
; "auto" is expanded to "ASCII,JIS,UTF-8,EUC-JP,SJIS"
mbstring.http_input = SJIS ; Set HTTP2 input to SJIS
mbstring.http_input = UTF-8,SJIS,EUC-JP ; Specify order
;; Set default HTTP output character encoding
mbstring.http_output = pass ; No conversion
mbstring.http_output = UTF-8 ; Set HTTP output encoding to UTF-8
iconv.input_encoding = ISO-8859-1
iconv.output_encoding = ISO-8859-1
iconv.internal_encoding = ISO-8859-1
exif.encode_unicode = ISO-8859-15
exif.decode_unicode_motorola = UCS-2BE
exif.decode_unicode_intel = UCS-2LE
exif.decode_jis_motorola = JIS
exif.decode_jis_intel = JIS
Posted: 08 Nov 2008, 05:06
by Nick
The thing is, those are config options for extensions to use when they are enabled. There is another section in php.ini where you actually enable them:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
Posted: 08 Nov 2008, 05:30
by davegod75
so do you have the lines I need to add for my php.ini to get these three things working then?
I have a linux host.
pain wrote:The thing is, those are config options for extensions to use when they are enabled. There is another section in php.ini where you actually enable them:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
Posted: 08 Nov 2008, 15:43
by carter2
All you have to do is uncomment before mbstring.dll or so
I doubt that your ini will make any difference, probably best to contact the hosts again.
This code snippet is for windows but it's more or less the same for linux
extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_iconv.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
iconv mbstring exif
Posted: 09 Nov 2008, 08:36
by davegod75
I had my host upgrade me to php5 and all my errors/warnings went away. This included the mbstring, iconv, and exif warnings.
Thanks for everyones help