Toggle On=YES Restore DB from file error

Post Reply
yaoying
Posts: 133
Joined: 10 Apr 2023, 23:23
Name: 耀影
Location: 深圳
Company Name: 深圳市耀影科技有限公司
Contact:

Toggle On=YES Restore DB from file error

Post by yaoying »

First open the journal switch 'Toggle On=YES', export the 'Export Database' data, and import 'Restore DB from file' through this newly exported data template, and report an error



/index.php?module=logs/settings
Tools > Logs > Settings Toggle On=YES
Database Backup > Export Database
Database Backup > Restore DB from file


Code: Select all

Database Error: 1146 - Table 'rukovoditel.app_logs' doesn't exist
Query: insert into app_logs (users_id, log_type, date_added, http_url, is_ajax, errno, description, seconds) values ('59', 'mysql', '1683982797', '/index.php?module=tools/db_restore_process&action=restore_file&token=DCUO6rayDC', '1', '0', 'DROP TABLE app_logs', '0.0019')
Page: /index.php?module=tools/db_restore_process&action=restore_file&token=DCUO6rayDC
#0 includes/functions/database.php(87): mysqli_query()
#1 includes/functions/database.php(221): db_query()
#2 includes/classes/model/app_logs.php(95): db_perform()
#3 includes/functions/database.php(113): app_logs::db_log()
#4 includes/classes/backup.php(451): db_query()
#5 modules/tools/actions/db_restore_process.php(81): backup::restore()
#6 index.php(20): require('...')
#7 {main}
Database Error: 1146 - Table 'rukovoditel.app_logs' doesn't exist
Query: insert into app_logs (users_id, log_type, date_added, http_url, is_ajax, errno, description, seconds) values ('59', 'mysql', '1683982797', '/index.php?module=tools/db_restore_process&action=restore_file&token=DCUO6rayDC', '1', '0', 'select count(*) as total from app_sessions where sesskey = \'kp24p54qkdp37vu5fppc600g3f\'', '0.0003')
Page: /index.php?module=tools/db_restore_process&action=restore_file&token=DCUO6rayDC
#0 includes/functions/database.php(87): mysqli_query()
#1 includes/functions/database.php(221): db_query()
#2 includes/classes/model/app_logs.php(95): db_perform()
#3 includes/functions/database.php(113): app_logs::db_log()
#4 includes/functions/sessions.php(36): db_query()
#5 [internal function]: _sess_write()
#6 [internal function]: session_write_close()
#7 {main}
Attachments
截图_选择区域_20230513210858.png
Post Reply