V3.1 在PHP5.3环境中的BUG

2020-12-01 10:00

安装时
define('MAGIC_QUOTES_GPC', get_magic_quotes_gpc());
这个方法 5.3 不支持 get_magic_quotes_gpc()
可以
define('MAGIC_QUOTES_GPC', @get_magic_quotes_gpc());

安装完成后 前台提示
Strict Standards: Non-static method Core_Timer::display() should not be called statically in E:\www\source\core\core.func.php on line 574

后台无法登陆
输入账号密码后提示

登录成功,正在跳转后台管理中心
"); echo("

2秒后 如果你的浏览器没有自动跳转,请点击此链接
"); break; case 3; echo(""); echo("

2秒后 如果你的浏览器没有自动跳转,请点击此链接
"); break; case 4; echo(""); echo("

2秒后 如果你的浏览器没有自动跳转,请点击此链接
"); break; case 1; echo("

"); break; case 2; echo("

....
因为无法登陆后台  其它未测试  希望开发者能处理下

5838 次浏览 4 条评论 收藏

说说我的看法

登录后可以发表评论 登录
4个评论
-- 2020-12-01 10:00
永远支持楼主,继续发好贴
回复
-- 2020-12-01 10:00
谢谢楼主反馈,我们将更新到下一个版本,兼容PHP5.3。
回复
-- 楼主 2020-12-01 10:00
另外在各详细页面  下一页的方法提示出错
以下付我的解决办法
前台下载详细页面 提示
Strict Standards: Non-static method Mod_Down::nextitem() should not be called statically in E:\\www\\source\\widget\\download_detail.php on line 70
修改  source/module/mod.down.php 第 166行
将 function nextitem($id){
修改为 public static function nextitem($id){

产品详细页 提示
Strict Standards: Non-static method Mod_Product::nextitem() should not be called statically in E:\\www\\source\\widget\\product_detail.php on line 101
修改  source/module/mod.product.php 第 338行
将 function nextitem($id){
修改为 public static function nextitem($id){

新闻详细页 提示
Strict Standards: Non-static method Mod_Info::nextitem() should not be called statically in E:\\www\\source\\widget\\info_detail.php on line 104
修改  source/module/mod.info.php 第 170行
将 function nextitem($id){
修改为 public static function nextitem($id){

招聘详细页 提示
Strict Standards: Non-static method Mod_Job::nextitem() should not be called statically in E:\\www\\source\\widget\\job_detail.php on line 93
修改  source/module/mod.job.php 第 164行
将 function nextitem($id){
修改为 public static function nextitem($id){

成功案例详细页 提示
Strict Standards: Non-static method Mod_Case::nextitem() should not be called statically in E:\\www\\source\\widget\\case_detail.php on line 105
修改  source/module/mod.case.php 第 171行
将 function nextitem($id){
修改为 public static function nextitem($id){

解决方案详细页 提示
Strict Standards: Non-static method Mod_Solution::nextitem() should not be called statically in E:\\WAMP\\www\\oecms\\source\\widget\\solution_detail.php on line 100
修改  source/module/mod.solution.php 第 339行
将 function nextitem($id){
修改为 public static function nextitem($id){

暂时发现就这些啦
更多我会在我的博客http://www.lvtao.net/html/1542.html 中更新 同时也会更新到这儿 感谢开发者
回复
-- 楼主 2020-12-01 10:00
Strict Standards: Non-static method Core_Timer::display() should not be called statically in E:\\www\\source\\core\\core.func.php on line 574

这个只需要修改   source/core/class.timer.php 第 28行
将 function display(){
更改为
public static function display(){
即可

而登陆了显示
登录成功,正在跳转后台管理中心
\"); echo(\"
这种符号 是因为 php环境中的 短标签没有打开
建议官方是不使用短标签
当然解决办法也只能是开启PHP.INI中的  short_open_tag
回复
作者信息

4
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询