我为我的公司部署了Joomla网站(这个Joomla网站是由第三方开发的)他们给我一个安装说明,只需添加3个ext并声明extension_dir,我已经完成了,但似乎错误仍然发生?
还有一件事他们需要PHP 5.2,而我目前的安装是PHP 5.6,这会导致错误吗?
我重新启动了XAMPP我所做的任何更改。
我在MAC 10.9,XAMPP 1.8.1
PHP.ini中
Directory in which the loadable extensions (modules) reside.
; extension_dir = "./"
; http://php.net/extension-dir
; On windows:
; extension_dir = "ext"
extension_dir = "/usr/lib64"
extension= "x4_property.so"
extension= "x4_project.so"
extension= "unison.so"
我在日志文件中的错误:
[16-Jun-2014 08:59:12 Europe/Berlin] PHP Notice: Undefined index: controller in /Applications/XAMPP/xamppfiles/htdocs/joomla/includes/router.php on line 395
[16-Jun-2014 08:59:12 Europe/Berlin] PHP Notice: Undefined index: controller in /Applications/XAMPP/xamppfiles/htdocs/joomla/includes/router.php on line 404
[16-Jun-2014 08:59:12 Europe/Berlin] PHP Notice: Undefined index: controller in /Applications/XAMPP/xamppfiles/htdocs/joomla/includes/router.php on line 409
[16-Jun-2014 08:59:12 Europe/Berlin] PHP Notice: Undefined index: controller in /Applications/XAMPP/xamppfiles/htdocs/joomla/includes/router.php on line 395
[16-Jun-2014 08:59:12 Europe/Berlin] PHP Notice: Undefined index: controller in /Applications/XAMPP/xamppfiles/htdocs/joomla/includes/router.php on line 404
[16-Jun-2014 08:59:12 Europe/Berlin] PHP Notice: Undefined index: controller in /Applications/XAMPP/xamppfiles/htdocs/joomla/includes/router.php on line 409
[16-Jun-2014 08:59:12 Europe/Berlin] PHP Notice: Undefined index: controller in /Applications/XAMPP/xamppfiles/htdocs/joomla/includes/router.php on line 395
[16-Jun-2014 08:59:12 Europe/Berlin] PHP Notice: Undefined index: controller in /Applications/XAMPP/xamppfiles/htdocs/joomla/includes/router.php on line 404