Joomla 安装示例数据库时显示: The XML response that was returned from the server is invalid 。如果忽略或者不安装示例数据库,打开页面后显示很多错误,例如 Non-static method ...
造成这种现象的原因可能是多样的,而我所遇到的是由于 php 的配置引起,修改 lampp/etc/php.ini 的 error_reporting 为 E_ALL & ~E_NOTICE,然后重新启动 apache ,问题均可解决。另外,示例数据库可以手动执行 sample_data.sql 安装。