联系官方销售客服

1835022288

028-61286886

应用插件 版主:官方插件技术组
MySQL server has gone away-定时发布文章
类型:迅睿CMS 更新时间:2022-03-15 08:37:20 定时发布 系统错误 内容静态生成
插件 内容静态生成 V1.40
应用作者 迅睿官方团队
发布时间 2021-08-22 03:32:53
更新时间 2024-08-28 10:00:40

MySQL server has gone away-


定时发布文章,报上面这个系统错误

/api/cron.php在linux上执行curl时而会出现这个问题。

出现这个问题后,文章会一直重复不发,不会在待发布中移除。


应用版权:官方
应用名称:内容静态生成

插件教程:https://www.xunruicms.com/doc/app-783.html

回帖
  • 扫地僧
    #1楼    扫地僧
    2022-03-15 08:10:51
    Chrome 0
    数据库挂掉了
  • 勇哥
    #2楼    勇哥
    2022-03-15 08:37:20
    Chrome 0
    数据库并没有挂RROR - 2022-03-15 00:06:06 --> MySQL server has gone away---http://www.tjculture.com/api/cron.phpCRITICAL - 2022-03-15 00:06:06 --> MySQL server has gone away#SQL:DELETE FROM `whys_1_news_time` WHERE `id` = '75'#URL:http://www.tjculture.com/api/cron.php#AGENT:curl/7.29.0#0 /www/web/sanchan/www_tjculture_com/public_html/dayrui/System/Database/MySQLi/Connection.php(292): mysqli->query('DELETE FROM `wh...', 0)#1 /www/web/sanchan/www_tjculture_com/public_html/dayrui/System/Database/BaseConnection.php(670): CodeIgniter\Database\MySQLi\Connection->execute('DELETE FROM `wh...')#2 /www/web/sanchan/www_tjculture_com/public_html/dayrui/System/Database/BaseConnection.php(598): CodeIgniter\Database\BaseConnection->simpleQuery('DELETE FROM `wh...')#3 /www/web/sanchan/www_tjculture_com/public_html/dayrui/System/Database/BaseBuilder.php(2213): CodeIgniter\Database\BaseConnection->query('DELETE FROM `wh...', Array, false)#4 /www/web/sanchan/www_tjculture_com/public_html/dayrui/Fcms/Model/Content.php(445): CodeIgniter\Database\BaseBuilder->delete()#5 /www/web/sanchan/www_tjculture_com/public_html/dayrui/Fcms/Control/Api/Run.php(96): Phpcmf\Model\Content->post_time(Array)#6 /www/web/sanchan/www_tjculture_com/public_html/dayrui/Fcms/Control/Api/Home.php(33): Phpcmf\Control\Api\Run->index()#7 /www/web/sanchan/www_tjculture_com/public_html/dayrui/System/CodeIgniter.php(824): Phpcmf\Control\Api\Home->index()#8 /www/web/sanchan/www_tjculture_com/public_html/dayrui/System/CodeIgniter.php(410): CodeIgniter\CodeIgniter->runController(Object(Phpcmf\Control\Api\Home))#9 /www/web/sanchan/www_tjculture_com/public_html/dayrui/System/CodeIgniter.php(318): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)#10 /www/web/sanchan/www_tjculture_com/public_html/dayrui/Fcms/Init.php(487): CodeIgniter\CodeIgniter->run()#11 /www/web/sanchan/www_tjculture_com/public_html/index.php(52): require('/www/web/sancha...')#12 /www/web/sanchan/www_tjculture_com/public_html/api/cron.php(9): require('/www/web/sancha...')#13 {main}