ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Getting Started
  New Posts New Posts RSS Feed - Cart Empty after adding products from category pag
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cart Empty after adding products from category pag

 Post Reply Post Reply Page  123 5>
Author
Message Reverse Sort Order
bcrabtree View Drop Down
Groupie
Groupie
Avatar

Joined: 31-January-2008
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bcrabtree Quote  Post ReplyReply Direct Link To This Post Topic: Cart Empty after adding products from category pag
    Posted: 10-May-2010 at 8:41pm
Hi All,

I was having this same issue, and am also hosting my clients site on GoDaddy (against my recommendation, I might add).

Anyways, GoDaddy was completely unhelpful in resolving this issue, basically they told me they couldn't make any changes to the server setup... Angry
But, I found a solution using a Web.config file placed in the root directory of the site.

Here's the solution:
Create a new Web.config file with the following info:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.webServer>
    <asp>
      <session keepSessionIdSecure="false" />
    </asp>
  </system.webServer>
</configuration>

Upload the file to your root or productcart folder, and the dropped session issue is solved without having to go through the process of switching hosting companies. Wink

Cheers,
Bryan


Edited by bcrabtree - 10-May-2010 at 8:44pm
Back to Top
highgravity View Drop Down
Newbie
Newbie
Avatar

Joined: 08-May-2006
Location: United States
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote highgravity Quote  Post ReplyReply Direct Link To This Post Posted: 10-April-2010 at 4:59pm
If you are using IIS7, switching from http to https creates a different session.

Refer to this post for the fix:
http://www.earlyimpact.com/forum/forum_posts.asp?TID=3428&PN=3
Desiree Knott

High Gravity Homebrewing & Winemaking Supplies

7142 S Memorial Dr.

Tulsa, OK 74133

(918) 461-2605

desiree@highgravitybrew.com

http://www.highgravitybrew.com

Back to Top
ecotutor View Drop Down
Newbie
Newbie


