OK. First I have no modules added to my installation that contain any of the files listed in my error logs. Here is what I found in each instance of the files listed. The corresponding coding is referenced in orange:
Code:
[18-Mar-2017 17:35:44 America/Chicago] Request URI: /index.php?main_page=featured_products, IP address: 192.143.29.184
#1 trigger_error() called at [/myRoot/public_html/includes/classes/db/mysql/query_factory.php:167]
trigger_error($this->error_number . ':' . $this->error_text . ' :: ' . $this->zf_sql . $query_factory_caller, E_USER_ERROR);
#2 queryFactory->show_error() called at [/myRoot/public_html/includes/classes/db/mysql/query_factory.php:139]
$this->show_error();
#3 queryFactory->set_error() called at [/myRoot/public_html/includes/classes/db/mysql/query_factory.php:266]
if (FALSE === $zp_db_resource) {
$this->set_error(mysqli_errno($this->link), mysqli_error($this->link), $this->dieOnErrors);
#4 queryFactory->Execute() called at [/myRoot/public_html/includes/classes/split_page_results.php:78]
$count_string = zen_db_input($count_key);
#5 splitPageResults->__construct() called at [/myRoot/public_html/includes/modules/winchester_black/product_listing.php:35]
$listing_split = new splitPageResults($listing_sql, $max_results, 'p.products_id', 'page');
#6 include(/myRoot/public_html/includes/modules/winchester_black/product_listing.php) called at [/myRoot/public_html/includes/templates/winchester_black/templates/tpl_modules_product_listing.php:14]
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCT_LISTING));
#7 require(/myRoot/public_html/includes/templates/winchester_black/templates/tpl_modules_product_listing.php) called at [/myRoot/public_html/includes/templates/winchester_black/templates/tpl_featured_products_default.php:19]
// only show when there is something to submit and enabled
if ($show_top_submit_button == true) {
#8 require(/myRoot/public_html/includes/templates/winchester_black/templates/tpl_featured_products_default.php) called at [/myRoot/public_html/includes/templates/winchester_black/common/tpl_main_page.php:252]
require($body_code); ?>
#9 require(/myRoot/public_html/includes/templates/winchester_black/common/tpl_main_page.php) called at [/myRoot/public_html/index.php:97]
require($template->get_template_dir('tpl_main_page.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_main_page.php')
[18-Mar-2017 17:35:44 America/Chicago] PHP Fatal error: 1109:Unknown table 'p' in field list :: select count(p.products_id) as total ==> (as called by)
/myRoot/public_html/includes/classes/split_page_results.php on line 78 <== in /myRoot/public_html/includes/classes/db/mysql/query_factory.php on line 167
Line #78 of split_page_results.php is $count = $db->Execute($count_query);
Line #167 of query_factory.php is trigger_error($this->error_number . ':' . $this->error_text . ' :: ' . $this->zf_sql . $query_factory_caller, E_USER_ERROR);
The only modification I know I made recently to my older version what made was an admin request sanitizer (https://www.zen-cart.com/showthread....33#post1312333) Other than this change I am not sure what else I would have done to cause this issue.
Bookmarks