disucz 今日发帖不更新的解决办法!
后台-站长-数据库-升级以下代码(标志特工实操解决方案)如果存在,则删除表pre_common_cron;创建表`pre_common_cron`(
`cronid smallint(6)unsigned NOT NULL auto_increment,
`available` tinyint(1)NOT NULL default'0 ',
`type` enum('user','system','plugin')NOT NULL默认'user',
`name` char(50)NOT NULL默认'',
`filename` char(50)NOT NULL默认'',
'lastrun` int(10)无符号NOT NULL默认'0',
`nextrun` int(10)unsigned NOT NULL默认值'0',
`weekday` tinyint(1)NOT NULL默认值'0',
`day` tinyint(2)NOT NULL默认值'0',
`hour` tinyint(2)NOT NULL默认值'0',
`minute` char(36)NOT NULL默认值'',
)ENGINE = MyISAM DEFAULT CHARSET = gbk AUTO_INCREMENT = 22;
插入`pre_common_cron`(`cronid`,`available`,`type`,`name`,`filename`,`lastrun`,`nextrun`,`weekday`,`day`,`hour`,`minute`)值
(1,1,'系统','清空今日发帖数','cron_todaypost_daily.php',1416342963,1416412800,-1,-1,0,'0'),
(2,1,'系统','清空本月在线时间','cron_onlinetime_monthly.php',1414791807,1417363200,-1,1,0,'0'),
(3,1,'system','每日数据清理','cron_cleanup_daily.php' ,1416357390,1416432600,-1,-1,5,'30'),
(5,1,'system','每日公告清理','cron_announcement_daily.php',1416346616,1416412800,-1,-1, 0,'0'),
(6,1,'system','限时操作清理','
(7,1,'system','论坛推广清理','cron_promotion_hourly.php',1416347376,1416412800,-1,-1,0,'00'),
(8,1,'system','每月主题清理','cron_cleanup_monthly.php',1414860761,1417384800,-1,1,6,'00'),
(9,1,'system','道具自动补货','cron_magic_daily.php',1416347946, 1416412800,-1,-1,0,'0'),
(10,1,'system','每日验证问答更新','cron_secqaa_daily.php',1416357391,1416434400,-1,-1,6, '0'),
(11、1,'系统','每日标签更新','cron_tag_daily.php',1416347946、1416412800,-1,-1、0,'0'),
(12、1,系统”,“每日勋章更新”,“ cron_medal_daily.php”,1416347947、1416412800,-1,-1、0,“ 0”),
(13、1 ,“系统”,“清理过期动态','cron_cleanfeed.php',1416347948,1416412800,-1,-1,0,'0'),
(14,1,'system','每日获取安全补丁','cron_checkpatch_daily.php' ,1416353617,1416421320,-1,-1,2,'22'),
1416412800,-1,-1,0,'0'), ( 21,0, 'user','更新版块最后发表(防水墙相关)','cron_security_cleanup_lastpost.php',0,0,-1,- 1,-1,'0');
即可
页:
[1]