Joined: 26-March-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ecotutor Quote  Post ReplyReply Direct Link To This Post Posted: 10-April-2010 at 12:29pm
Just wanted to let everyone know how my dilemma was resolved. I took the advice of several of you and moved to a new hosting company. I chose Cognecy Solutions. I contacted Mark Shipp late one afternoon and had a fully functional site up and working the next morning (doesn't this guy sleep?). There was virtually no work/intervention on my part. Mark took care of everything. My website works fine on his Win 2008 server so I will never know why it did not work at my old hosting company. Mark also moved my SQL database from 2000  to 2008 - didn't think that was possible but it works!. In fact the site has never worked better or faster and I am very relieved to be moving on. Thanks to everyone in this forum for their suggestions. They was very much appreciated.
Back to Top
cognecy View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 18-March-2006
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote cognecy Quote  Post ReplyReply Direct Link To This Post Posted: 08-April-2010 at 1:39pm
Definitely lets get EI involed as well as this issue is likely going to come up again. 
 
We need one definiteve method that will work on Dedicated/VPS as well as on various Shared servers across the spetrum of hosts out there.
 
My perspective is based on a lot of testing and trials prior to ever taking a customer live on 2008.  Our Win2008 Servers are set up in line with Microsofts guidance for running an application written in ASP Classic.  Our ProductCart sites run extremely well based on the settings I have described herein but there are always variables involved when OPS's (other peoples servers) are involved.
 
 
Mark Shipp
Cognecy Solutions, LLC
Hosting/Design/Customization/Database Migration
www.cognecy.com
www.cognecy.co.uk
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 08-April-2010 at 12:18pm
Ecotutor,

Please open a support ticket so that we can assist you.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
ecotutor View Drop Down
Newbie
Newbie


Joined: 26-March-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ecotutor Quote  Post ReplyReply Direct Link To This Post Posted: 08-April-2010 at 11:20am
Yes, I was using the SEO URL Re-write method previously and I did set my 404 error page up properly in my hosting account. The site actually seemed to work well initially after the move . All asp pages worked, the seo mod worked properly etc. However, customers  started to complain about the cart empty problem. It wasn't until we implemented the following that the ASP pages were no longer available:

- enable parent paths

- set "new ID on secure connections" to "off"

At that point, the ASP pages no longer worked. Setting 32 bit applications to true did not change this situation.

 

Back to Top
ecotutor View Drop Down
Newbie
Newbie


Joined: 26-March-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ecotutor Quote  Post ReplyReply Direct Link To This Post Posted: 08-April-2010 at 10:35am

Just an update on my situation

- The hosting company has confirmed that they do not have the .htaccess ISAPI Filter for Windows installed.
- With respect to turning on detailted error reporting, the response was that "they are not sure about detailed error reporting and are trying to find out more about it".  IIf history repeats itself I wil probablyu not hear from them on this issue again.
 
 I created the web.config file that was suggested by Mark and the error message on ASP pages changes only slightly. It says "The page cannot be displayed because an internal server error has occurred".

Thanks again for your help.

Back to Top
cognecy View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 18-March-2006
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote cognecy Quote  Post ReplyReply Direct Link To This Post Posted: 08-April-2010 at 10:24am
ecotutor,
 
Going back reading through your post, I noticed you said in one location you were getting the error on the 404.asp page?  Were you using the SEO URL Re-write method on your site previously?  If so, did you set your 404 error page up properly in your hosting account?
 
I do still think there are some issues with your host but in going through the proper due diligence, making sure the environment is set up the same as you had it before is very important since I presume everything was working just fine before moving to the Win2008 Server.   


Edited by cognecy - 08-April-2010 at 10:28am
Mark Shipp
Cognecy Solutions, LLC
Hosting/Design/Customization/Database Migration
www.cognecy.com
www.cognecy.co.uk
Back to Top
cognecy View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 18-March-2006
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote cognecy Quote  Post ReplyReply Direct Link To This Post Posted: 08-April-2010 at 9:59am
Matt,
 
Just to let you know this user's server is a shared Win2008 server and as such, it is unlikely the host will turn on detailed error messages.  In IIS7, it is not as simple as just turning on the switch to send detailed messages to the browser as you also must alter the 'server side' 500 error message.  There is a strong recommendation from Microsoft not to use that setting on Win2008 if the server is public-facing because the errors IIS7 gives reveal too much information about the server (this is why it is off by default on this OS when it is loaded). 
 
I think we are going to see a lot more of this as hosts in general switch/upgrade to Win2008 64Bit machines (which is a VERY Good thing by the way but it does require your host understands how to keep legacy applications running on the new servers).
 
On ecotutors issue, I am 'fairly certain' this is not a software issue but rather a configuration issue with Win2008 because I ran into the same sorts of issues on our servers the first time I tried to run ProductCart on Win2008 (the exception being that it is my server and could make setting changes directly). 
 
Out of the box ProductCart just cannot run on a Win2008 Server with 'server default settings' because ProductCart is a Classic ASP application which is not compatible with 64Bit servers (even if 2008 were loaded as a 32 bit server, IIS7 defaults would give it some problems).  As we have discovered, being a web host successfully using Win2008 64Bit for ProductCart, there are several things you need to do in order to get a Classic ASP application to run properly on Win2008/IIS7.  I have talked with "ecotutor" offline and it seems their host likes to put up a fight when it comes to making setting changes on their servers (even if those changes are contained within her 'hosting bubble' on the server).
 
After we verify all initial requirements for her hosting account are set properly, then we can try to pull the detailed error messages (before that it is useless as IIS7 will not give the details for a wrong configuration and will continue to force the 500 error).  Needless to say, if the host will not turn on 'send detailed error messages to browser' and make the '500 error page' change required, the user will likely need to place a web.config file in the root of their site with the content being:
 
<configuration>
<system.webServer>
  <httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
 
 
When the file is not in use it can either be re-named or change "Detailed" to "OFF".
 
 
 


Edited by cognecy - 08-April-2010 at 10:07am
Mark Shipp
Cognecy Solutions, LLC
Hosting/Design/Customization/Database Migration
www.cognecy.com
www.cognecy.co.uk
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 07-April-2010 at 10:47pm
Hi ecotutor,

Before you change anymore server settings you need to find out exactly what the problem is.  Please turn on detailed error messages on the server.  Instead of a 500 page you will get a very specific error message.  Next, open a ticket and paste the error message into your inquiry. 

Back to Top
 Post Reply Post Reply Page  123 5>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.