Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Added SSL to hosting, now cannot login to admin


Guest

Recommended Posts

Posted

We added an SSL to a hosting account (which gave us a new IP), and now we cannot access the cart admin login.

 

Everything else is working well on the site... http/https://www.wiredco.com

 

Where do I start on this one?

Posted
Everything else is working well on the site...  http/https://www.wiredco.com

 

Where do I start on this one?

 

I get a request for user/pass at http://www.wiredco.com/catalog/admin. What's the problem?

 

You need to edit the catalog/includes/configure.php file to set ssl to on

 

define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.wiredco.com');

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

Lastly, you've got a broken padlock when in https ( https://www.wiredco.com/catalog/ )

 

See: http://www.oscommerce.com/forums/index.php?sho...23entry672623

 

There's a user at the end of the thread also with GoDaddy.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
I get a request for user/pass at http://www.wiredco.com/catalog/admin. What's the problem?

 

You need to edit the catalog/includes/configure.php file to set ssl to on

 

define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.wiredco.com');

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

Lastly, you've got a broken padlock when in https ( https://www.wiredco.com/catalog/ )

 

See: http://www.oscommerce.com/forums/index.php?sho...23entry672623

 

There's a user at the end of the thread also with GoDaddy.

 

 

Thank you... the issue is the admin login is not accepting the correct login/password combo, even after I doublechecked the .htaccess/pass info....

 

Will read that link now/

Posted
Thank you...  the issue is the admin login is not accepting the correct login/password combo, even after I doublechecked the .htaccess/pass info....

 

Will read that link now/

 

OK, they probably moved you to a different server and it can't find the password file.

 

Just delete the .htaccess file in admin then create a new one, preferably via your control panel if godaddy supports that.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
OK, they probably moved you to a different server and it can't find the password file.

 

Just delete the .htaccess file in admin then create a new one, preferably via your control panel if godaddy supports that.

 

Grrr.. they moved everything but my htpasswd file, bastards! Glad it was an easy fix! =)

 

 

Now to figure out how to get the http to auto-redirect to https.... :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...