Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sll problems


ONION

Recommended Posts

Posted

Ok, i deleted a reinstalled the database manually as well as oscommerce, completely removing from the server then uploading again (talk about take time).

 

everything has installed fine this time.

 

except.

 

not i cant get the SSL to work.

in the first instal it was going to https://myshopetc

but it was coming up as an untrusted crt as i had signed it myself.

 

so i went to freeSSL and downloaded a temp free one to try out.

now it says the site is not protected by SSL and each time to click to make

an account it says page cannot be found.

 

any ideas?

 

http://www.vinylperfection.co.uk/catalog

 

 

.htpasswords

etc

mail

public_ftp

public_html

ssl

temp

 

is what the ftp looks like.

the SSL crt is in the ssl folder.

can it be moved and installed into the catalog?

although it should automatically detect it shouldnt it?

Posted
Ok, i deleted a reinstalled the database manually as well as oscommerce, completely removing from the server then uploading again (talk about take time).

 

everything has installed fine this time.

 

except.

 

not i cant get the SSL to work.

in the first instal it was going to https://myshopetc

but it was coming up as an untrusted crt as i had signed it myself.

 

so i went to freeSSL and downloaded a temp free one to try out.

now it says the site is not protected by SSL and each time to click to make

an account it says page cannot be found.

 

any ideas?

 

http://www.vinylperfection.co.uk/catalog

.htpasswords

etc

mail

public_ftp

public_html

ssl

temp

 

is what the ftp looks like.

the SSL crt is in the ssl folder.

can it be moved and installed into the catalog?

although it should automatically detect it shouldnt it?

 

 

what does your configure.php look like ?

Treasurer MFC

Posted
what does your configure.php look like ?

 

 

 

 

  define('HTTP_SERVER', 'http://www.vinylperfection.co.uk'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.vinylperfection.co.uk'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'vinylper_osc1');
 define('DB_SERVER_PASSWORD', '*********');
 define('DB_DATABASE', 'osCommerce');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Posted

just spotted that no products etc are showing up, even on the bog standard instal.

:(

 

really dont get whats going wrong here.

 

its fine if i instal it without touching the ssl but goes tits up if i enable ssl.

:(

Posted
  define('HTTP_SERVER', 'http://www.vinylperfection.co.uk'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.vinylperfection.co.uk'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'vinylper_osc1');
 define('DB_SERVER_PASSWORD', '*********');
 define('DB_DATABASE', 'osCommerce');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

 

 

these are all empty

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

Treasurer MFC

Posted
these are all empty

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

 

 

any ideas what i need to put there?

Posted

it all depends upon where you put your store files. go back thru the installation again and dont delete anything from the defaults oscommerce has.

Posted
it all depends upon where you put your store files.  go back thru the installation again and dont delete anything from the defaults oscommerce has.

 

when i did the installation all the bits were already there

i just click proceed.

 

the store folders are in /catalog

just a default setup basically.

 

it all works with no SSL

but put SSL to true and it all goes pete tong.

Posted

means you have no ssl certificate installed on the server

Posted

i just checked, your ssl certificate is invalid, so leave seel enabled to false

Posted
i just checked, your ssl certificate is invalid, so leave seel enabled to false

 

 

hmm, ok maybe you can help direct me then.

 

in cpanel i made a key.

then made a csr from that key.

i then went to SSL and did the procedure of being sent a CRT (had to phone them etc)

 

so the CRT should be valid.

 

maybe ive done something wrong with the setup?

Posted
hmm, ok maybe you can help direct me then.

 

in cpanel i made a key.

then made a csr from that key.

i then went to SSL and did the procedure of being sent a CRT (had to phone them etc)

 

so the CRT should be valid.

 

maybe ive done something wrong with the setup?

 

bugger, i think i know what i did.

in the new instal i then went and made a new key and csr. but still used the crt freeSSL sent me.

 

that would make it invalid.

 

would that be the reason for all the errors? such as products not showing etc?

or would an invalid crt just show up with the security warning?

Archived

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

×
×
  • Create New...