Results 1 to 10 of 12

Hybrid View

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

    Default Re: shopping_cart.php error when changing quantity

    As a start, i suggest that you backup your existing files:
    /includes/classes/shopping_cart.php
    /includes/main_cart_actions.php

    and replace those from a fresh v1.3.7 zip.

    It's always a good idea to do a complete file+database backup periodically while making customizations.
    .

    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
    May 2007
    Posts
    79
    Plugin Contributions
    0

    Default Re: shopping_cart.php error when changing quantity

    Thanks for the advice Dr. Byte. I restored the original files you mentioned and still have the error. Is there anything in the mysql database that would cause this problem? I'd thought it probably had to do with the additional product fields mod or adding the new field with crazy_chris' instructions but I've went through everything and haven't seen any problem (although it's entirely possible I've missed something.) Just wondering if there might be other possible reasons for it.

  3. #3
    Join Date
    May 2007
    Posts
    79
    Plugin Contributions
    0

    Default Re: shopping_cart.php error when changing quantity

    If I still get the same error when I swtich to the default template, then that rules out it being caused by any customization I've done to the template, right?

  4. #4
    Join Date
    May 2007
    Posts
    79
    Plugin Contributions
    0

    Default Re: shopping_cart.php error when changing quantity

    I think it's fixed. I changed "recreate session" to false (it was true) and now changing quantity works. I have no idea what that means but it seems to have fixed it.

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

    Default Re: shopping_cart.php error when changing quantity

    It means that your shop is not as secure as it could be against session id issues ...

    You might check with your hosting site and see why it is that you can not use Recreate Sessions on your site ...

    While it is good that this fixed the problem ... it really is better to be able to run your site with that set to true ...
    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!

  6. #6
    Join Date
    May 2007
    Posts
    79
    Plugin Contributions
    0

    Default Re: shopping_cart.php error when changing quantity

    OK, this is weird. I changed "recreate sessions" back to true, and now changing the quantity still works. I don't understand this at all. Nothing I tried fixed it until I changed that setting, and now it works just fine with the setting the way it was. Nothing else was changed.

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

    Default Re: shopping_cart.php error when changing quantity

    Close your browser and clear your cache and cookies ... does it still work?
    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!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 3 Nov 2013, 05:15 AM
  2. v151 override \includes\modules\pages\shopping_cart\header.php.php??
    By tlyczko in forum General Questions
    Replies: 7
    Last Post: 27 Nov 2012, 06:12 PM
  3. Replies: 7
    Last Post: 7 Mar 2011, 09:55 AM
  4. Replies: 1
    Last Post: 22 May 2010, 10:06 AM
  5. Error with shopping_cart.php when adding items.
    By mohinder in forum General Questions
    Replies: 3
    Last Post: 25 Jul 2008, 09:22 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