Results 1 to 10 of 14

Hybrid View

  1. #1
    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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    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"

  5. #5
    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.

  6. #6
    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
    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.
    I'll see if anything comes up on WinMerge once done downloading.

    I haven't been hacking into much code at all, especially the product template(s). It's been mostly header/footer mods, and then just stuff from within Admin.

    I'm sure something will come up.

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

    Default Re: Nothing will Load into a Shopping Cart

    Woahhha.... Weird. I found the culprits. I downloaded my latest cart, and then compared it with a fresh download - less files that i know i changed.

    I found about 7 sets of files that were swapped with each other. like in \admin . . .email_welcome.php and ezpages.php's file contents inside were reversed. each of the 7 sets files were alphabetically next to each other.

    The /includes/main_cart_actions.php . . . was Blank, i.e 0 bytes.

    I updated all and it's working now.

    I just don't know how that could have happened. I know the client uses frontpage to keep things updated (outside the cart) and i've seen that cause havoc before. This one was weird though.

    I'll repost if anything new or exciting comes out of this....

  8. #8
    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
    The /includes/main_cart_actions.php . . . was Blank, i.e 0 bytes.
    That'll do it!

    Always good to have backups :)
    .

    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 were posting at same time... I'm downloading the latest site now, and will WinDiff it.

 

 

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