完美解决(1146) Table 'cq090.common_member_archive' doesn't exist
下面是错误代码
Discuz! Database Error
(1146) Table '***.common_member_archive' doesn't exist
REPLACE INTO common_member_archive SELECT * FROM common_member WHERE uid IN ('7','13','15','16','18','19','22','24','27','28','29','30','31','34','35','37','39','40','42','43','44','45','46','48','49','50','51','52','53','54','56','58','59','60','61','64','65','66','67','68','69','70','71','73','74','79','80','81','84','85','86','88','89','90','91','92','93','94','96','98','99','101','102','104','105','106','107','108','112','113','114','116','118','119','120','122','123','125','127','128','129','130','131','132','133','134','135','136','138','141','142','143','145','147','148','149','150','151','152','153')
PHP Debug
No.FileLineCode
1index.php126require(%s)
2forum.php49discuz_application->init()
3source/class/discuz/discuz_application.php70discuz_application->_init_cron()
4source/class/discuz/discuz_application.php479discuz_cron::run()
5source/class/discuz/discuz_cron.php42include(%s)
6source/include/cron/cron_member_optimize_daily.php13table_common_member->split(%d)
7source/class/table/table_common_member.php351discuz_database::query(%s, Array, false, true)
8source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, true)
9source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)
10source/class/db/db_driver_mysql.php218break()
- DELETE FROM `pre_common_setting` WHERE `skey` = 'membersplit';
复制代码
最后就可以在 工具-计划任务 - 每日用户表优化 。运行了。如果还报错就继续复制数据表命名加_archive
|