PHP Strict Standards: Non-static method spHtml::getUrl() should not be calle...
#1 lwliangma
PHP Strict Standards: Non-static method spHtml::getUrl() should not be called statically in F:\freehost\anjulife\web\SpeedPHP\spFunctions.php on line 231
请高手帮忙解答吧,折腾好久了,累死了!
2014-11-26 14:58:41
#3 lwliangma
感谢楼上回复,但是我加了之后状态没有改变。
error_reporting(0);
// 后台模块程序入口文件
// 载入配置与定义文件
require("config.php");
// 当前模块附加的配置
$spConfig['controller_path'] = APP_PATH.'/modules/'.basename(__FILE__,".php");
$spConfig['url'] = array( // URL设置
'url_path_info' => FALSE, // 是否使用path_info方式的URL
'url_path_base' => '/admin.php', // URL的根目录访问地址,默认为空则是入口文件index.php
);
//$spConfig['launch'] = array(
// 'router_prefilter' => array(
// array('spAcl','maxcheck') // 开启强制的权限控制
// ),
//);
//$spConfig['ext'] = array(
// 'spAcl' => array( // acl扩展设置
// // 在acl中,设置无权限执行将lib_admin类的acljump函数
// 'prompt' => array("lib_sysuser", "acljump"),
// ),
//);
// 载入SpeedPHP框架
require(SP_PATH."/SpeedPHP.php");
require(APP_PATH."/lib/include/Client.php");
import(APP_PATH.'/lib/page.php');
spRun(); // SpeedPHP 3新特性
2014-11-27 09:08:31
#4 jake
忘记了那个是5.5的问题。加上这个
error_reporting(E_ALL & ~(E_STRICT|E_NOTICE));
ini_set("display_errors", "Off");
2014-11-27 09:19:31
#5 lwliangma
感谢jake的协助,,可是问题依旧,我愿意出钱请人帮我解决问题,我的qq 171726456
2014-11-27 11:12:20