Post by upsocart » Fri Dec 13, 2019 9:34 am

I'm having trouble with my Ocart 2.3.0.2 install after moving to SSL. I realize that the store url needs to be changed but the row for the default store does not show up. Initially I thought it was a permissions problem and went into php admin and regranted myself permissions I can insert, update and delete from the table but cannot view the default store. The store loaded in my browser and showed in the severely crippled admin page I managed to get partially working though it had no graphics and I could not edit anything through there.

Newbie

Posts

Joined
Fri Dec 13, 2019 9:15 am

Post by wrick0 » Fri Dec 13, 2019 7:05 pm

you need to edit it in the config.php files in the /admin/ and site root


// HTTP
define('HTTP_SERVER', 'https://domain.nl/');

// HTTPS
define('HTTPS_SERVER', 'https://domain.nl/');

Active Member

Posts

Joined
Fri Jan 18, 2019 10:00 pm
Location - 127.0.0.1 @ The Netherlands

Post by EvolveWebHosting » Sat Dec 14, 2019 5:11 am

In addition to editing both config.php files, check your .htaccess file to make sure you don't have a redirect pointing to http and in the admin section under settings, there's a radio button to use SSL.

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 » Sun Dec 15, 2019 7:27 am

You also have to change your catalog and image entries in the config.php as well: If you have changed the admin folder name, which you should do, make sure it is accurate here.

// HTTP
define('HTTP_SERVER', 'https://yourdomain/admin/');
define('HTTP_CATALOG', 'https://yourdomain/');
define('HTTP_IMAGE', 'https://yourdomain/');

// HTTPS
define('HTTPS_SERVER', 'https://yourdomain/admin/');
define('HTTPS_CATALOG', 'https://yourdomain/');
define('HTTPS_IMAGE', 'https://yourdomain/');

New member

Posts

Joined
Mon Dec 01, 2014 9:22 am

Post by cedcommerceteam » Wed Dec 18, 2019 2:47 pm

upsocart wrote:
Fri Dec 13, 2019 9:34 am
I'm having trouble with my Ocart 2.3.0.2 install after moving to SSL. I realize that the store url needs to be changed but the row for the default store does not show up. Initially I thought it was a permissions problem and went into php admin and regranted myself permissions I can insert, update and delete from the table but cannot view the default store. The store loaded in my browser and showed in the severely crippled admin page I managed to get partially working though it had no graphics and I could not edit anything through there.
After enable ssl from server you need to update in config.php

=> admin/config.php

// HTTP
define('HTTP_SERVER', 'https://localhost/opencart/admin/');
define('HTTP_CATALOG', 'https://localhost/opencart/');

// HTTPS
define('HTTPS_SERVER', 'https://localhost/opencart/admin/');
define('HTTPS_CATALOG', 'https://localhost/opencart/');

=> config.php

// HTTP
define('HTTP_SERVER', 'https://localhost/opencart/');

// HTTPS
define('HTTPS_SERVER', 'https://localhost/opencart/');

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool


User avatar
Active Member

Posts

Joined
Wed Aug 09, 2017 9:02 pm
Who is online

Users browsing this forum: No registered users and 50 guests