iconv_set_encoding error in Joomla installation
Posted by WestNIC Support on 19 January 2016 11:21 PM
You may receive following error on Joomla installation page: "Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in /home/username/public_html/libraries/joomla/string/string.php on line 27"
To fix this error, you need edit following file: /home/username/public_html/libraries/joomla/string/string.php
Please find following lines:
Then replace them with:
It will fix "Deprecated: iconv_set_encoding()" error.
You must put this file inside following folders: public_html, administrator, installation and libraries.
If you receive "time zone" errors, please add following line at the very bottom of php.ini file:
date.timezone = "America/New_York"