Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Yahoo Hosting And Ssl


plazman65

Recommended Posts

Good morning all,

I am using Yahoo hosting, I didnt know about any problems with them until yesterday for the ssl, apparently anything that I want ssl needs to go to a folder names ssl, I used the contribution below, it is working to the extent that its now bring up the right urls however it says 'cant connect to the database' (it connects just fine in none ssl pages) I dont really have the option right now to switch hosts so I was hoping that someone may have a idea?

 

 

SSL Set-up for Yahoo Web Hosting Accounts

Yahoo uses a shared ssl server. They and others claim you can’t use osCommerce with a Yahoo web hosing account but its actually pretty simple.

 

1. Create a directory named 'ssl' (must be in lowercase)

2. Copy your catalog folder into this directory.

(from now on, when you edit files, you will have to do it in both your root/catalog and root/ssl/catalog; You actually only have to worry about files using ssl – e.g. account, checkout, admin)

3. Edit the catalog/includes/configure.php (and ssl/catalog/includes/configure.php)

 

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

define('HTTPS_SERVER', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');

define('HTTPS_COOKIE_DOMAIN', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/');

 

4. Edit the catalog/admin/includes/configure.php (and ssl/catalog/admin/includes/configure.php)

 

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

define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com');

define('HTTPS_CATALOG_SERVER', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/ssl/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/ssl/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/catalog/'); // absolute path required

Link to comment
Share on other sites

define('HTTPS_SERVER', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/'); // eg, https://localhost - should not be empty for productive servers

I don't think this settings is correct.

 

it shows the following error:

Sorry, the page you requested was not found.

 

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

I don't think this settings is correct.

 

it shows the following error:

I did change all the names in the contribution to fit the site. What I am wondering is the thing that may be tripping me up is the line

-

define('HTTPS_SERVER', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/'); // eg, https://localhost - should not be empty for productive servers

 

becuase its going to https://s.p5.hostingprod.com/ instead of just the www.store.com is that what could be causing the database error? And if it is how does one get around that?

Link to comment
Share on other sites

I did change all the names in the contribution to fit the site. What I am wondering is the thing that may be tripping me up is the line

-

define('HTTPS_SERVER', 'https://s.p5.hostingprod.com/@www.yourdomain.com/ssl/'); // eg, https://localhost - should not be empty for productive servers

 

becuase its going to https://s.p5.hostingprod.com/ instead of just the www.store.com is that what could be causing the database error? And if it is how does one get around that?

 

Hello,

 

There are ten files that you need to have modified for a correct Yahoo configuration. I will try and get a contribution out on it today. If anything it will be early to late evening, (Pacific Standard Time)

 

Alan

Production:
osCommerce V. 2.3.4BS
VPS Box

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...