Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2007
    Location
    Little Rock, AR.
    Posts
    61
    Plugin Contributions
    0

    database error Site crash with express enabled

    Whenever I enable the paypal express my site goes down giving me the following at the top of the screen :
    Warning: Variable passed to each() is not an array or object in /home/wccomput/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/wccomput/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/wccomput/public_html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/wccomput/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/wccomput/public_html/includes/init_includes/init_templates.php on line 78
    and then under my header it shows this
    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 9
    in:
    [select p.products_id, pd.products_name, products_date_available as date_expected from zen_products p, zen_products_description pd, zen_products_to_categories p2c, zen_categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '14' and p.products_date_available >=20070715 and p.products_id = pd.products_id and p.products_status = 1 and pd.language_id = '1' order by EXPECTED_PRODUCTS_FIELD EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCTS]

    _popupControl();
    I'm running the latest patch by Dr. Byte and have no other issues with the site when express is turned off.

    Any ideas are welcome.

    thanks
    Chris
    WC Computers and More
    Quality software, and accessories at low prices.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Site crash with express enabled

    This error sounds very similar to the one you had with IH2 - sounds like you have some other underlying problems ...
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    May 2007
    Location
    Little Rock, AR.
    Posts
    61
    Plugin Contributions
    0

    Default Re: Site crash with express enabled

    Kim

    I agree they are too simiular to not be related somewhere but I dont have a clue where to start to look. I haven't added or changed anything, with the exception of IH2 blowing up on me for no reason.

    How should I start to troubleshoot this? My sql knowledge is limited to say the least.
    Chris
    WC Computers and More
    Quality software, and accessories at low prices.

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Site crash with express enabled

    What are your server specs? Php version, MYSQL version etc.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    May 2007
    Location
    Little Rock, AR.
    Posts
    61
    Plugin Contributions
    0

    Default Re: Site crash with express enabled

    PHP Version is 4.4.6
    MySQL 4.1.21
    Server OS: Linux 2.6.9-55.EL

    This is the info from Version in admin will that work for what we need?

    Thanks
    Chris
    WC Computers and More
    Quality software, and accessories at low prices.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Site crash with express enabled

    Is this v1.3.7 or v1.3.7.1 ?
    What patches have you installed?
    What contribs are installed?
    .

    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.

  7. #7
    Join Date
    May 2007
    Location
    Little Rock, AR.
    Posts
    61
    Plugin Contributions
    0

    Default Re: Site crash with express enabled

    1.3.7, as for contribs I have IH2, ask a question, captcha, google checkout, improved who's online, rma, testimonial manager and user tracking.

    I have your patch for PPE and I have the Patch for USPS.
    Chris
    WC Computers and More
    Quality software, and accessories at low prices.

  8. #8
    Join Date
    May 2007
    Location
    Little Rock, AR.
    Posts
    61
    Plugin Contributions
    0

    Default Re: Site crash with express enabled

    I also have the admin security patch installed.

    Thanks
    Chris
    WC Computers and More
    Quality software, and accessories at low prices.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Site crash with express enabled

    The fix is posted here:
    http://www.zen-cart.com/forum/showthread.php?t=56436

    (Fresh v1.3.7.1 installs already contain this fix. Upgrades do not - they will be handled with the v1.3.8 upgrade instead.)
    .

    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.

  10. #10
    Join Date
    May 2007
    Location
    Little Rock, AR.
    Posts
    61
    Plugin Contributions
    0

    Default Re: Site crash with express enabled

    Just want to tell Kim and Dr. Byte thank you very much for the help.



    Thanks again
    Chris
    WC Computers and More
    Quality software, and accessories at low prices.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Server Crash trying to restore site strange Customer table problem
    By cshart in forum General Questions
    Replies: 3
    Last Post: 6 Jun 2012, 03:48 AM
  2. Reviews on Site cant be enabled
    By mateogp in forum General Questions
    Replies: 2
    Last Post: 3 Dec 2010, 09:47 PM
  3. Site crash
    By IDW in forum General Questions
    Replies: 4
    Last Post: 18 Mar 2009, 11:28 PM
  4. Server Crash - How do I get site back up and running???
    By imfsub12 in forum General Questions
    Replies: 4
    Last Post: 5 Jan 2009, 12:59 AM
  5. Urgent Help Needed...Recovering from Site Crash...
    By ksoup in forum General Questions
    Replies: 14
    Last Post: 20 Oct 2007, 04:14 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