Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Totally Bamboozeld by SSL this time around..


ozstar

Recommended Posts

Hello,

 

I am trying to establish my shared server SSL which was somehow easier last time around with snap2 of late Nov.

 

Maybe this new MS1 is different. Anyhow I can't get it to work.

 

I have spent hours trying out what I have read here in both config.php's, but no go.

 

When I click the login or the create new account I get this.......

 

********************

Not Found

The requested URL /catalog/create_account.php was not found on this server.

 

Apache/1.3.27 Server at localhost Port 443

 

 

The address bar tells me I am here....

 

https://64.176.81.123/catalog/login.php?osC...25840cba49cc20e

 

 

The address to the shop is http://www.leagueandlegends.com.

 

To save to-ing ands fro-ing, here are both configs with what I have changed.

 

XXXXXXXXXXX The is catalog/admin/includes/config.php

 

define('HTTP_SERVER', 'http://www.leagueandlegends.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

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

define('HTTPS_CATALOG_SERVER', 'https://host27.the-web-host.com/leagueandlegends/');

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

 

<snip>

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'league');

define('DB_SERVER_PASSWORD', 'pwd');

define('DB_DATABASE', 'leagueandlegends_com');

 

XXXXXXXXXXX The is catalog/includes/config.php

 

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

define('HTTPS_SERVER', 'https://host27.the-web-host.com/leagueandlegends/'); // eg, https://localhost - should not be empty for productive servers

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

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

 

<snip>

 

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

define('DB_SERVER_USERNAME', 'league');

define('DB_SERVER_PASSWORD', 'pwd');

define('DB_DATABASE', 'leagueandlegends_com');

define('USE_PCONNECT', 'false'); // use persistent connections?

 

Thanks

 

Oz

Link to comment
Share on other sites

David;

 

You might take a look at this. My SSL server setup is similar to yours and there are a couple of differences:

Yours

define('HTTPS_CATALOG_SERVER', 'https://host27.the-web-host.com/leagueandlegends/');

and mine

define('HTTPS_CATALOG_SERVER', 'https://secureserver.net/~mysite');

Note the tilde and no trailing slash in mine.

I don't know if your host's setup is different or not.

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Link to comment
Share on other sites

Well, I eventually found it.

 

I am not sure how it got there, but the catalog/configure file had the IP# instead of the URL address.

 

Can't figure how it did that as I put the URL in myself.

 

Come to think of it, when I set it up at the start in phpMyadmin, I may have given the IP# then. Not sure if that then could have done it though.

 

Anyway I changed it back to the URL http and https and I can now get to login and create an account.

 

Thanks

 

OZ

Link to comment
Share on other sites

Thanks for the answer.

 

Yes my server must be set up a little different as mine didn't work until I did put the trailing / !

 

Wow. These things sure do test the old noggin!! and at my age its an uphill battle, certainly slow moving anyway.

 

Thanks again!

 

BTW.

 

I just noticed my header images are not shown when in ssl. I have noticed over time others with that same problem, but as my previous shop didn't have any problem I never looked to see what their answer was.

 

OZ

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...