WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jimmerd
    Member
    Posted 1 year 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):

    session_save_path('/home/users/web/b1433/moo.domainname/cgi-bin/tmp');

    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.

    http://wordpress.org/extend/plugins/wordpress-simple-paypal-shopping-cart/

  2. mra13
    Member
    Plugin Author

    Posted 1 year 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