July 10, 2012 at 2:43 pm #23697
I am having this same issue after moving to a newly set up VPS. I have verified that the session appears to be intact and the general settings of the WP site dashboard are the same. I am going to follow the steps above in hopes that it will fix my issue as well.July 11, 2012 at 1:03 am #23698
I have followed all of the steps in this FAQ without resolution. This has started after my move to a new VPS host.
1) verified that the items stays in the cart as you move from page to page.
2) verified that [http://kidsfashionpassion.com] is set for both WordPress Address (URL)and Site Address (URL)
3) verified that PHP.ini has “session.save_path = /tmp”
4) changed “WP_ESTORE_ENABLE_NEW_CHECKOUT_REDIRECTION” from 0 to 1. This caused a blank white page instead of the error page.
Can you please advise on what I have missed or something else that I can try?
Thanks in advance ScottJuly 11, 2012 at 5:20 am #23699
Sent you an email to get access to the site so I can check out the settings.July 12, 2012 at 7:51 am #23700
Okay there was a bit of caching conflict going on this site. I have applied a tweak in the plugin to address this. It should be working fine now.
While I was there, I also noticed the following error:
“PHP Warning: Cannot load module ‘XCache’ because conflicting module ‘eAccelerator’ is already loaded”
This is something you should get your hosting provider to take a look at as this can impact your site performance.July 12, 2012 at 11:50 am #23701
Excellent thanks for your all your help.
I will have the xcache/eAccelerator issue looked at.
Thanks againMay 8, 2015 at 7:46 am #23702
I have read this forum post very carefully, and checked the php settings in php.ini. Our ISP is bluehost, and up until 3 days ago, everything was fine with our shopping cart. Then, all of a sudden – it has started to behave strangely. Basically, when the “add to cart” button is pressed on any product, the cart remains empty. Occasionally (randomly) it will show a product in the cart, but then something even stranger occurs = the product cannot be removed!
I have double-checked the PHP version (5.4), and although this changed from v5.2 a few months ago – it hasn’t caused any problems up to now. The only thing that has happened recently is that WordPress did a minor update from 4.2.1 to 4.2.2. We use the Prophoto 5 theme, and have very few other plug ins – none of which have updated recently. Your thoughts are appreciated as right now we cannot sell any products online !
One last piece of information – this morning we updated from eStore v7.0.7 to 7.1.9
Please help us – thank youMay 8, 2015 at 10:57 pm #23703
Seems like a caching issue. Do you have any caching plugin on this site? Ask your hosting provider if they are using caching on the server side.
Also, post a link to your product page so I can inspect.May 9, 2015 at 12:58 am #23704
Hi there, Thanks for your initial reply. I contacted BlueHost, and they confirmed that server-side caching is not enabled. I can also confirm that we have no caching plug-ins. The only plug-ins we have (which I did temporarily disable for debugging purposes) are “Broken-link Checker, SEO Yoast, AVH First Defence against SPAM and Recent Comments with Excerpts”.
An example of our product page is [http://duetimages.com/purchase-photography-gift-voucher/]
As you can see, when you press “Add to Cart”, and then you view the cart it is empty. Also, when occasionally an item does go to the cart, the item does not seem to delete from the cart properly when you press the red ‘delete’ icon on the right-hand side of the cart entry.
Bluehost support DID however, find the following errors in the logs though..
[09-May-2015 00:42:40 UTC] PHP Notice: Undefined index: SCRIPT_NAME in /home2/duetimag/public_html/wp-includes/load.php on line 89
Thank You for looking into this quite urgently – it’s really appreciated :o)May 9, 2015 at 1:26 am #23705
Yeah, you definitely have a PHP session issue on this server. The PHP session is not holding the data. Probably because that session_start() call is failing on your site.
First do the following test to make sure a plugin or theme is not breaking the PHP session functionality:
If that doesn’t help, then ask your hosting provider to look at the PHP session setup of your site. Ask them why the PHP session is not persisting the session data.
I can confirm that on the plugin’s side, everything is okay.May 9, 2015 at 1:37 am #23706
Thanks for sending that link through – I immediately reverted from the theme “Prophoto 5” to the theme “Prophoto 4”, ran a test – and the cart worked properly!! So now I am going to raise this issue with the Prophoto support team. I will let you know what they sayMay 13, 2015 at 8:15 am #23707
One final post from me on this Thread. Just now, I discovered that the authors of the otherwise excellent ProPhoto 5 have ‘slipped in’ a new setting for ‘performance caching’. Guess what the default value of this setting was ?? You guessed it .. “Enabled”
So I disabled this setting, and now wp eStore works perfectly again. Thanks a lot for your advice on this one. I have also let the ProPhoto authors know of this conflict with PHP behaviour
- You must be logged in to reply to this topic.