Post by comicxhub » Tue Sep 20, 2011 12:33 am

Hi All, I am having a problem configuring my new SSL, i tried following the steps seen on most forums but I still do not get the secured https:// when I click on Register account or Checkout.

Can anyone help?

here is what I have for the root config.php



<?php
// HTTP
define('HTTP_SERVER', 'http://XXXXX.com/');
define('HTTP_IMAGE', 'http://XXXXX.com/image/');
define('HTTP_ADMIN', 'http://XXXXX.com/admin/');

// HTTPS
define('HTTPS_SERVER', 'http://XXXXX.com/');
define('HTTPS_IMAGE', 'http://XXXXX.com/image/');

and here's for the admin config.php

<?php
// HTTP
define('HTTP_SERVER', 'http://comicxhub.com/admin/');
define('HTTP_CATALOG', 'http://comicxhub.com/');
define('HTTP_IMAGE', 'http://comicxhub.com/image/');

// HTTPS
define('HTTPS_SERVER', 'http://comicxhub.com/admin/');
define('HTTPS_IMAGE', 'http://comicxhub.com/image/');

I have switched back the setting under admin settings to not use SSL, hoping that when you guys reply, I can start from scratch.

I just bought an SSL cert from my host as well as a dedicated IP.

what do I do now?

PLEASE HELP!
Thanks in advance

Newbie

Posts

Joined
Tue Sep 20, 2011 12:27 am

Post by uksitebuilder » Tue Sep 20, 2011 12:40 am

<?php
// HTTP
define('HTTP_SERVER', 'http://comicxhub.com/');
define('HTTP_IMAGE', 'http://comicxhub.comimage/');
define('HTTP_ADMIN', 'http://comicxhub.comadmin/');

// HTTPS
define('HTTPS_SERVER', 'https://comicxhub.com/');
define('HTTPS_IMAGE', 'https://comicxhub.com/image/');

and here's for the admin config.php

<?php
// HTTP
define('HTTP_SERVER', 'http://comicxhub.com/admin/');
define('HTTP_CATALOG', 'http://comicxhub.com/');
define('HTTP_IMAGE', 'http://comicxhub.com/image/');

// HTTPS
define('HTTPS_SERVER', 'https://comicxhub.com/admin/');
define('HTTPS_IMAGE', 'https://comicxhub.com/image/');

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by dazthephot » Mon Oct 03, 2011 6:22 pm

I have been looking at this today and trying to figure it out.

When i log in to Admin, then enable SSL in system/settings it says "make sure the config file in ""admin"" and ""catalogue"" is configured properly.

Well i can see the config file in Admin but there isn't one in Catalogue? So i'm confused.

When i enabled SSl after configuring the Admin - config.php and the config file in the root folder, my store broke.

any suggestions??

New member

Posts

Joined
Tue Jul 05, 2011 6:31 pm

Post by uksitebuilder » Mon Oct 03, 2011 6:32 pm

It's in the root of your store where index.php is, there should be a config.php file there

also one in admin/config.php

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by dazthephot » Mon Oct 03, 2011 6:51 pm

thanks for the quick response. Still no joy though.

all the https's show up in the right place but when you hit "checkout" you get the secure web page warning from windows, you allow unsecure or disallow content and the page is redirected to a server landing page.

i changed the route config file and the admin config file with the following

<?php
// HTTP
define('HTTP_SERVER', 'http://mystore.co.uk/ocart/admin/');
define('HTTP_CATALOG', 'http://mystore.co.uk/ocart/');
define('HTTP_IMAGE', 'http://mystore.co.uk/ocart/image/');

// HTTPS
define('HTTPS_SERVER', 'https://secure1.namesco.net/mystore.co.uk/ocart/admin/');
define('HTTPS_IMAGE', 'https://secure1.namesco.net/mystore.co.uk/ocart/image/');

New member

Posts

Joined
Tue Jul 05, 2011 6:31 pm

Post by uksitebuilder » Mon Oct 03, 2011 6:56 pm

Shared SSL is not supported by default in OC

You will either need to (a) get a dedicated SSL cert that matches your domain name or (b) Grab an extension that allows the use of Shared SSL certs [see the list of my extensions in my sig if you want to go that route]

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by dazthephot » Mon Oct 03, 2011 6:59 pm

great thank you i'll check that out.

New member

Posts

Joined
Tue Jul 05, 2011 6:31 pm

Post by dazthephot » Fri Oct 14, 2011 6:43 pm

had a look, seems that unless the ocart installation is in the main directory this shared ssl extension won't work.

i can move the main website onto another domain host no problem but that will leave ocart's index file inside the ocart folder. if i move the entire contents of the ocart installation outside of this folder so it lives as the main site, will the whole link structure of ocart be affected?

New member

Posts

Joined
Tue Jul 05, 2011 6:31 pm

Post by uksitebuilder » Fri Oct 14, 2011 6:57 pm

please pm me with your Full domain and path to your OC store and also the SSL URL you have

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by dazthephot » Fri Oct 14, 2011 8:30 pm

sorry should have described it better.

upon reading the notes about the extension..... i haven't actually bought it yet.

New member

Posts

Joined
Tue Jul 05, 2011 6:31 pm

Post by uksitebuilder » Fri Oct 14, 2011 9:12 pm

If you aren't using the htaccess for SEO URLs then it will work

but if your store is in a subfolder www.yourdomain.com/shop for instance then you will likely have RewriteBase /shop/ set in your htaccess

so if your ssl domain was www.sharedserver.com/clientname/shop/

Then htaccess would kill off the clientname and the site would break

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by dazthephot » Mon Oct 17, 2011 5:35 pm

thats exactly what happens. although it displays the site in https, when you add a product and click checkout you get a browser error.
the client wanted a secure processing credit card facility but didn't want to pay (typically), i setup offline card processing but i couldn't make it secure.
i have since advised him that an integrated merchant account (worldpay) is the best solution as he already has a streamline mechant account for customer transactions.
thanks for your help, another lesson learned for my next shop.

New member

Posts

Joined
Tue Jul 05, 2011 6:31 pm

Post by revolvefitness » Sun Jan 04, 2015 7:34 pm

-deleted.


Posts

Joined
Fri Sep 19, 2014 10:04 am
Who is online

Users browsing this forum: No registered users and 71 guests