Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Can't add to cart and can't login as a customer or create a new account

Can't add to cart and can't login as a customer or create a new account

16 Dec 2018, 1:50 AM
#1
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Post #1 by lidlchris

[Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]

Having so many problems with my site but this one is Major. I can't add anything to the cart. I can't create a new account. I can't login to an existing account. I'm so lost. Swordsofhonor.com

16 Dec 2018, 4:23 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,773
Plugin Contributions:
56

Post #2 by swguy

Start by fixing your SSL issue.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

16 Dec 2018, 6:37 AM
#3
lidlchris avatar

lidlchris

Zen Follower

Join Date:
Feb 2013
Posts:
345
Plugin Contributions:
0

Post #3 by lidlchris

swguy:

Start by fixing your SSL issue.

Darn i thoughti did. I followed the directions to update the configure.php files and added the coding to the htaccess file.

16 Dec 2018, 11:29 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,773
Plugin Contributions:
56

Post #4 by swguy

That's necessary but not sufficient. You are still loading images over http. Do a view source and search for "http:" and you'll see.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

16 Dec 2018, 2:30 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #5 by mc12345678

swguy:

That's necessary but not sufficient. You are still loading images over http. Do a view source and search for "http:" and you'll see.
Note, there are some things/links that will still have http: in them and are acceptable, but html tag that has src="http: will most certainly cause the mixed content errors.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

16 Dec 2018, 2:35 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #6 by mc12345678

lidlchris:

Darn i thoughti did. I followed the directions to update the configure.php files and added the coding to the htaccess file.

If the htaccess rewrite to force all pages to https is used, then could save the server some trouble and modify the includes/configure.php file to set both HTTP_SERVER and HTTPS_SERVER to begin with https:

That action is also described in the associated FAQ: https://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

16 Dec 2018, 2:53 PM
#7
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,773
Plugin Contributions:
56

Post #7 by swguy

Right, but this won't help if he has modified a file somewhere to display an image using <img src="http://....".

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

16 Dec 2018, 6:47 PM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,934
Plugin Contributions:
26

Post #8 by dbltoe

I feel I still need to mention what we ran in to on a couple of sites. While the https: config changes are important, if the www versus non-www is not consistent, Zen Cart will do funny things including not allowing login.

The ssl would be best set as either www or non-www not both. Then all configs should reflect either www or non-www accordingly. Lastly, any htaccess or 301 redirect should go to the https that matches the www or non-www.

To me, thee embedded http: links are necessary but the other needs to be correct first.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com