Iconv php extension

Permalink
Hi,
Just spent couple of hours investigating weird problem in a c5 site. The editor couldn't publish page changes because when he clicked on "Exit Edit Mode", the publish changes/save changes/... wouldn't appear (empty sidebar area). As i checked the issue caused by
\concrete\vendor\punic\punic\code\Comparer.php: sort() method. Apparently the method creates a warning and break the code when special characters (non-utf8) characters passed by. I solved the problem by installing php iconv extension. Also this issue mentioned on this github topic and "mlocati" addressed the issue:
https://github.com/punic/punic/issues/88...
But I wonder why C5 installer does not check the availability of this extension on install? isn't it considered necessary for C5 to work?

shahroq
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi shahroq,

If you can reproduce the error using the GitHub develop branch, I would make a GitHub issue for it.

When making the issue, please include specific details and the steps to reproduce it.
shahroq replied on at Permalink Reply 1 Attachment
shahroq
Hi Karl,
For reproducing the issue you should disable iconv extension on your environment.
As I guess "iconv" is enabled by default in most servers, but at the mentioned server it wasn't. I'm not sure in cases of default extensions like iconv, is it makes sense to check the availability on installer page (check attached screenshot) ?