Products not Added to Cart
I'm trying to add a product to my cart but nothing gets added? This site has been up for many years. This just started happening.
Any suggestions?
I'm trying to add a product to my cart but nothing gets added? This site has been up for many years. This just started happening.
Any suggestions?
It could be that session variables aren't working. Try setting a session variable on one page and retrieving it on another and see if it works. If not, then it is likely an issue with the session_save_path in your php.ini file.
Set a session variable with:
<?php
@session_start();
$_SESSION["test"] = "Works";
?>
Then on a second page check the value with:
<?php
@session_start();
var_dump($_SESSION["test"]);
?>
If you don't see"Works" on the second page, then there is an issue with your session_save_path and your hosting provider should fix it for you.
The message said Null so I will call the hosting provider.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.