Zen Cart Logo
Forums / General Questions / access problems after SSL

access problems after SSL

Views: 1,426

Results 1 to 20 of 29
22 Oct 2012, 9:32 PM
#1
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

access problems after SSL

Hi

I am experiencing access problems on two different installs, one 1.39h the other 1.50

On the 1.39 it's kind of random, some times it would give error message, then I retry, and get thru, has decreased since yesterday.

On the 1.50 SSL was enabled today, and since I can't get into admin, tried password forgotten tool, but no mail sent, tried also http://www.zen-cart.com/content.php?44 but no luck, no access to admin.
I tried customer login, and with SSL insatlled, but not enabled it would give login error, with SSL enabled it redirects to home page, , and no access.

Host is investigating, but I appreciate your input.

I apologize if I am breaking a rule here, but all this is making me believe the following wiating for assistance has to do with this as well, so if you can shed some light into this as well I greatly appreciate:
http://www.zen-cart.com/showthread.php?201364-no-order-registered-returns-to-step-2-3

Thank you

22 Oct 2012, 9:35 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: access problems after SSL

What is in your configure.php files??
One in the store includes the other in your admin includes

22 Oct 2012, 9:43 PM
#3
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

Thank you

v 1.50

includes/

  define('HTTP_SERVER', 'http://www.domain.com');
  define('HTTPS_SERVER', 'https://www.domain.com');
  define('ENABLE_SSL', 'true');

admin/includes

  define('HTTP_SERVER', 'http://www.domain.com');
  define('HTTPS_SERVER', 'https://www.domain.com');
  define('HTTP_CATALOG_SERVER', 'http://www.domain.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.domain.com');
  define('ENABLE_SSL_ADMIN', 'true');
  define('ENABLE_SSL_CATALOG', 'true');

1.39h

includes/

  define('HTTP_SERVER', 'http://www.domain.org');
  define('HTTPS_SERVER', 'https://www.domain.org');
  define('ENABLE_SSL', 'true');

admin/includes

  define('HTTP_SERVER', 'http://www.domain.org');
  define('HTTPS_SERVER', 'https://www.domain.org');
  define('HTTP_CATALOG_SERVER', 'http://www.domain.org');
  define('HTTPS_CATALOG_SERVER', 'https://www.domain.org');
  define('ENABLE_SSL_CATALOG', 'true');
  define('ENABLE_SSL_ADMIN', 'true');
22 Oct 2012, 9:47 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: access problems after SSL

not enabled it would give login error,
What error?

22 Oct 2012, 9:51 PM
#5
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

Error, email or password not found in database.

Or something similar, as I am translating it.

22 Oct 2012, 9:58 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: access problems after SSL

What if you set the admin configure file to both false?

22 Oct 2012, 10:05 PM
#7
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

I was trying just that.

Now I get in as user, BUT cannot add anything to cart, it takes me back to homepage, and says cart is empty, and there is no cart button anywhere.

No admin access.
I am going to try force reset admin again, so to try with SSL false one more time.

22 Oct 2012, 10:14 PM
#8
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

No joy, reforced also a second limited admin, but no access.

22 Oct 2012, 10:22 PM
#9
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

It's really wierd behaviour.

While I was logged with the SSL set to false, I changed the configures again to true, went back to store, and tried purchasing, and it did add the item to cart, I also went to paypal's page, then returned back, and deleted item, retried with another item, and was added fine, cleared cart again, logged out, and when trying to log back in, I was redirected to home page.

22 Oct 2012, 10:23 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: access problems after SSL

What message/action do you get with it set to false?

22 Oct 2012, 10:29 PM
#11
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

You mean in admin, or store?
In sore like said I got in, though limited, in admin no message.

22 Oct 2012, 10:29 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: access problems after SSL

in admin no message
Well what happens??

22 Oct 2012, 10:32 PM
#13
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

Nothing.
Just the login page represented and in the address bar it reads
http:// www. domain. com /admin/login.php?camefrom=index.php

22 Oct 2012, 10:40 PM
#14
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

Ok let's add another piece of wierdness.

I just tried thru https:// and the login page turned to the one that asks you to reset password, I did so, putting old password, and new one, and it did not let me access, now retrying with the new, and old passwords, says username and/or password are wrong.

And as if wasn't enough I see the password changed in phpmyadmin

22 Oct 2012, 10:42 PM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: access problems after SSL

Post a link to your store front

22 Oct 2012, 10:49 PM
#16
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

https:// www .editricebahai. com

23 Oct 2012, 12:53 AM
#17
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: access problems after SSL

Is this a new install or an upgraded install?

23 Oct 2012, 9:35 AM
#18
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

It had beenn upgraded over a month ago, and all was fine.
Last week I changed server (host), installed fresh, and imported database, and template.

23 Oct 2012, 12:43 PM
#19
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: access problems after SSL

I just deleted, and made a fresh install again.
This time I enabled SSL during the installation process, and failed to access with the temporary pass, I clicked on forgotten, and it did send the email with new pass, I tried, and it asked for old pass, and new pass, I did, and when trying to access with new pass, it failed again.
When email was sent instead of the email sent message, the define text of it came out.

At this point I reimported the database, and used the pass in there, failing again.

23 Oct 2012, 1:28 PM
#20
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: access problems after SSL

Last week I changed server (host)
Have you run "fix cache Key"??

http://www.zen-cart.com/downloads.php?do=file&id=8