Hi lat9,
No, no logs were generated, which I thought was a bit strange, but strict error checking enabled shows up the error on the screen, as I pasted in my initial post.
I have the file in the admin extra datafiles places as instructed:
Code:
test-admin# cat includes/extra_datafiles/news_box_manager_file_database_names.php
<?php
// -----
// Part of the News Box Manager plugin, re-structured for Zen Cart v1.5.6 and later by lat9.
// Copyright (C) 2015-2019, Vinos de Frutas Tropicales
//
// +----------------------------------------------------------------------+
// | Do Not Remove: Coded for Zen-Cart by geeks4u.com |
// | Dedicated to Memory of Amelita "Emmy" Abordo Gelarderes |
// +----------------------------------------------------------------------+
//
define('TABLE_BOX_NEWS', DB_PREFIX . 'box_news');
define('TABLE_BOX_NEWS_CONTENT', DB_PREFIX . 'box_news_content');
define('FILENAME_NEWS_BOX_MANAGER', 'news_box_manager');
define('FILENAME_NEWS_BOX_MANAGER1', 'news_box_manager1');
define('FILENAME_NEWS_BOX_MANAGER2', 'news_box_manager2');
define('FILENAME_NEWS_BOX_MANAGER3', 'news_box_manager3');
define('FILENAME_NEWS_BOX_MANAGER4', 'news_box_manager4');
Both the box_news and box_news_content tables do exist apparently:
Code:
MariaDB [zencartshoptest]> desc box_news;
+--------------------+------------+------+-----+---------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------------+------------+------+-----+---------------------+----------------+
| box_news_id | int(11) | NO | PRI | NULL | auto_increment |
| news_added_date | datetime | YES | | 0001-01-01 00:00:00 | |
| news_modified_date | datetime | YES | | NULL | |
| news_start_date | datetime | YES | | NULL | |
| news_end_date | datetime | YES | | NULL | |
| news_status | tinyint(1) | YES | | 0 | |
| news_content_type | tinyint(1) | NO | | 1 | |
+--------------------+------------+------+-----+---------------------+----------------+
7 rows in set (0.014 sec)
MariaDB [zencartshoptest]> desc box_news_content;
+---------------------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------------------+--------------+------+-----+---------+-------+
| box_news_id | int(11) | NO | PRI | 0 | |
| languages_id | int(11) | NO | PRI | 1 | |
| news_title | varchar(255) | NO | | | |
| news_content | text | NO | | NULL | |
| news_metatags_title | varchar(255) | NO | | | |
| news_metatags_keywords | text | YES | | NULL | |
| news_metatags_description | text | YES | | NULL | |
+---------------------------+--------------+------+-----+---------+-------+
7 rows in set (0.001 sec)
Bookmarks