joomla新安装报错修复1.6.x/1.7.x
Strict Standards: Static function JDatabase::test() should not be abstract in C:\inetpub\wwwroot\libraries\joomla\database\database.php on line 350
Notice: iconv() [function.iconv]: Detected an illegal character in input string in D:\syta\libraries\joomla\utilities\string.php on line 562
Notice: iconv() [function.iconv]: Detected an illegal character in input string in D:\127.0.0.6\libraries\joomla\utilities\string.php on line 562
等等,安装中文语言后出现的错误修复。
把return iconv($from_encoding, $to_encoding.'//TRANSLIT', $source);
改为return iconv($from_encoding, 'gbk//IGNORE', $source);就可以了!