phpcms删文章的时候出现mysql错误!

    xiaoxiao2021-12-14  19

    删文章的时候出现mysql错误,错误代码:

    MySQL Query : UPDATE `shhbm`.`v9_category` SET `items`=`items`-1 WHERE `catid` = '347'  MySQL Error : BIGINT UNSIGNED value is out of range in '(`shhbm`.`v9_category`.`items` - 1)'  MySQL Errno : 1690  Message : BIGINT UNSIGNED value is out of range in '(`shhbm`.`v9_category`.`items` - 1)' 

    一开始以为是mysql问题,修复表等试了试,发现不行,百度了一下,在csdn上找到一个此内容的解决文章:

    http://blog.csdn.net/small_rice_/article/details/39694117

    所以需要修改phpcms\model\content_model.class.php此文件,在此做下记录!修改后,目前可行!~

    转载请注明原文地址: https://ju.6miu.com/read-972176.html

    最新回复(0)