Discuz模块不更新,Discuz优化

分类:建站教程 Discuz教程 时间:2025-10-23 09:53 浏览:0 评论:0
0

当前目录列表:

  • 1、Discuz门户明明设置了10分钟更新,为什么没有一直不更新呢,要手动更新才亲,为什么
  • 2、Discuz门户调用帖子不更新
  • 3、Discuz X1.5门户首页portal.php不更新,怎么办?
  • 4、Discuz X3 门户发布文章不能及时更新,求大神给支个招...
  • 5、Discuzindex.html不更新
  • 6、Discuz教程:计划任务每日不执行更新怎么办
  • Discuz门户明明设置了10分钟更新,为什么没有一直不更新呢,要手动更新才亲,为什么

    如果用的不是默认模板的话 后台 界面 风格管理换到默认模板 更新缓存 重新看下

    DZ动力希望能帮到您

    Discuz门户调用帖子不更新

    调用模块是有缓存的,设置实时更新,自己也是有一点缓存时间,不用在意

    discuz模块不更新,discuz优化

    Discuz X1.5门户首页portal.php不更新,怎么办?

    用管理帐号登陆,然后点 diy 鼠标放到保存旁边的箭头,然后下拉出来的,点更新 就可以了!

    Discuz X3 门户发布文章不能及时更新,求大神给支个招...

    门户-DIY-需要设置的文章栏目-编辑-属性-修改一下时间

    希望采纳,谢谢!

    Discuzindex.html不更新

    解决方法如下:

    打开index.php或者,有的是在index_classics.inc.php,

    查找:includetemplate,'Discuz';

    上面加:$lastmember=$db-result_first,"SELECTusernameFROM{$tablepre}membersORDERBYuidDESCLIMIT1";

    $lastmemberuid=$db-result_first,"SELECTuidFROM{$tablepre}membersORDERBYuidDESCLIMIT1";

    修改templates/default/Discuz.htm文件

    查找:

    {langindex_today}:$todayposts,{langindex_yesterday}:$postdata[0],{langindex_members}:$totalmembers

    改成:

    {langindex_today}:$todayposts,{langindex_yesterday}:$postdata[0],{langindex_maxday}:$postdata[1]

    {langindex_threads}:$threads,{langindex_posts}:$posts,{langindex_members}:$totalmembers,{langwelcome_newmember}$lastmember

    Discuz教程:计划任务每日不执行更新怎么办

    这种情况一般是 有些插件的计划任务不执行导致的。

    解决办法:

    到后台-工具-计划任务查看一下,一般插件的计划任务都是在第一个,官方内置的计划任务都是cron_开头的。

    找到这个计划任务。如果可以删除的话,直接删除即可。

    如果删除不了的话。查看该插件是否未开启或者已删除,直接到数据库找到pre_common_cron这个表删除这个计划任务。

    以上办法都无法解决可以考虑重置这个表pre_common_cron,到数据库执行如下字段即可。

    DROP TABLE IF EXISTS pre_common_cron;

    CREATE TABLE `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 default 'user',

    `name` char,50 NOT NULL default '',

    `filename` char,50 NOT NULL default '',

    `lastrun` int,10 unsigned NOT NULL default '0',

    `nextrun` int,10 unsigned NOT NULL default '0',

    `weekday` tinyint,1 NOT NULL default '0',

    `day` tinyint,2 NOT NULL default '0',

    `hour` tinyint,2 NOT NULL default '0',

    `minute` char,36 NOT NULL default '',

    PRIMARY KEY ,`cronid`,

    KEY `nextrun` ,`available`,`nextrun`

    ) ENGINE=MyISAM DEFAULT CHARSET=gbk AUTO_INCREMENT=22 ;

    INSERT INTO `pre_common_cron` ,`cronid`, `available`, `type`, `name`, `filename`, `lastrun`, `nextrun`, `weekday`, `day`, `hour`, `minute` VALUES

    ,1, 1, 'system', '清空今日发帖数', 'cron_todaypost_daily.php', 1416342963, 1416412800, -1, -1, 0, '0',

    ,2, 1, 'system', '清空本月在线时间', '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', '限时操作清理', 'cron_threadexpiry_hourly.php', 1416357391, 1416358800, -1, -1, -1, '0',

    ,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, 'system', '每日标签更新', 'cron_tag_daily.php', 1416347946, 1416412800, -1, -1, 0, '0',

    ,12, 1, 'system', '每日勋章更新', 'cron_medal_daily.php', 1416347947, 1416412800, -1, -1, 0, '0',

    ,13, 1, 'system', '清理过期动态', 'cron_cleanfeed.php', 1416347948, 1416412800, -1, -1, 0, '0',

    ,14, 1, 'system', '每日获取安全补丁', 'cron_checkpatch_daily.php', 1416353617, 1416421320, -1, -1, 2, '22',

    ,15, 1, 'system', '定时发布主题', 'cron_publish_halfhourly.php', 1416357391, 1416358800, -1, -1, -1, '0 30',

    ,16, 1, 'system', '每周广播归档', 'cron_follow_daily.php', 1416350694, 1416420000, -1, -1, 2, '0',

    ,17, 1, 'system', '更新每日查看数', 'cron_todayviews_daily.php', 1416357389, 1416423600, -1, -1, 3, '0 5 10 15 20 25 30 35 40 45 50 55',

    ,18, 0, 'system', '每日用户表优化', 'cron_member_optimize_daily.php', 1377225651, 0, -1, -1, 2, '0 5 10 15 20 25 30 35 40 45 50 55',

    ,19, 0, 'user', '防水墙每日优化', 'cron_security_daily.php', 1416351485, 1416420000, -1, -1, 2, '0',

    ,20, 1, 'system', '统计今日热帖', 'cron_todayheats_daily.php', 1416348808, 1416412800, -1, -1, 0, '0',

    ,21, 0, 'user', '更新版块最后发表(防水墙相关', 'cron_security_cleanup_lastpost.php', 0, 0, -1, -1, -1, '0');

    复制代码

    到此问题即可解决。

    1. 本站所有资源来源于用户上传或网络,仅作为参考研究使用,如有侵权请邮件联系站长!
    2. 本站积分货币获取途径以及用途的解读,想在本站混的好,请务必认真阅读!
    3. 本站强烈打击盗版/破解等有损他人权益和违法作为,请各位会员支持正版!
    4. 建站教程 > Discuz模块不更新,Discuz优化

    用户评论