Post by Bron » Fri Dec 02, 2011 1:20 am

Hi
I am trying to enable SSL but I can't seem to edit my /admin/config.php and config.php files because they are completely blank. There is nothing to edit. I am running the latest opencart.

I actually went ahead and copied/past the HTTP threads into these files which was just tragic because that just stuffed up my website completely and I had to re-install opencart.

These are the instructions I have followed on how to setup SSL - http://opencarthelp.com/a/?q=improve-op ... #admin_ssl

Anyway, if anyone can shed some light on this problem or direct me to some threads that can help, I'd appreciate it so much.

Cheers
Bron

Newbie

Posts

Joined
Fri Dec 02, 2011 12:47 am

Post by darek » Fri Dec 02, 2011 1:48 am

1st fundamental question :

Have you bought SSL certificate, then installed and assigned properly to dedicated IP ? :)

==========================================================
1.A dedicated IP is required, speak about it to your hosting company
2.Ask hosting company to generate CSR
3.Make sure the domain is properly assigned to your dedicated IP
4.Choose and buy SSL certificate
5.Install the certificate
6.Switch SSL on in your store admin panel
7.Check if content of the mentioned earlier .php files is correctly generated and change what's essential
8.Enjoy
===========================================================

Alternatively, you can use shared SSL if your hosting plan offers this feature but you will need Opencart shared SSL extension.

===========================================================
If you feel insecure about doing this you can always order it from your hosting company, basic ssl should not cost a fortune.

UK best wireless burglar alarms & gate controllers


New member

Posts

Joined
Fri Feb 04, 2011 5:35 am
Location - Scotland

Post by Moggin » Fri Dec 02, 2011 5:04 am

Bron wrote:I can't seem to edit my /admin/config.php and config.php files because they are completely blank. There is nothing to edit. .....
I actually went ahead and copied/past the HTTP threads into these files which was just tragic because that just stuffed up my website completely and I had to re-install opencart.
It looks as if you have attempted to edit and upload pre-installation copies of config.php and admin/config.php.

This will certainly blank out your site.

The reason is that these files are written to when you install Opencart. If you download a copy of each file from a functioning Opencart store (via FTP), you will see they are both populated. The populated files are the ones that need to be amended and reuploaded (backup both of them first ;) )

Hope that helps.

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am

Post by Superior1 » Fri Dec 02, 2011 6:34 am

Hi

I've been having similar issues however I have managed to update config files in catalog and admin successfully. The problem now is that my checkout goes on a loop. I go to the cart, hit checkout and it just refreshes the page effectively. Is this because I need a shared SSL extension?

Any advice welcomed.

Thanks

New member

Posts

Joined
Sat Aug 27, 2011 5:39 pm

Post by Bron » Fri Dec 02, 2011 8:08 am

Moggin you're a Gem! Thank you so much! ;D

Newbie

Posts

Joined
Fri Dec 02, 2011 12:47 am

Post by Moggin » Sat Dec 03, 2011 6:31 am

Glad to help, Bron :)

@Superior1, we might need a bit more information, or a link, before anyone can help. Are you using shared SSL?

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am

Post by Superior1 » Sun Dec 11, 2011 7:53 pm

@moggin sorted it thanks. Thanks for the offer to help, appreciated.

New member

Posts

Joined
Sat Aug 27, 2011 5:39 pm

Post by pinkloveshy » Thu Jan 05, 2012 4:09 am

Hi I have the same issue with my cart going around in a loop as a result of installing my SSL.
I'm pulling my hair out

Please help me to fix

Regards
Pinkloveshy

Newbie

Posts

Joined
Tue Dec 27, 2011 12:41 am

Post by Moggin » Thu Jan 05, 2012 7:14 am

Hi pink - if you could provide us with a link, this may help with troubleshooting

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am

Post by aansari » Fri Feb 10, 2012 6:59 am

Hi
I use shared SSL and I edit admin/config and enable SSL from admin CP . Admin cp and shoping cart working fine with SSL and when I click account or checkout its compeltly blank page.All other pages in shopping cart working fine. I do not how to sort out this. I nned someone

New member

Posts

Joined
Wed May 26, 2010 7:20 am

Post by mrspeakers » Tue Feb 12, 2013 3:31 pm

I am having the same issue of looping back to the cart, and extremely errant behavior where the user is logged out when they go back to the home page. Also, sales taxes aren't calculating (they used to work just fine).

SSL is enabled in admin.

Admin and root level config.php are both set as:

Code: Select all

// HTTP
define('HTTP_SERVER', 'http://www.mrspeakers.com/');
define('HTTP_IMAGE', 'http://www.mrspeakers.com/image/');
define('HTTP_ADMIN', 'http://www.mrspeakers.com/admin/');

// HTTPS
define('HTTPS_SERVER', 'https://www.mrspeakers.com/');
define('HTTPS_IMAGE', 'https://www.mrspeakers.com/image/');
I've reviewed other pages on modifying these, as well at the .htaccess but that simply generates errors all over the page.

Any help here? My customers are going a bit (justifiably) postal...

Newbie

Posts

Joined
Thu May 17, 2012 2:25 pm

Post by mrspeakers » Tue Feb 12, 2013 3:38 pm

The https for the admin is working fine, FWIW.

Newbie

Posts

Joined
Thu May 17, 2012 2:25 pm
Who is online

Users browsing this forum: No registered users and 19 guests