用对比软件查看文件thread_galbum.php,提示信息对应的还真不是批量上传跳转的那句,应该和积分有关:
//积分变动
require_once(R_P.'require/credit.php');
$creditset = getCreditset($o_groups_creditset['Uploadphoto']);
$creditset = array_diff($creditset,array(0));
if (!empty($creditset)) {
$credit->sets($winduid,$creditset,true);
updateMemberid($winduid);
addLog($creditlog,$windid,$winduid,'groups_Uploadphoto');
}
if ($creditlog = $o_groups_creditlog) {
addLog($creditlog['Post'],$windid,$winduid,'groups_Uploadphoto');
}
refreshto("{$basename}&a=view&pid=$pid",'operate_success');
}
提示信息中的第240行,就是上面红色那行。还真有个sets()。那“non-object”是什么意思?后面括号里的某个参数不对?(对php不了解,我只能说是参数)
=================分隔线====================
//积分变动
require_once(R_P.'require/credit.php');
$creditset = getCreditset($o_groups_creditset['Uploadphoto']);
$creditset = array_diff($creditset,array(0));
if (!empty($creditset)) {
$credit->sets($winduid,$creditset,true);
updateMemberid($winduid);
addLog($creditlog,$windid,$winduid,'groups_Uploadphoto');
}
if ($creditlog = $o_groups_creditlog) {
addLog($creditlog['Post'],$windid,$winduid,'groups_Uploadphoto');
}
refreshto("{$basename}a=view&cyid=$cyid&pid=$pid",'operate_success');
}
上面文件对应论坛视图,这是1号文件m_galbum.php,也就是群组视图文件。代码都是一样的,只是最后的跳转链接稍有差别,这个没有任何影响,和积分无关。说明代码是完全没有问题的。