在最新wampserver上运行spaweditor总出错,是否只能通过php降级解决?
已将php.ini中参数进行了修订:error_reporting = e_all & ~e_notice & ~e_strict & ~e_deprecated
ftp到在其它第三方提供的web host 运行一切正常,可是在本地的wampserver依然是是如图的结果,求指点!谢
是不是只能将wampserver降级的2.1 (php5.3)才能解决
php wampserver
------解决方案--------------------
你可按错误提示修改程序
比如他说 spawconfig::setstaticconfigitem 不是静态方法
那你就找到 spawconfig 类定义中的 function setstaticconfigitem 在前面加上 static 声明
------解决方案--------------------
class t {
function foo() {
echo 'abcd';
}
}
class t1 {
static function foo() {
echo 'abcd';
}
}
t::foo(); //这要报错 strict standards: non-static method t::foo() should not be called statically in
t1::foo(); //这个就不报错