Very Urgent- Ecart 5
I create a e-commerce site with e-cart (newsite/) but e-cart doesn't work. I think is the Operatyng system on the server (Microsoft Windows 6.0). Can you help me ?
I create a e-commerce site with e-cart (newsite/) but e-cart doesn't work. I think is the Operatyng system on the server (Microsoft Windows 6.0). Can you help me ?
first, lets double check that the server is properly configured o set and save session information.
the following thread has a sessionTest page attached that con be used to test the server for properly maintaining session state:
showpost.php?p=23826&postcount=2
if the test fails, you will need to contact the host to have them correct the probelm, most likely, it is a bad session.save_path setting in the php.ini file.
if the test passes, please send a copy of the add to cart page so i can examine the code.
Hy,
session test failed...i don't get value when i click on the second link but sessionid doesn't change. The problem is in the ini.php file?
yes, if the session value is lost when clicking the second link, it means the server cannot save session information. this is why the add to cart button is not working, the cart information is stored in a session.
the host will need to correct the problem, it is probably a bad session.save_path setting.
this php code can cause the problem ?
ini_set("url_rewriter.tags", "a=href,area=href,frame=src,fieldset=");
ini_set("session.use_trans_sid","0");
ini_set("arg_separator.output","&");
perhaps, it may, it seems to forcing the session_transID off, I'm not sure why you would do that.
i think is for SEO raison. i was wrong. test is ok. you can view this at : sessionTest.php. What can i do ?
like i said in my initial reply:
Attached apage...but all pages work fine on local server and don't work on live server. You can see website here : newsite/
Thanks
on your pages, find the follpowing code and change it to:
<?php
// WA eCart Redirect
if ($lesfutons_fr->redirStr != "") {
header("Location: ".$lesfutons_fr->redirStr);
}
?>
and change it to:
<?php
// WA eCart Redirect
if ($lesfutons_fr->redirStr != "") {
session_commit();
header("Location: ".$lesfutons_fr->redirStr);
}
?>
it could something in the web.config file causing a conflict, try deleting that file from the server.
if the pages work remotely, but not online, there is something on the remote server that is causing it to break.
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.