Post by TAKCS » Fri Feb 05, 2016 1:49 am

Good day all.

Maybe someone here can help me. I purchased and had it installed on my 2.0.1.0 cart by my host, an SSL certificate. I have changed the root/config.php and admin/config.php to the following. I have also checked the "use SSL" box on the server tab in settings. Now that that is done, I can not login. I get a "The page you requested cannot be found!"

yes I want to run all the site with SSL.

Config
// HTTP
define('HTTP_SERVER', 'https://www.mydomainname.com/');

// HTTPS
define('HTTPS_SERVER', 'https://www.mydomainname.com/');

admin/config
// HTTP
define('HTTP_SERVER', 'https://www.mydomainname/admin/');
define('HTTP_CATALOG', 'https://www.mydomainname.com/');


// HTTPS
define('HTTPS_SERVER', 'https://www.mydomainname/admin/');
define('HTTPS_CATALOG', 'https://www.mydomainname.com/');


Any ideas?

Allen
Last edited by TAKCS on Sat Feb 06, 2016 12:21 am, edited 1 time in total.

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by Randem » Fri Feb 05, 2016 4:47 am

Hi TAKCS,

Check to make sure that your SSL certificate is for www.mydomainname.com not mydomainname.com. Probably the most common error.

Secondly make sure that ALL your store URL's resolve to exactly the same place (root or folder). Your SSL must point to this location also.

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by TAKCS » Fri Feb 05, 2016 4:52 am

Randem wrote:Hi TAKCS,

Check to make sure that your SSL certificate is for www.mydomainname.com not mydomainname.com. Probably the most common error.

Secondly make sure that ALL your store URL's resolve to exactly the same place (root or folder). Your SSL must point to this location also.
Good day.

When I set up the purchase for the SSL, I specified www. How would I check your second statement. Not a programmer guy. Just a intelligent person trying to figure this out.

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by Randem » Fri Feb 05, 2016 5:05 am

You would need to log on to your admin control panel with your host to view your SSL configuration.
You could ask them too but you will get a accurate answer in the control panel.

Make sure your .htaccess is not redirecting also.

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by TAKCS » Fri Feb 05, 2016 8:47 am

my domain is currently pointing to public_html/mydomainname.com So should I have had the SSL covering just the domain and no www? I could not find anywhere in the host control panel where it would say what the SSL config is. :( I have a reply to the current ticket in. We will see. .htaccess is not redirecting.

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by Randem » Fri Feb 05, 2016 9:04 am

Yes, domainname.com is very different than http://www.domainname.com but you can have your .htaccess redirect either one to the other but your SSL will only cover one of them if you have a single domain SSL.

When you type into the address bar, which one shows the lock?

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by TAKCS » Fri Feb 05, 2016 9:20 am

Randem wrote:Yes, domainname.com is very different than http://www.domainname.com but you can have your .htaccess redirect either one to the other but your SSL will only cover one of them if you have a single domain SSL.

When you type into the address bar, which one shows the lock?
Neither. It has an exclamation point in a triangle. I think I may have bigger issues here. I have another site that has a redirect from public_html to a www. address. When I look at the settings on that one, the store URL is http://www.itsdomainname.com. With the one I am working on there is not redirect in the host control panel and the settings in admin say http://www.hostdomainname.com/mydomainname.com. I own all of them. The one I am having issues with is an addon domain just like the other one above.

Make sense? I dunno... frustrating for sure.

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by Randem » Fri Feb 05, 2016 9:26 am

I don't know what you mean by addon domain. Do you mean you have a domain that resolves to another domain so that they both point to the same exact place?

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by TAKCS » Fri Feb 05, 2016 9:37 am

Randem wrote:I don't know what you mean by addon domain. Do you mean you have a domain that resolves to another domain so that they both point to the same exact place?
No. The root account is under http://www.accoutdomain/com. Then I have addon on domains for both of the carts. The one that I not dealing with (no SSL) has a "domainname.com" redirecting to "www.domainname.com" Both are addon domain to the host main account domain. The one I am dealing with has no redirect and therefore uses the http://www.accountdomain.com/domainname.com.

Is this my issue? I have an SSL cewrtificate that covers "www.domainname.com" and is is using "www.accountdomain.com/domainname."

have a I lost you yet?

Allen

Edit. Which begs the question. How do I change that in OC admin panal of through FTP? New install and database restore...? EEEWWWW!

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by EvolveWebHosting » Fri Feb 05, 2016 9:44 am

What is your actual domain name in question? You can use this site to see whether or not your SSL Certificate covers non www and www.

https://www.sslshopper.com/ssl-checker.html

You can also use the site whynopadlock.com to figure out why page(s) aren't displaying the padlock when they should be.

If you want additional help, please send an email to sales (at) evolvewebhost.com

2 Week FREE Trial of our Shared Hosting plans (DIrectAdmin or cPanel) for new customers
2 Week FREE Trial of Astra Firewall and Malware Scanner
Visit our website for full details and to start your trial today - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by TAKCS » Fri Feb 05, 2016 9:44 am

BTW,

I certainly appreciate all the help.

Allen

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by TAKCS » Fri Feb 05, 2016 9:48 am

https://www.sslshopper.com/ssl-checker.html

Looks good. Yes.

Whynopadlock: i good except one thing. not an admin lock out issue though.
Last edited by TAKCS on Fri Feb 05, 2016 10:52 am, edited 1 time in total.

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by Randem » Fri Feb 05, 2016 9:50 am

Confused. Quite simply what IP Addresses do the domain names resolve to

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by TAKCS » Fri Feb 05, 2016 9:57 am

Randem wrote:Confused. Quite simply what IP Addresses do the domain names resolve to
The one I am working with The tak-cs.com (account domain) the same (shared server). So my account is got the static IP.
Last edited by TAKCS on Fri Feb 05, 2016 10:50 am, edited 1 time in total.

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by TAKCS » Fri Feb 05, 2016 10:14 am

Btw, the cart works fine. I just had a sale at 5:38pm PST. Just when I click use SSL in store settings, things go totally sideways when trying to login to admin.

Out of here for the night. Family time. Check in again early am. Thakn you for the advise and head scratching with me.

Have a blessed and prosperous evening.

Allen

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by TAKCS » Sat Feb 06, 2016 12:20 am

Solved. Thank you all for the help. I guess what happened was, I had the config.php file such that the additional domain name in there (http://www.accountdomain.com/domainname.com was totally FUBAR'n the situation. All is https now and I can login via admin panel.

Thank you again for your patience,

Have a blessed and prosperous day!

Allen

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by freedr » Thu Nov 12, 2020 6:17 pm

1. Editing your config.php file in root and in admin folder to point to the https urls and .htaccess file.
2. Also in the system/config directory respectively 2 files: admin.php (for admin backend) and catalog.php (for frontend)
find $_['site_ssl'] = false;
change it to
$_['site_ssl'] = true;

Newbie

Posts

Joined
Fri Dec 27, 2019 4:05 pm

Post by Syx » Fri Jan 22, 2021 8:29 am

freedr wrote:
Thu Nov 12, 2020 6:17 pm
1. Editing your config.php file in root and in admin folder to point to the https url
Thank you, this is what resolved my issue after some confusion about the cause.

Syx
Newbie

Posts

Joined
Fri May 12, 2017 5:25 am
Who is online

Users browsing this forum: No registered users and 58 guests