If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Changed my config.php files, now can't login to store

Changed my config.php files, now can't login to store

Locked

Started by tedvieira on 26 Mar 2008, 11:11 PM · Views: 1,988

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
26 Mar 2008, 11:11 PM
#1
tedvieira avatar

tedvieira

New Zenner

Join Date:
Feb 2008
Posts:
13
Plugin Contributions:
0

Post #1 by tedvieira

Hi,

I've installed the ssl certificate for the website. Then I went into the config.php files (in admin/includes/ and in includes/) to set the enable SSL to "Yes". Then I also changed the following code, adding the 'www' where it wasn't before. I did this because I would get a warning about the certificate being issued to https://www.diaprousa.com, and the browser was going to diaprousa.com (no 'www').

define('HTTP_SERVER', 'http://www.diaprousa.com');
define('HTTPS_SERVER', 'https://www.diaprousa.com');
define('HTTP_CATALOG_SERVER', 'http://www.diaprousa.com');
define('HTTPS_CATALOG_SERVER', 'https://www.diaprousa.com');

and similar code in the other config file.

However, ever since I made that change, now I can't login to my user account in the shopping cart to make a purchase.

Is there something else I need to change, or do I need to remove the 'www' and just have to allow the certificate warning?

Thanks very much,

Ted Vieira

26 Mar 2008, 11:19 PM
#2
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Post #2 by marg

It's always possible that I'm a little daft, but where have you installed the cart? I get a .cfm page to look at and try to buy the product

27 Mar 2008, 1:22 AM
#3
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Post #3 by fatguyinaz

I also get the .cfm (Cold Fusion) page for Checkout. I wasn't aware you could integrate Zen Cart with Cold Fusion?

Steve
Zen cart version: 1.3.9h

27 Mar 2008, 6:18 PM
#4
tedvieira avatar

tedvieira

New Zenner

Join Date:
Feb 2008
Posts:
13
Plugin Contributions:
0

Post #4 by tedvieira

Hi, the current store on the site isn't a zen cart. It's a custom cfm cart that I'm replacing with the zen cart. The actual zen cart I'm working on is at http://www.diapro.com/products/

However, I've gone ahead and changed the config files back to diaprousa.com, rather than https://www.diaprousa.com so that the site at least functions, but this does cause the browser warning saying that the certificate is actually made out to https://www.diaprousa.com. It's not a huge issue, but this is for a client and it's just not very clean. I'd rather be able to change the config files to https://www.diaprousa.com, but also be able to login to the user account.

Thanks for any input on this!

Ted Vieria

27 Mar 2008, 6:35 PM
#5
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Post #5 by marg

dns is not yet propagated for me (I assume) so I only see a form on the page:
http://www.diapro.com/products/

27 Mar 2008, 6:45 PM
#6
tedvieira avatar

tedvieira

New Zenner

Join Date:
Feb 2008
Posts:
13
Plugin Contributions:
0

Post #6 by tedvieira

wooops. I'm sorry, juggling a few things here this morning....

http://www.diaprousa.com/products/

Sorry and thanks!

Ted

27 Mar 2008, 6:50 PM
#7
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Post #7 by marg

And you're certain both config files have www.diaprousa.com and not just diaprousa.com?

After reading the above... please change them back to the www.
I have a feeling if you close your browser after changing it, you'll be able to log in
Marg

27 Mar 2008, 7:06 PM
#8
tedvieira avatar

tedvieira

New Zenner

Join Date:
Feb 2008
Posts:
13
Plugin Contributions:
0

Post #8 by tedvieira

You're right, Marg! Thank you so much. I changed the configure files back to https://www.diaprousa.com, closed the browser, re-opened went to the site, logged in just fine, now browser SSL warning!

Thank you again!

Ted

27 Mar 2008, 7:21 PM
#9
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Post #9 by marg


body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-color: #FFFFFF;
background-image: url(http://diaprousa.com/images/bkg1.jpg);
background-repeat: repeat;
background-position: 0% 0%;
background-attachment: fixed;

You are calling a non-secure background to your page... Change it to:

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-color: #FFFFFF;
background-image: url(images/bkg1.jpg);
background-repeat: repeat;
background-position: 0% 0%;
background-attachment: fixed;

in your:
includes/templates/classic/css/stylesheet.css

27 Mar 2008, 7:48 PM
#10
tedvieira avatar

tedvieira

New Zenner

Join Date:
Feb 2008
Posts:
13
Plugin Contributions:
0

Post #10 by tedvieira

Hi,

Thanks for catching that. I changed the code but then the background image doesn't show up. Which image directory does it need to be in?

Thanks again,

Ted

27 Mar 2008, 9:05 PM
#11
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Post #11 by marg

../images/bkg1.jpg

Change that line to the above

put that image in your:
includes/templates/classic/images folder...

Also put it in the:
includes/templates/template_default/images foler

27 Mar 2008, 9:25 PM
#12
tedvieira avatar

tedvieira

New Zenner

Join Date:
Feb 2008
Posts:
13
Plugin Contributions:
0

Post #12 by tedvieira

Perfect! That did it.

Thanks again,

Ted