Hello,
I’ve changed in modox configuration character encoding to iso-8859-2 and since that I have problems with viewing gallery on my site. When I go to the gallery I get information:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: htmlentities() [function.htmlentities]: charset `iso-8859-2’ not supported, assuming iso-8859-1
Error type/ Nr.: Warning - 2
File: /users/0005/luxw/www/luxw.website.pl/assets/snippets/ditto/classes/phx.parser.class.inc.php
Line: 243
Line 243 source: case "htmlent": $output = htmlentities($output,ENT_QUOTES,$modx->config[’etomite_charset’]); break;
Could You kindly help me in solving this problem?
lx
htmlentities php function does not support iso-8859-2 charset, so replace all instances of $modx->config[’etomite_charset’] in maxigallery code to something that is supported, see the
php manual page for supported charsets. I’ll make that configurable in next version.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."