Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2005
    Location
    France
    Posts
    600
    Plugin Contributions
    8

    Default Three seperate mods, one common error

    I've got an issue with my site that i originally thought was related to a module i tried to install. But i now think it is related to the existing cart and not the modules i wanted to add as all three modules give exactly the same error messages.
    The modules in question are testimonials manager, faq manager and big royal mail.
    The error produced is:

    Warning: Variable passed to each() is not an array or object in /home/******/public_html/includes/classes/db/mysql/query_factory.php on line 114

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/******/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/******/public_html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/******/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/******/public_html/includes/init_includes/init_templates.php on line 78

    And this appears below the header:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCT' at line 7
    in:
    [select p.products_id, pd.products_name, products_date_available as date_expected from products p, products_description pd where p.products_id = pd.products_id and p.products_status = 1 and pd.language_id = '1' and p.products_date_available >=20071110 order by EXPECTED_PRODUCTS_FIELD EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCTS]

    In view of the fact that an identical error is created by the three seperate modules i can't see that it is the mod at fault.

    The server details are:

    PHP Version: 4.4.7 (Zend: 1.3.0)
    Database: MySQL 4.1.22-standard

    I'm running zen version 1.3.7 with db patch level 1.3.7

    Has anyone got any ideas what needs to be done to fix this issue?

    Regards
    Steve

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Three seperate mods, one common error

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Three pics showing up on one product page???
    By LilleyPadGifts in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 5 Sep 2013, 08:34 PM
  2. Three seperate images along the header.
    By FragaGeddon in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 31 Aug 2010, 01:09 AM
  3. Three companies in one site, sort of...
    By tpascubarat in forum General Questions
    Replies: 2
    Last Post: 29 Mar 2009, 01:31 AM
  4. How do I display three images across instead of one?
    By masakodesigns in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Jun 2008, 11:28 PM

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