xampp安装joomla出现Strict Standards错误

之前介绍了joomla的详细安装步骤,博客吧使用的是xampp搭建的php环境做的安装测试,安装完成后,访问joomla首页和打开登陆界面均出现了Strict Standards: Accessing static property JCache的错误提示,最后通过修改joomla的configuration.php文件解决了该问题。

Strict Standards提示如下:

Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 420
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 420
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422
Strict Standards: Accessing static property JCache::$_handler as non static in E:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 422

解决joomla Strict Standards提示:

  1. 在joomla程序根目录下找到configuration.php文件,并对其进行编辑
  2. 在该文件中找到代码
    1
    
    public $error_reporting = 'default';

    将其中的default更改为7

  3. 保存文件即可

PS:今天是2012年大年初一,祝大家春节快乐!

发表留言