November 21, 2012 at 4:57 am #7970
On page [http://www.abidingnowhere.com/order-books] if I click on the Add to Cart button for Paperback by PayPal, I see one item “Enso House (paperback) in my cart. But if I then click on Add to Cart for “EPUB Ebook by PayPal”, the first item disappears.
Also, if I try to change the quantity, the plugin thinks I have no items in my cart. Clicking on Checkout with PayPal sends me to “Your shopping cart is empty…” Obviously my shopping cart is not keeping track of items added.
I am using WP eStore v6.9.4
My website is hosted by Whidbey Telecom (www.whidbeytel.com). I reported the problem to them and suggested that they:
1) Check if your server’s PHP config is set to allow sessions.
2) Check to make sure the session save path has been configured correctly. This is just a matter of adding a line similar to the following in the php.ini file:
session.save_path = /tmp
Cliff Aker of Tech Support replied,
Not sure what the problem is but can tell you the server is generating session file as normal. We host many apps that require them so I had to make sure that was working. The steps needed to reproduce the problem is simpler than that listed below. After adding a book to you cart just add another and that second book will be the only one in your cart. No need to navigate anywhere.
Later, Cliff added,
Tried adding both books then grep’d through the session files for “Enso”, “Bite” and “abiding” but found nothing. Grep’ng for “order” gets lots of results but none are for you. In other words I don’t think your page is using sessions for some reason.November 22, 2012 at 1:38 am #51659IvyMember
This look like a PHP session issue. You will need to do the following:November 26, 2012 at 8:44 pm #51660
I have tried all the suggestions on the page php-session-not-working-correctly you suggested and I still have the same problem. Going through the steps to find out if it is a PHP Session related issue suggests that it is.
Checking with the hosting company, I have confirmed that there is a line in the php.ini file, session.save_path = /pub/share/system/phpsessions2
If you need more information about the contents of the php.ini file, please let me know.
I have determined that my theme, a child theme of Suffusion works fine, by using the Check-Theme plugin.
I have stepped through each of my plugins, deactivating each one in turn and found that the same problem persists whether the plugins are activated or not. None of my plugins are on your list of plugins that don’t play nice.
I have confirmed that in my WordPress General Settings, the values for WordPress Address and Site Address are identical: [http://www.abidingnowhere.com]
What do you suggest I do now?
DavidNovember 27, 2012 at 6:26 am #51661adminKeymaster
Hi David, only your hosting provider can fix the PHP session issue. It is your hosting provider’s duty to give you a working server where PHP is working correctly.
Some users in the past have been able to fix it by tweaking their PHP.ini file but this may not work for all hosting companies. Please contact your hosting provider and request them to fix the PHP session issue and then use the plugin. Shopping cart plugins won’t work if your PHP session is not working.November 28, 2012 at 3:14 am #51662
Could you please give me an email address for me to send you a URL for code that displays all the PHP.ini information? I don’t want to post this on a public forum, but maybe if you were to look at the file, you would be able to quickly spot the problem.
Thank you very much.
DavidNovember 28, 2012 at 10:19 pm #51663
The problem has been fixed by my web hosting company. I am able to use the shopping cart for making transactions. This is what was discovered:
Sorry about that. I turned on error logging for your site and found these:
[Wed Nov 28 08:55:39 2012] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/pub/share/system/phpsessions2) in Unknown on line 0, referer: [http://www.abidingnowhere.com/order-books/]
Turns out – because Apache runs with special permissions for WordPress – it couldn’t write to the normal location until I fixed it.
Thanks for your patience.January 3, 2014 at 2:41 am #51664vithefiddlerSpectator
I’m having a similar issue, but the error I’m seeing in the apache error log is this:
PHP NOTICE: A session had already been started – ignoring session_start() [Shopping.php, line 83]
I can see the php sessions directory in the apache2.conf file, and I can look in that directory and see sessions files, but when I add an item to the cart, the 1 item in cart shows up in the side bar, but if I add another item, it stays as one, and if I click on the cart link, it show no items in cart. I believe that it’s sessions related, but I’m stuck on this.
The store is at [http://www.avaiya.com/store]
Thanks for your help!
ViJanuary 3, 2014 at 10:31 pm #51665adminKeymaster
This is not an issue in the eStore plugin. One of the following two things are happening:
1) You have added a bad plugin which is breaking the PHP session functionality on your ither. Do the following plugin test to check:
2) Your hosting provider need to fix the PHP session on this server.January 6, 2014 at 7:11 pm #51666swillyzMember
I cannot get the PRICE (base) to show up. I’m using the variations. My cart is not adding and I have to refresh to see items added to cart. I’m new at this and would also be interested in paying an expert to fix my issues.
Here’s the site
[http://schlueterphoto.com/fine-art-prints/]January 6, 2014 at 11:40 pm #51667
- You must be logged in to reply to this topic.