Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Oct 2005
    Posts
    57
    Plugin Contributions
    0

    Default Nothing will Load into a Shopping Cart

    I'm working with a client to launch a new shopping cart. At some point recently no product will ADD to the shopping cart. When adding any quantity of any given product, the button clicks, the screen refreshes, but that's it. The system doesn't load anything into the cart.

    Have a look: http://www.sdri.net/shop

    I can't recall if we ever sucessfully had the cart side working, but i want to say we did, at one point, as they usually work out of the box. This site, is a bit customized and some of columns were also customized (using the layout controller) But, the "shopping_cart.php" is still set for ON on the right side, per the default settings. I don't think it's this, but maybe worth mentioning?

    Thanks,
    Blake

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

    Default Re: Nothing will Load into a Shopping Cart

    Sounds like your server configuration is not handling PHP sessions properly.
    Are you able to log in and stay logged in from screen to screen?
    .

    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.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Nothing will Load into a Shopping Cart

    NOTE: might want to trim down those images just a tad ...
    1281.44 KB (1312193 bytes)
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Oct 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: Nothing will Load into a Shopping Cart

    Quote Originally Posted by Ajeh View Post
    NOTE: might want to trim down those images just a tad ...
    1281.44 KB (1312193 bytes)
    Thanks Ajeh - the client is loading all products/images/etc. I'm just assisting with the back end. This isn't the first thing that i've had to "gently" remind them about. (Cutting/Pasting web pages from manufacturer's pages were destroying the product info pages... and they first thought it was me. . . was all the hack HTML that was coming in from their scraping efforts.)

  5. #5
    Join Date
    Oct 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: Nothing will Load into a Shopping Cart

    Quote Originally Posted by DrByte View Post
    Sounds like your server configuration is not handling PHP sessions properly.
    Are you able to log in and stay logged in from screen to screen?
    Thanks DrByte, Not sure if sessions are handled properly, but Yes, i can stay logged in all the time. Just about everything else on front and back ends seems to be working okay. And I have 2 other Zen Cart installed on my servers for my clients (though i think physically different ones, i havn't checked, but the overall configurations should be okay) I'm a host reseller.

    Any other ideas? Clicking any "Add to Cart" does nothing, just clicks.

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

    Default Re: Nothing will Load into a Shopping Cart

    What version of Zen Cart?
    What version of PHP?
    What operating system on the server? and version?
    Who's the hosting company?
    .

    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
    Oct 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: Nothing will Load into a Shopping Cart

    Quote Originally Posted by DrByte View Post
    What version of Zen Cart?
    What version of PHP?
    What operating system on the server? and version?
    Who's the hosting company?
    Zen Cart 1.3.7, Database Patch Level: 1.3.7, v1.3.7 [2007-06-13 19:45:18] (Fresh Installation)

    PHP Version 5.2.2

    Server OS: FreeBSD 6.1-RELEASE-p12

    HTTP Server: Apache/1.3.37 (Unix) mod_psoft_traffic/0.1 Vortech_PHP/0.1.0-p0 FrontPage/5.0.2.2623 mod_throttle/3.1.2 mod_ssl/2.8.28 OpenSSL/0.9.7e-p1

    Hosting is through me, as a reseller, but host company is Vortech. www.vortechhosting.com

    Other info?????????????????

    Database: MySQL 4.0.24

    The two other WORKING zen carts that i manage are
    www.cassidysclinic.com/shop
    www.tigergsurf.com/shop

    I know the cassidyslinic.com site has teh same server, settings, versions, etc.

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

    Default Re: Nothing will Load into a Shopping Cart

    This is the first place I start when assessing what might be busted:
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues

    A list of the addons/contributions installed, and the kinds of customizations made to the site can be a help as well.
    .

    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.

  9. #9
    Join Date
    Oct 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: Nothing will Load into a Shopping Cart

    We've been hacking at this site over the last few months, enough that i don't recall the last working version of it. I don't have alot of mods installed, but have done some custom things to the header, footers, etc.

    Are there any particular files that i can inspect or simply re-upload, etc.?? I'm not sure what happens (code wise) when someone hits "Add to Cart"

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

    Default Re: Nothing will Load into a Shopping Cart

    Quote Originally Posted by blakemiller View Post
    I'm not sure what happens (code wise) when someone hits "Add to Cart"
    Mainly the shopping_cart class is used to process things.
    The /includes/main_cart_actions.php is also used as a driver towards the cart class which does the actual adding.
    However, it does it all based on whatever is being found in the $_POST vars ... ie: the form fields coming from the product page. If you've changed the product template in some way such that the fields being sent are different, then I'm not surprised that the add functionality is broken.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 28 Dec 2010, 11:32 AM
  2. Shopping cart -too long to load
    By kburner in forum General Questions
    Replies: 0
    Last Post: 14 Nov 2009, 04:48 PM
  3. Shopping Cart will not update
    By Aderra in forum General Questions
    Replies: 3
    Last Post: 22 Oct 2009, 11:41 PM
  4. Replies: 1
    Last Post: 10 Sep 2009, 09:14 PM
  5. Can't load Shopping cart page!
    By metadox in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Mar 2007, 04:14 AM

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