Let me make it more interesting. ;)
Only the type1 is enabled for the limited.
Anyhow I got the same warning from power admin.
Now some more details:
I enabled "all types", and disabled the "type1, type2, type3, type4".
And the "all types" cannot be access with the security clearance message, prompting to contact site admin.
I enabled them all "all types, type1, type2, type3, type4"
"type1, type2, type3, type4" can be accessed, but "all types" would again display the security clearance message.
I apologize as I thought the diffrent log files would contain same error (actually warning), I had opened two only, I now opened them all and can see different line reference in 7 of them as opposed to the two I reported in previous post.
So instead of posting the error log file I posted the content of the warning one, and the lack of the power admin is the warning type, while it does generate the error type.
To be clear in previous post I posted the content of:
myDEBUG-adm-20250625-115415-048278-warning.log
The content of the:
myDEBUG-adm-20250625-123458-778999-error.log
Is the following, and save the IP the content is the same for both limited, and power admin:
Code:
[25-Jun-2025 22:29:01 Europe/London] Request URI: /path_to_zen_cart_admin/index.php?cmd=news_box_manager1&action=insert&nType=1, IP address: 2.234.145.206, Language id 2
#0 [internal function]: zen_debug_error_handler()
#1 /path_to_zen_cart/zen-210/includes/classes/db/mysql/query_factory.php(733): trigger_error()
#2 /path_to_zen_cart/zen-210/includes/classes/db/mysql/query_factory.php(678): queryFactory->show_error()
#3 /path_to_zen_cart/zen-210/includes/classes/db/mysql/query_factory.php(307): queryFactory->set_error()
#4 /path_to_zen_cart/zen-210/includes/functions/database.php(134): queryFactory->Execute()
#5 /path_to_zen_cart_admin/news_box_manager.php(112): zen_db_perform()
#6 /path_to_zen_cart_admin/news_box_manager1.php(12): require('/home3/tesoreri...')
#7 /path_to_zen_cart_admin/index.php(16): require('/home3/tesoreri...')
--> PHP Fatal error: MySQL error 1364: Field 'box_news_id' doesn't have a default value :: INSERT INTO box_news (news_start_date, news_end_date, news_content_type, news_status, news_added_date) VALUES ('2025-06-25 00:00:00', null, '1', '1', now()) ==> (as called by) /path_to_zen_cart/zen-210/includes/functions/database.php on line 134 <== in /path_to_zen_cart/zen-210/includes/classes/db/mysql/query_factory.php on line 733.
On another error file there is one less line
Code:
[25-Jun-2025 16:24:43 Europe/London] Request URI: /path_to_zen_cart_admin/index.php?cmd=news_box_manager&action=insert, IP address: 2.234.145.206, Language id 2
#0 [internal function]: zen_debug_error_handler()
#1 /path_to_zen_cart/zen-210/includes/classes/db/mysql/query_factory.php(733): trigger_error()
#2 /path_to_zen_cart/zen-210/includes/classes/db/mysql/query_factory.php(678): queryFactory->show_error()
#3 /path_to_zen_cart/zen-210/includes/classes/db/mysql/query_factory.php(307): queryFactory->set_error()
#4 /path_to_zen_cart/zen-210/includes/functions/database.php(134): queryFactory->Execute()
#5 /path_to_zen_cart_admin/news_box_manager.php(112): zen_db_perform()
#6 /path_to_zen_cart_admin/index.php(16): require('/home3/tesoreri...')
--> PHP Fatal error: MySQL error 1364: Field 'box_news_id' doesn't have a default value :: INSERT INTO box_news (news_start_date, news_end_date, news_content_type, news_status, news_added_date) VALUES ('2025-06-25 00:00:00', null, '1', '1', now()) ==> (as called by) /path_to_zen_cart/zen-210/includes/functions/database.php on line 134 <== in /path_to_zen_cart/zen-210/includes/classes/db/mysql/query_factory.php on line 733.
Again apologies for the confusion.