Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Configuring a non-SSL database to SSL database


mwarren

Recommended Posts

I defined my site as a non-SSL site when I originally set it up. My host gave hooked up a shared SSL server for me and I wanted to integrate SSL into my oscommerce site. What files would I have to move to the secure directory to get the login.php page to work properly? How do I go in and out of secure mode. I don't want the whole osite to be unbder SSL. Just the login page. Any help would be GREAT. Thanks ahead of time!

Link to comment
Share on other sites

I defined my site as a non-SSL site when I originally set it up.  My host gave hooked up a shared SSL server for me and I wanted to integrate SSL into my oscommerce site.  What files would I have to move to the secure directory to get the login.php page to work properly?  How do I go in and out of secure mode.  I don't want the whole osite to be unbder SSL.  Just the login page.  Any help would be GREAT.  Thanks ahead of time!

 

You need to edit your two configure.php files and set ssl to true and enter in your secure path. osC will automatically switch back and forth between secure and non-secure pages as need to proctect personal information.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

You need to edit your two configure.php files and set ssl to true and enter in your secure path. osC will automatically switch back and forth between secure and non-secure pages as need to proctect personal information.

 

 

Thank you. So I do not need to upload anything to my secure server? Also which lines in both of the configuration.php files do I need to change? Would the secure server entry be in this format?: https://secureserver/~username.

Link to comment
Share on other sites

Thank you.  So I do not need to upload anything to my secure server?  Also which lines in both of the configuration.php files do I need to change?  Would the secure server entry be in this format?:  https://secureserver/~username.

 

 

Well you need to edit the files and ftp them back to the server.

 

You are not editing your configuration.php file you are editing your two configure.php files.

 

If you are using a shared ssl certificate you need to get that info from your hosting company. It is probably something like that but you need to have it exactly correct or it will not work.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Well you need to edit the files and ftp them back to the server.

 

You are not editing your configuration.php file you are editing your two configure.php files.

 

If  you are using a shared ssl certificate  you need to get that info from your hosting company. It is probably something like that but you need to have it exactly correct or it will not work.

 

 

I did all of that. Now everytime the site goes to the login page, I get these errors:

................................................................................

......................................

Warning: main(DIR_WS_LANGUAGES/FILENAME_LOGIN): failed to open stream: No such file or directory in /home/httpd/vhosts/sslcatacomb.com/web_users/dandlgroceries/shop/login.php on line 17

 

Warning: main(DIR_WS_LANGUAGES/FILENAME_LOGIN): failed to open stream: No such file or directory in /home/httpd/vhosts/sslcatacomb.com/web_users/dandlgroceries/shop/login.php on line 17

 

Fatal error: main(): Failed opening required 'DIR_WS_LANGUAGES/FILENAME_LOGIN' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/sslcatacomb.com/web_users/dandlgroceries/shop/login.php on line 17

................................................................................

......................................

 

What could I do to solve this? Thank you for your time.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...