WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Simple Paypal Shopping Cart
[resolved] Multiple items won't work and changing amount in cart clears the cart (15 posts)

  1. 2bittaylor
    Member
    Posted 1 year ago #

    I've tried deleting completely and re-installing and I cannot get it to work right. I disabled all other plug-ins, went in and looked at the php settings on my server and everything looks fine. I cannot figure out how to fix this. I could use a little help.

    My shopping cart clears when I try to change the amount. When I click to add multiple products it doesn't add to the total it just replaces the product with the new one.

    I found this interesting. I downloaded the 3.5 version, disabled the old one, then I removed it by deleting the directory on my server. Went in through my FTP and uploaded the new folder in the wp-content/plugins directory. The old one was completely removed. Now when I go to settings it remembers my settings from the old one and I don't have to add anything. Where are those settings stored?

    link
    http://www.cookiejacks.com/products/

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

  2. mra13
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, The PHP session on your site is not working correctly. Please contact your hosting provider and request them to fix the PHP session issue on this server and then the cart will automatically start to work.

  3. cell15
    Member
    Posted 1 year ago #

    I contacted my hosting provider and they said everything with PHP is fine. Can you please tell me another way to fix this? It is VERY frustrating.

  4. 2bittaylor
    Member
    Posted 1 year ago #

    How exactly do you know it is the php session? I want to be able to explain it to my hosting provider.

  5. stumpdog
    Member
    Posted 1 year ago #

    Yes, how does one tell if the PHP session isn't working correctly?

  6. Alex
    Member
    Posted 1 year ago #

    I'm having the same problem. I have edited my php.ini file to enable sessions and verified they're working by following the instructions here.

    If it isn't php sessions, what else could be causing those problems? I have installed the plugin on my own server and it works just fine, so I do believe it is something about the settings on the original server. I just don't know what.

  7. Alex
    Member
    Posted 1 year ago #

    Well, having spent 4 hours trying to resolve this, and making good use of the Firefox addon 'Live HTTP headers' to compare the site where the plugin was working and the one where it wasn't, I think I've resolved the problem. I can now add multiple items and I can change the quantity of items already in the cart.

    Cookies. Cookies being generated were also expiring at the same time. Changing a few settings relating to cookies in the php.ini file (I'm afraid I'm not entirely sure which one made it work) and clearing any existing cookies for the site seems to have fixed it.

    Good luck.

  8. cell15
    Member
    Posted 1 year ago #

    molecularcode, how do I get into php.ini file to change settings? Sorry, i'm not very tech savvy.

  9. Alex
    Member
    Posted 1 year ago #

    Getting to your php.ini file will differ with different hosting providers.

    The site I was working on was hosted by Netfirms. I logged into my control panel with them (top right on the main page) and under 'Marketing Services' is 'CGI and Scripted Language Support'. Not at all intuitive! In there is 'PHP Scripting' and at the bottom of the page is a box where you can edit your php.ini file.

    hope that helps

  10. VD12342
    Member
    Posted 1 year ago #

    I contacted my hosting provider, they took about 2 seconds to fix it! I'll never get the hours back that I wasted!! apprantly the session path was not updated in php.ini file, if anyone else is encoutnering this it might be worth including the url when you raise it with your hosting provider:
    http://wordpress.org/support/topic/multiple-items-wont-work-and-changing-amount-in-cart-clears-the-cart?replies=9

    As this seemed to give them everything they needed to fix it asap.

  11. dminick
    Member
    Posted 1 year ago #

    Just contacted my hosting provider with the same issues. They fixed it by changing settings in the PHP. The part they worked on was the session save path. They had to figure out which part of PHP to look at. The session save path was the fix.

  12. caryll
    Member
    Posted 1 year ago #

  13. Alex
    Member
    Posted 1 year ago #

    Hi Caryll. That's the same problem I was having. I did 2 things to fix it:

    The first was to check that php sessions was enabled on your server (you may need to contact your hosting provider to get them to do this). Other people have listed that same fix above.

    The second thing was to check your settings related to cookies in your php.ini file. Mine were expiring the same time as they were created, therefore nothing was being remembered.

    You'll need to edit a couple of php configuration files, so if you're not confident doing this you may want to ask someone to help you, or your hosting company.

    Good luck.

  14. mra13
    Member
    Plugin Author

    Posted 1 year ago #

    @caryll, The following post should help you get your PHP session to work correctly (you can show it to your hosting provider who will be able to help):
    http://www.tipsandtricks-hq.com/forum/topic/php-session-not-working-correctly

  15. caryll
    Member
    Posted 1 year ago #

    My website http://www.surimedia.net
    can anyone please help i will provide you with de login details
    in privet of course !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic