Guest Posted March 21, 2003 Share Posted March 21, 2003 Hi everyone. I am very very new to php and mySQL, I installed 2.2ms1 last night and was rather proud that I figured it all out. However...the links on the main page to register will not work. I can get to that page by typing it in by itself. but in IE (am on a mac if that matters) I notice that it has an error that security encription failed. I was unsure about ssl when I installed the thing and I noticed it said to check the box to use it and that you can always change it at a later date. Where do you change that and how? Or indeed any help on setting up SSL? thanks in advance cheers Kimber Link to comment Share on other sites More sharing options...
Guest Posted March 21, 2003 Share Posted March 21, 2003 guess no one knows this? ~smiles~ Link to comment Share on other sites More sharing options...
DigitalFodder Posted March 22, 2004 Share Posted March 22, 2004 ive got the same problem. doesanyone know how to enable SSL and put the s on the end of http in the account links etc... Link to comment Share on other sites More sharing options...
Databuilder Posted March 22, 2004 Share Posted March 22, 2004 In configure.php: define('ENABLE_SSL', true); You must have a certificate to use this, either your own, or a shared certificate through your hosting provider. You will also have to set the other SSL lines in that file. define('HTTPS_SERVER', 'https://your_certificate'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'your_domain'); define('HTTPS_COOKIE_DOMAIN', 'your_certificate'); Link to comment Share on other sites More sharing options...
michalz Posted March 23, 2004 Share Posted March 23, 2004 Hi, also trying to setup ssl in osCommerce. installed osComm before I had ssl. Now I have a StarterSSL (chainedSSL) for my domain... in this line "define('HTTPS_SERVER', 'https://your_certificate');" and wherever there 'your_certificate' should, do i just put my secure server url then? i.e. ('HTTPS_SERVER', 'https://www.mysecuredomain.com');" and the checkout and admin in osCommerce will go through secure server ? is that all that needs to be done? Thanks. Link to comment Share on other sites More sharing options...
michalz Posted March 23, 2004 Share Posted March 23, 2004 Hi, it's me one more time. I think I figured out how to enable the ssl in the configure.php file and same inn admin. However, I am now getting something like this at the top of my store... " Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/domitp/public_html/shop/includes/configure.php:48) in /home/domitp/public_html/shop/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/domitp/public_html/shop/includes/configure.php:48) in /home/domitp/public_html/shop/includes/functions/sessions.php on line 67 " and if i click on something to "add to card" nothing happens, just getting this additional line to the above two: " Warning: Cannot modify header information - headers already sent by (output started at /home/domitp/public_html/shop/includes/configure.php:48) in /home/domitp/public_html/shop/includes/functions/general.php on line 29 " store is at www.domitp.com/shop any suggestions will be appreciated. Michal Link to comment Share on other sites More sharing options...
Sardonic76 Posted January 19, 2005 Share Posted January 19, 2005 did you manage to sort this out? I'm having the same problem. lots of warning up the top. Link to comment Share on other sites More sharing options...
Simplyeasier Posted January 19, 2005 Share Posted January 19, 2005 Hi, it's me one more time.I think I figured out how to enable the ssl in the configure.php file and same inn admin. However, I am now getting something like this at the top of my store... " Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/domitp/public_html/shop/includes/configure.php:48) in /home/domitp/public_html/shop/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/domitp/public_html/shop/includes/configure.php:48) in /home/domitp/public_html/shop/includes/functions/sessions.php on line 67 " and if i click on something to "add to card" nothing happens, just getting this additional line to the above two: " Warning: Cannot modify header information - headers already sent by (output started at /home/domitp/public_html/shop/includes/configure.php:48) in /home/domitp/public_html/shop/includes/functions/general.php on line 29 " store is at www.domitp.com/shop any suggestions will be appreciated. Michal <{POST_SNAPBACK}> This is normally caused by white spaces in edited php files - go to all the files you have edited and open them with notepad or note tab lite or best of all open them in cpanel - get rid of all white spaces particularly at the end of the files and see if this helps A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.