Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    107
    Plugin Contributions
    1

    Default westminster_new PHP Fatal error: 1109:Unknown table 'p' in field list

    Good day,

    I am getting a php error in my logs, not sure how to fix. Any thoughts? ZC ver 1.5.7 TIA
    Code:
    [31-Jul-2020 21:13:34 America/Phoenix] Request URI: /index.php?main_page=products_all&disp_order=6&page=5, IP address: 66.249.79.157
    #1  trigger_error() called at [/public_html/includes/classes/db/mysql/query_factory.php:170]
    #2  queryFactory->show_error() called at [/public_html/includes/classes/db/mysql/query_factory.php:142]
    #3  queryFactory->set_error() called at [/public_html/includes/classes/db/mysql/query_factory.php:269]
    #4  queryFactory->Execute() called at [/public_html/includes/classes/split_page_results.php:77]
    #5  splitPageResults->__construct() called at [/public_html/includes/modules/westminster_new/product_listing.php:35]
    #6  include(/public_html/includes/modules/westminster_new/product_listing.php) called at [/public_html/includes/templates/westminster_new/templates/tpl_modules_product_listing.php:11]
    #7  require(/public_html/includes/templates/westminster_new/templates/tpl_modules_product_listing.php) called at [/public_html/includes/templates/westminster_new/templates/tpl_products_all_default.php:12]
    #8  require(/public_html/includes/templates/westminster_new/templates/tpl_products_all_default.php) called at [/public_html/includes/templates/westminster_new/common/tpl_main_page.php:216]
    #9  require(/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/public_html/index.php:94]
    --> PHP Fatal error: 1109:Unknown table 'p' in field list :: select count(p.products_id) as total  ==> (as called by) /public_html/includes/classes/split_page_results.php on line 77 <== in /public_html/includes/classes/db/mysql/query_factory.php on line 170.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: PHP error

    Templates like westminster_new overwrite core files like includes/modules/pages/products_all/header_php.php leading to issues like this. You can merge in the template copy of that file and this problem should go away.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v154 PHP Fatal error: 1109: Unknown table 'p' in field list
    By bobc in forum General Questions
    Replies: 24
    Last Post: 20 Jan 2017, 06:06 PM
  2. v139h 1109 Unknown table 'p' in field list
    By Dexter71 in forum General Questions
    Replies: 2
    Last Post: 12 Sep 2013, 07:11 PM
  3. Replies: 2
    Last Post: 20 Dec 2012, 07:31 PM
  4. Replies: 5
    Last Post: 7 Nov 2010, 03:57 AM
  5. Links manager error 1109 Unknown table 'p' in field list
    By ctcentralinfo in forum General Questions
    Replies: 7
    Last Post: 27 Sep 2006, 10:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR