Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL problems... I think!


Guest

Recommended Posts

Posted

Hi all,

 

I am using shared SSL and have made the required amendments to the two configure files, and have set session SSL check to true.

 

I now get the following erro on trying to put a product in the cart.

 

Warning: Cannot modify header information - headers already sent by (output started at /home/partyple/public_html/onlineshop/includes/languages/english.php:688) in /home/partyple/public_html/onlineshop/includes/functions/general.php on line 29

 

Can you please point me in the right direction?

 

Much appreciated.

Posted

I'm sorry I can't help with your problem.

But how did you find out how to do this:

" required amendments to the two configure files, and have set session SSL check to true."

Are there instructions somewhere, or did you just know how to do it?

Posted
Hi all,

 

I am using shared SSL and have made the required amendments to the two configure files, and have set session SSL check to true.

 

I now get the following erro on trying to put a product in the cart.

 

Warning: Cannot modify header information - headers already sent by (output started at /home/partyple/public_html/onlineshop/includes/languages/english.php:688) in /home/partyple/public_html/onlineshop/includes/functions/general.php on line 29

 

Can you please point me in the right direction?

 

Much appreciated.

The docs have the answer

 

HERE

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??

Posted
I'm sorry I can't help with your problem.

But how did you find out how to do this:

" required amendments to the two configure files, and have set session SSL check to true."

Are there instructions somewhere, or did you just know how to do it?

You need to look for the following lines in your configure.php files.

 

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

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

define('ENABLE_SSL', false); // 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', '');

 

set the false in the enable ssl to true and make sure all your paths are correct for your server and certificate.

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??

Posted

Thanks ozcsys!

 

Checking the code logically might be above me but I shall try the suggested space thory and keep my fingers crossed.

 

wickeddivine,

trawling through the forum i'm afraid!

Posted
Thanks ozcsys!

 

Checking the code logically might be above me but I shall try the suggested space thory and keep my fingers crossed.

 

wickeddivine,

trawling through the forum i'm afraid!

The key is to always save your file as a backup before you make any changes. That way the worst case is you go back to where you were before you started.

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??

Posted

Hmm!

Well I tried the spaces theory and the error message is still the same.

 

I got rid of the spaces in both files and still get

Warning: Cannot modify header information - headers already sent by (output started at ./includes/languages/english.php:1346) in ./includes/functions/general.php on line 29

 

Any other ideas?

Posted

Done it!

 

For some reason the spaces kept being added back in so I kept trying until it did as it was told!

Archived

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

×
×
  • Create New...