close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Very Urgent- Ecart 5

Thread began 1/11/2013 7:40 am by Antonino Stancampiano | Last modified 1/11/2013 1:46 pm by Jason Byrnes | 2286 views | 11 replies |

Antonino Stancampiano

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 ?

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Antonino Stancampiano

test

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?

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Antonino Stancampiano

ini setting e cart

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","&");

Sign in to reply to this post

Jason ByrnesWebAssist

perhaps, it may, it seems to forcing the session_transID off, I'm not sure why you would do that.

Sign in to reply to this post

Antonino Stancampiano

ecart5 problem

i think is for SEO raison. i was wrong. test is ok. you can view this at : sessionTest.php. What can i do ?

Sign in to reply to this post

Jason ByrnesWebAssist

like i said in my initial reply:

  if the test passes, please send a copy of the add to cart page so i can examine the code.  
Sign in to reply to this post

Antonino Stancampiano

Ecart problem -add to cart page

Attached apage...but all pages work fine on local server and don't work on live server. You can see website here : newsite/

Thanks

Attached Files
file.zip
Sign in to reply to this post

Jason ByrnesWebAssist

on your pages, find the follpowing code and change it to:

php:
<?php

// WA eCart Redirect
if ($lesfutons_fr->redirStr != "")     {
  
header("Location: ".$lesfutons_fr->redirStr);
}
?>



and change it to:

php:
<?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.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...