osCmax v2.5 User Manual
Results 1 to 5 of 5

Products dropped from Shopping Cart

This is a discussion on Products dropped from Shopping Cart within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi Guys, really needing some help. Using OSCMax 2.0.3. It's been heavily modded. Previous to around Jan 30th, our cart ...

      
  1. #1
    Lurker
    Join Date
    May 2007
    Posts
    3
    Rep Power
    0


    Default Products dropped from Shopping Cart

    Hi Guys, really needing some help. Using OSCMax 2.0.3. It's been heavily modded.

    Previous to around Jan 30th, our cart was functioning fine. Around the 30th, it began to malfunction. We had made no changes to code and our script that monitors for file changes (hackers) reports that no files were changed.

    Currently, when a customer places an item in their cart, if they attempt any other operation such as checkout or just browsing to another product, the items are dropped from the cart. I have assumed this was a session issue, but don't really know.

    We have tried uploading a backup of the site without any change in symptoms. Although this symptom does not appear on our dev server, uploading files from there has had no effect on the symptoms on our site either. We have tried switching between file and db based session storage, flushing caches and searching everywhere online for others having the same symptoms. At this point, I can only assume that an update of PHP or Apache or MySql that was applied by our web host has conflicted with some part of our code.

    The only other odd symptom is that at the same time, our site began to send us emails about broken links. Each states the site tried to load catalog/images/misc/nothing.gif. That dir nor file either actually exist and I've searched our code for any reference to "nothing.gif" and it doesn't exist in our code.

    Really stumped at this point. I suspect the issue doesn't exist in the default OSCMax install or you'd have heard about it. Hoping though that the symptom will point some knowledgeable individual toward a likely spot for me to begin looking.

    We greatly appreciate any assistance anyone can offer us. Thanks in advance and best wishes.

    Art

  2. #2
    Lurker
    Join Date
    May 2007
    Posts
    3
    Rep Power
    0


    Default Re: Products dropped from Shopping Cart

    Well, in times of desperation, we try desperate things. Thinking the issue to be related to sessions, I turned on "Force Cookies". Seems like once upon a time, I was told that was bad. I think I've seen since that it enhances security.

    At any rate, this setting cured the problem of products disapperaing. The odd "nothing.gif" links still occur. Quite odd but at least we're selling again.

    Anyone have input on the pros or cons of the force cookies setting other than the obvious that customers must have cookies on?? Thanks again for any assist or info on the "nothing.gif".

    Art

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Products dropped from Shopping Cart

    Try storing sessions in mysql instead of the filesystem. The setting is at the bottom of your configure.php file - store sessions - set it to mysql.

    Forcing cookies is neither bad nor good. It is just an option like any other. You can't set it to true if you are using shared ssl. Other than that it should be fine.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    Lurker
    Join Date
    May 2007
    Posts
    3
    Rep Power
    0


    Default Re: Products dropped from Shopping Cart

    Quote Originally Posted by michael_s View Post
    Try storing sessions in mysql instead of the filesystem. The setting is at the bottom of your configure.php file - store sessions - set it to mysql.

    Forcing cookies is neither bad nor good. It is just an option like any other. You can't set it to true if you are using shared ssl. Other than that it should be fine.
    Thanks for the really quick reply. I was storing sessions in mysql initially. Tried the filesystem only to see if it would help. Setting is already back to mysql now and forcing cookies. I appreciate you letting me know there isn't any other consideration on that issue.

    Any ideas on something that would cause the bad nothing.gif links. We get one with just about any movement on the site so there are frequently hundreds of them an hour.

    Thanks again for the assist and all your work on OSCMax. Don't know where we'd be without it!

    Art

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Products dropped from Shopping Cart

    Without knowing your exact server setup, it would be tricky to diagnose remotely. You need to find out from your host if anything has changed as far as php configuration. Then you need to check for hacks/exploits and rule them out. Typically when things suddenly stop working it usually is the host changing settings or the site has been hacked.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Display Total Products in shopping cart
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-02-2008, 02:40 AM
  2. Display Total Products in shopping cart
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-30-2008, 06:40 AM
  3. Losing products from shopping cart?
    By angelbud in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 05-18-2004, 02:08 PM
  4. SSL Prblem between two servers - dropped cart
    By sgtpepper in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 12-23-2003, 06:47 AM
  5. 2 products by page in shopping cart
    By EPierre in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 12-01-2002, 08:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •