ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - storeconstants problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

storeconstants problem

 Post Reply Post Reply
Author
Message
AndreaPou View Drop Down
Newbie
Newbie


Joined: 19-November-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndreaPou Quote  Post ReplyReply Direct Link To This Post Topic: storeconstants problem
    Posted: 14-April-2011 at 4:25pm
Hi Everyone,

I've been testing orders and surfing on our shopping cart. (I'm on version v4.1 BTO). I noticed we were having problems when the address bar switched from:
http://www.mydomain.com/ to http://mydomain.com/
Things would drop from the shopping cart and other fun login/logout issues.

I traced the links and saw that it was not hard-coded in any of my header or footer files like that. When I did a search in the ProductCart folder, I found the culprit in storeconstants.asp.

When I check storeconstants.asp, the scStoreURL for the store is http://mydomain.com. If I change it to http://www.mydomain.com it SOLVES all the issues. I was so excited, then I tried to log in and add more products.

BUT, I am locked out of the Control Panel and it tells me my license is invalid and says I'm trying to use the same installation on a different storefront and that the license is only good for one store. If I take the www. back out I can log in, but then I have the surfing problem again.

Thoughts?

Thank you so much.

-Andrea




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: 14-April-2011 at 4:34pm
Hi Andrea,

We can reset your license but you will need to send us an e-mail and we will let you know what we need from you to verify your license, etc. Please send the e-mail to is at  info(at)earlyimpact.com.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 14-April-2011 at 5:45pm
Hi Andrea,
  The reson for the loss of cart contents is that, to the server, the www and non-www views are separate sites, so a new session is started when you switch. To prevent this see http://wiki.earlyimpact.com/developers/timeout-issues#use_of_different_domain_names
Back to Top
bodyexposed View Drop Down
Newbie
Newbie


Joined: 16-September-2008
Location: London UK
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote bodyexposed Quote  Post ReplyReply Direct Link To This Post Posted: 20-April-2011 at 6:43am
Hi Hamish,
I have had a similar problem with users (and Google) entering my domain name incorrectly, and have added your wiki code to stringfunctions.asp. This works well, except in the case where a user goes to a page with a SEO URL. This gives an error message when adding to cart, as the URL is misformed. Have you tested the wiki code with SEO URLs turned on ?
Richard Bonfield

Underwear store for men

http://www.bodyexposed.co.uk
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 20-April-2011 at 8:59am
Richard, I can't speak to that code, but we have a different approach to the issue.
 
On our IIS6 servers we run www.helicontech.com ISAPI Rewrite.  On IIS7 gear we have URL Rewrite.  Using those tools we create rules that handle the www versus non-www requests and it works seamlessly.   You may want to ask your host if either is available.
Back to Top
AndreaPou View Drop Down
Newbie
Newbie


Joined: 19-November-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndreaPou Quote  Post ReplyReply Direct Link To This Post Posted: 20-April-2011 at 9:19am
I just wanted to let you know the problem is fixed. Early Impact support reset my license and I was able to change it to http:www.mydomain.com AND log into the control panel afterward.

Thanks so much Cedric & the rest of the Early Impact Support team.

Best wishes,
Andrea


Back to Top
bodyexposed View Drop Down
Newbie
Newbie


Joined: 16-September-2008
Location: London UK
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote bodyexposed Quote  Post ReplyReply Direct Link To This Post Posted: 22-April-2011 at 10:14am
Greg, thanks for the suggestion. It has fixed the problem for me.
Richard Bonfield

Underwear store for men

http://www.bodyexposed.co.uk
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 22-April-2011 at 11:03am
were you on IIS6 or 7?
Back to Top
bodyexposed View Drop Down
Newbie
Newbie


Joined: 16-September-2008
Location: London UK
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote bodyexposed Quote  Post ReplyReply Direct Link To This Post Posted: 22-April-2011 at 11:35am
I don't know - I just asked my host first-web.net to redirect one domain to the other.
Richard Bonfield

Underwear store for men

http://www.bodyexposed.co.uk
Back to Top
 Post Reply Post Reply
  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.