Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP!! - Fatal Error with SSL and Checkout_Success


glwhatrup

Recommended Posts

Posted

Hi Guys,

 

Have just had my SSL cert installed, and everything was working fine until I did a test purchase, and went to "return to merchant" from PayPal, and I got the following error:

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/gemmasg/public_html/catalogue/includes/functions/database.php:13) in /home/gemmasg/public_html/catalogue/includes/functions/database.php on line 13

 

I have tried what other posts suggested - to overwrite the language files back to scratch, but it didn't work.

 

I read somewhere that its something to do with how tep_redirect works, and that the HTTPS_SERVER and HTTP_SERVER values (in configure.php) should map to the same place in the site. Not sure if mine do - see below:

 

define('HTTP_SERVER', 'http://www.mydomain.co.uk');

define('HTTPS_SERVER', 'https://www.mydomain.co.uk');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.mydomain.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'https://www.mydomain.co.uk');

 

Any help greatly appreciated

 

Thanks

 

xGemx

Archived

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

×
×
  • Create New...