Member
Member
jeffjohn   2009-03-14, 16:02
#1

Not particularly a problem, but in setup I get the alert:-
mbstring.internal_encoding to UTF-8 in your php.ini file recommended.
My PHP 5.9 info files include the following:-
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value

However I find no mention of any UTF-8 reference in the php.ini files.

Can you see anything I can modify; it is not really important but it intrigues me!

thanks jeffjohn

Member
Member
sbillard   2009-03-14, 16:18
#2

mbstring.internal_encoding no value no value

this is what you should change.

Member
Member
jeffjohn   2009-03-14, 18:53
#3

thanks sbillard; how do I do this exactly?

Member
Member
sbillard   2009-03-14, 19:27
#4

Your site should provide an editor for changing the PHP.ini file. You will find a line there for hte mbstring.internal_encoding setting. Change it to be UTF-8. You may need to contact your provider if you cannot find the PHP.ini file or editor.

Member
Member
jeffjohn   2009-03-15, 12:08
#5

Many thanks sbillard; setup runs without any alerts now after adding the line to php.ini. If I might risk another query, going to admin -> 'check updates', I see the following fault msg:- Fatal error: Call to undefined function sprinf() in C:\Program Files\Abyss Web Server\htdocs\zenphoto\zp-core\admin.php on line 1092

Are you able to give me information on this, please? thanks again - brilliant application - jeffjohn

Administrator
Administrator
acrylian   2009-03-15, 12:37
#6

That's actually a typo, should be "sprintf". But admin.php does not have a line 1092, there are only 507.... Since you did not say which Zenphoto version you are using you might try the nightly as this typo seems to be already fixed.

Member
Member
jeffjohn   2009-03-16, 10:29
#7

thanks again - upgraded and no problems now. jeffjohn

Member
Member
mikeque   2009-11-30, 19:46
#8

As an alternative, this line seems to work, if you add it to the .htaccess file:
PHP_VALUE mbstring.internal_encoding UTF-8

Member
Member
Laurent   2009-12-01, 23:21
#9

Thanks for this hack mikeque ;-)

Laurent

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.