Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 There are currently no items in your shopping cart
Author « Topic »  

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 08/20/2018 :  13:52:00  
Hi

Update - This my be solved. Having removed the www in the store admin URLs all seems tickety boo

I have moved a site to a new host & now we are seeing 'There are currently no items in your shopping cart' when adding a product to cart or using the donations page. In the admin under store settings the store URL & the https url are both set to https://www

In Cpanel in the SSL section under Domain it shows domain as mydomain.co.uk and under the Alt Names it shows www.mydomain.co.uk Would the URLs in the store admin need to be none www ?

Will - Bolton Manchester UK

Edited by - V45 on 08/20/2018 14:37:15

Paradise
Ecommerce Template Guru

USA
1602 Posts

Pre-sales questions only
(More Details...)

Posted - 08/20/2018 :  15:20:11  
Make sure the url is not switching between http to https.

Mark
Responsive Design Deals Ecomm Plus - ASP 6.8
www.paradiseclothingco.com

dbdave
ECT Moderator

USA
10468 Posts

Posted - 08/20/2018 :  16:30:11  
Hi, as Mark suggests, it's probably some URL issue.
On thing to check is to see how your SSL certificate is issued. (with www or without www) and that is the version you want in the admin main settings.
From there, you should make sure you have a directive in your .htaccess file to force users to that version (with or without the www).

If it's not a URL issue, and being that moved to a new host, it could be a issue with the session variables on the server and your host can help with that.

dbdave
ECT Moderator

USA
10468 Posts

Posted - 08/20/2018 :  16:31:43  
I just noticed your edit.
It may be time to take a look in your .htaccess file to make sure you have users on the correct version of your url.

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 08/21/2018 :  03:19:10  
Hi Mark - there is no sign of switching between http & https

Dave - The certificate is issued to non www

This is what is in the .htaccess file in respect of https. Is there another directive required to force non www? I'm guessing there is

[blue]RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Header set Strict-Transport-Security "max-age=31536000" env=HTTPS[/blue]

Since editing the URL's in the store admin to non www, so far the empty cart hasn't occurred.

Will - Bolton Manchester UK

Andy
ECT Moderator

95440 Posts

Posted - 08/21/2018 :  03:46:07  
Hi Will

I would use this

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

to force https without the "www"

Andy

Please feel free to review / rate our software

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 08/21/2018 :  04:25:05  
Thanks Andy, works a treat

Will - Bolton Manchester UK
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000