Ad hỗ trợ giúp mình với, mình cập nhật đến bước cuối cùng thì bị lỗi trắng trang. Kiểm tra lỗi trong thư mục error_logs như sau
[Wed, 31 May 2023 14:38:58 +0700] [10.31.11.15] [10.31.11.36] [Warning(2): opendir(C:/xampp/htdocs/test/data/logs/error_logs/errors256): The system cannot find the file specified. (code: 2)] [FILE: /admin/webtools/clearsystem.php] [LINE: 27]
[Wed, 31 May 2023 14:38:58 +0700] [10.31.11.15] [10.31.11.36] [Warning(2): file_put_contents(C:/xampp/htdocs/test/data/logs/error_logs/errors256/index.html): failed to open stream: No such file or directory] [FILE: /admin/webtools/clearsystem.php] [LINE: 38]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-global-remote_api_access' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'remote_api_access', '0');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 504
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'remote_api_access', '0');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-global-remote_api_access' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 506]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-global-remote_api_log' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'remote_api_log', '1');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 509
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'remote_api_log', '1');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-global-remote_api_log' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 511]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-global-allow_null_origin' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'allow_null_origin', '0');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 514
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'allow_null_origin', '0');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-global-allow_null_origin' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 516]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-global-ip_allow_null_origin' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'ip_allow_null_origin', '');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 519
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'ip_allow_null_origin', '');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-global-ip_allow_null_origin' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 521]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-global-cookie_SameSite' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'cookie_SameSite', 'Lax');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 539
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'global', 'cookie_SameSite', 'Lax');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-global-cookie_SameSite' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 541]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-site-nv_csp_act' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'site', 'nv_csp_act', '1');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 579
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'site', 'nv_csp_act', '1');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-site-nv_csp_act' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 581]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-site-nv_csp' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'site', 'nv_csp', 'script-src 'self' *.google.com *.google-analytics.com *.googletagmanager.com *.gstatic.com *.facebook.com *.facebook.net *.twitter.com *.zalo.me *.zaloapp.com 'unsafe-inline' 'unsafe-eval';style-src 'self' *.google.com 'unsafe-inline';frame-src 'self' *.google.com *.youtube.com *.facebook.com *.facebook.net *.twitter.com *.zalo.me;base-uri 'self';');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 584
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'site', 'nv_csp', 'script-src 'self' *.google.com *.google-analytics.com *.googletagmanager.com *.gstatic.com *.facebook.com *.facebook.net *.twitter.com *.zalo.me *.zaloapp.com 'unsafe-inline' 'unsafe-eval';style-src 'self' *.google.com 'unsafe-inline';frame-src 'self' *.google.com *.youtube.com *.facebook.com *.facebook.net *.twitter.com *.zalo.me;base-uri 'self';');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-site-nv_csp' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 586]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-site-nv_rp_act' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'site', 'nv_rp_act', '1');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 594
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'site', 'nv_rp_act', '1');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-site-nv_rp_act' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 596]
[Wed, 31 May 2023 14:40:09 +0700] [10.31.11.15] [10.31.11.36] [User Notice(1024): PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sys-site-nv_rp' for key 'lang'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line:protected] => 499
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\xampp\htdocs\test\vendor\vinades\nukeviet\Core\Database.php
[line] => 499
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'site', 'nv_rp', 'no-referrer-when-downgrade, strict-origin-when-cross-origin');
)
)
[1] => Array
(
[file] => C:\xampp\htdocs\test\install\update_data.php
[line] => 599
[function] => query
[class] => NukeViet\Core\Database
[type] => ->
[args] => Array
(
[0] => INSERT INTO tktbvn_config (lang, module, config_name, config_value) VALUES ('sys', 'site', 'nv_rp', 'no-referrer-when-downgrade, strict-origin-when-cross-origin');
)
)
[2] => Array
(
[file] => C:\xampp\htdocs\test\install\update.php
[line] => 1352
[function] => nv_up_sys4500
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry 'sys-site-nv_rp' for key 'lang'
)
)
] [FILE: /install/update_data.php] [LINE: 601]