Post by We are one » Wed Aug 14, 2013 6:19 pm

Hi,

My OpenCart Version is 1.5.6 and I'm using a fresh install.

So I thought, hey let's increase the security of my store, let's buy a SSL Certificate! Great Idea!

Now the installation process due OpenCart is giving me headache. :crazy:

(I know it's a OpenCart problem, anything else is running fine from my web-server and yes, I already enabled SSL in the OpenCart Admin Panel!)

Maybe the fail is located in my config files? Please help me out and take a look at them, thanks VERY MUCH in advance!

/puplic_html/config.php

Code: Select all

// HTTP
define('HTTP_SERVER', 'http://site.biz/');

// HTTPS
define('HTTPS_SERVER', 'https://site.biz/');
define('HTTPS_IMAGE', 'https://site.biz/image/'); 

/puplic_html/admin/config.php

Code: Select all

// HTTP
define('HTTP_SERVER', 'http://site.biz/admin/');
define('HTTP_CATALOG', 'http://site.biz/');
define('HTTP_IMAGE', 'http://site.biz/image/');


// HTTPS
define('HTTPS_SERVER', 'https://site.biz/admin/');
define('HTTPS_CATALOG', 'https://site.biz/');
define('HTTPS_IMAGE', 'https://site.biz/image/');

Where is my mistake located guys?

Newbie

Posts

Joined
Wed Aug 14, 2013 6:09 pm

Post by inactiveaccount9912 » Wed Aug 14, 2013 7:03 pm

What is the exat issue you are having with it, what doesnt work?

Keep in mynd that in opencart frontend just the checkout and account pages are set to work on ssl as they are the only ones with sensitive information.

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by We are one » Thu Aug 15, 2013 3:44 am

Hi florin, thanks for your answer.

Almost anything works right now, the page is correctly displayed with SSL.

I just get this error when I try to access my OpenCart Admin Login Page, tried it with SSL and without it.

Code: Select all

Fatal error: Call to a member function isLogged() on a non-object in /home/x/public_html/catalog/model/catalog/product.php on line 65
Any idea for a simple fix?

Thanks in advance for your answer!

Newbie

Posts

Joined
Wed Aug 14, 2013 6:09 pm

Post by bbcentral » Thu Sep 05, 2013 10:08 am

At a guess, it looks like the paths in the admin config.php file are wrong, the Admin is trying to load classes from the catalog.

Does it say this?

Code: Select all

define('DIR_APPLICATION', '/home/x/public_html/admin/');
or this?

Code: Select all

define('DIR_APPLICATION', '/home/x/public_html/catalog/');

OpenCart enthusiast
PHP/MySQL/jQuery Developer


User avatar
Newbie

Posts

Joined
Wed Dec 07, 2011 9:26 am

Post by xdomofab » Thu Sep 05, 2013 6:00 pm

How can I set SSL for shopping cart page and order checkout pages?

Opencart Development & Consult:
All in One SEO Package: making your Opencart SEO friendly
Product Rich Snippets: Breadcrumb, Product & Product Reviews
Custom Titile H1 Tag: custom category title, h1, bottom description and product title
Optimize Site URL Architecture: unique url w/breadcrumb, seo friendly url architecture


New member

Posts

Joined
Wed Jun 05, 2013 11:03 am

Post by MarketInSG » Thu Sep 05, 2013 9:52 pm

turn on the ssl feature in your admin panel. then updated your config.php files


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore
Who is online

Users browsing this forum: Majestic-12 [Bot] and 26 guests