Daniel Posted July 8, 2008 Share Posted July 8, 2008 Hi,I'm hosted with the infamous 1and1 servers, and I'm stuck trying to get my shop working using SSL. The hosting package come with a shared SSL certificate. I've activated this, and it gives me this link: https://sslrelay.com/domain.co.ukwhich is odd, as I thought it would just stick an 's' at the end of the http etc.So prestashop tries to go to: https://www.domain.co.uk/my-account.php and fails.Anyone know what I can do to fix this?Many thanks,Dan Link to comment Share on other sites More sharing options...
ejectcore Posted July 8, 2008 Share Posted July 8, 2008 I had this issue.Are you having to upload Prestashop twice? Link to comment Share on other sites More sharing options...
ejectcore Posted July 8, 2008 Share Posted July 8, 2008 you need to change init.php line 96from:'base_dir_ssl' => (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].__PS_BASE_URI__,to:'base_dir_ssl' => (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').'sslrelay.com/domain.co.uk'.__PS_BASE_URI__,Try that if it doesn't work send me FTP details to both SSL & Prestashop site & I will take a look for you ;-) Link to comment Share on other sites More sharing options...
Daniel Posted July 8, 2008 Author Share Posted July 8, 2008 Thanks for the reply, I've had a quick go at it, but unfortunatly I still get the same, I'm trying this: 'base_dir_ssl' => (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').‘sslrelay.com/eonlasers.co.uk’.PS_BASE_URI,(Obviously changing the domain.co.uk bit)It's late and I'm very tired, so I'll have another crack at it tomorrow. But if I still can't breathe any life into it, I might take you up on your offer, thanks Dan Link to comment Share on other sites More sharing options...
ariopp Posted July 10, 2008 Share Posted July 10, 2008 did u manage to sort it out yet, because i did get it to work:I changed:init.php line 96from:'base_dir_ssl' => (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].PS_BASE_URI,to:'base_dir_ssl' => (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').'sslrelay.com/domain.co.uk', Link to comment Share on other sites More sharing options...
Daniel Posted July 10, 2008 Author Share Posted July 10, 2008 I've sort of given up getting it to work.Are you hosted with 1and1?As I have to direct all http requests to: http://domain.co.uk/...whatever...and all ssl requests to https://sslrelay.com/domain.co.uk/...whatever...:-?That code didn't make much difference to anything!I'm also trying to get friendly url's working, but to no avail :-(1and1 is a nightmare! (But cheap and fast ;-) ) Link to comment Share on other sites More sharing options...
ejectcore Posted July 10, 2008 Share Posted July 10, 2008 send me you access details & FTP I will look into this in the next few hours ;-) Link to comment Share on other sites More sharing options...
insideout Posted August 20, 2008 Share Posted August 20, 2008 If you get this to work, please share! I need this as well. Link to comment Share on other sites More sharing options...
Recommended Posts