问题出现在statics/js/admin_common.js中如下方法有误:
function selectall(name) {
if ($("#check_box").attr("checked")=='checked')
{ $("input[name='"+name+"']").each(function() {
$(this).attr("checked","checked");
});
} else {
$("input[name='"+name+"']").each(function() {
$(this).removeAttr("checked");
});
}
}
修改成如下方法就对了
function selectall(name) {
if ($("#check_box").attr("checked")==false) {
$("input[name='"+name+"']").each(function() {
this.checked=false;
});
} else {
$("input[name='"+name+"']").each(function() {
this.checked=true;
});
}
}
=================================无奈的分割线===========================
文章发布,关键词不能为中文:
MySQL Query : SELECT * FROM `198zonecom`.`v9_keyword` WHERE `keyword` = '展开关闭' AND `siteid` = '1' LIMIT 1
MySQL Error : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
MySQL Errno : 1267
Message : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
Need Help?
问题出现在更新后的数据库字段编码:
解决办法:
修改v9_keyword和v9_keyword_data表内字段的编码为系统所使用的编码。
========================无奈的分割线=========================
caches/caches_model/caches_data/content_form.class.php on line 512出错
Parse error: syntax error, unexpected $end in /home/hosting_users/withsmash/www/pm9/caches/caches_model/caches_data/content_form.class.php on line 512
我坚信这个错误不是纪念四川512地震的。
解决办法:很莫名其妙。
去官网首页去下个新的版本,不要使用原来的版本+补丁。
重新安装,注意数据备份