WordPress Simple Paypal Shopping Cart
[resolved] Simple Paypal Cart needed session path (2 posts)

  1. jimmerd
    Posted 2 years ago #

    I'm pretty sure this is related to the hosting setup but just FYI:

    I installed this on a client's site and it didn't work. Every time I clicked on add to cart, it would add to the cart ONCE. But go to another page and the cart was empty again. It wasn't remembering any entered items.

    After searching around, I found a support document on the host's web site, saying you need to designate the path for PHP sessions.

    I inserted this line (edited for anonymity):


    just before session_start();

    And it works.

    So while the problem is solved, I do wonder if there's a workaround that doesn't require me to edit the plugin file.


  2. mra13
    Plugin Author

    Posted 2 years ago #

    Thank you for the details. Yes this is a PHP session issue on that server.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic