OC3.0.3.2
I cant add to cart. Get a warning of 'Error undefined". This seems to have happened after I installed an SSL certificate to make the site secure and changed the config files to https.
Any ideas please?
thanks
Make sure it says "https://" everywhere in both your config files.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
After applying the SSL you need to do some code work too.
open both config files font and admin in any code editor.
Its time to check and apply the "s" after the HTTP
do this for both files. Save it and check in the private browser
FOTN CONFIG FILE
// HTTP
define('HTTP_SERVER', 'http://www.yoursite.com/');
// WITH HTTPS
define('HTTPS_SERVER', 'https://www.yoursite.com/');
====================
ADMIN CONFIG FILE
// HTTP
define('HTTP_SERVER', 'http://www.yoursite.com/admin/');
define('HTTP_CATALOG', 'http://www.yoursite.com/');
// HTTPS
define('HTTPS_SERVER', 'http://www.yoursite.com/admin/');
define('HTTPS_CATALOG', 'http://www.yoursite.com/');
open both config files font and admin in any code editor.
Its time to check and apply the "s" after the HTTP
do this for both files. Save it and check in the private browser
FOTN CONFIG FILE
// HTTP
define('HTTP_SERVER', 'http://www.yoursite.com/');
// WITH HTTPS
define('HTTPS_SERVER', 'https://www.yoursite.com/');
====================
ADMIN CONFIG FILE
// HTTP
define('HTTP_SERVER', 'http://www.yoursite.com/admin/');
define('HTTP_CATALOG', 'http://www.yoursite.com/');
// HTTPS
define('HTTPS_SERVER', 'http://www.yoursite.com/admin/');
define('HTTPS_CATALOG', 'http://www.yoursite.com/');
Thanks & Regards
Sehaj Kaur
TMD Extensions
Contact Us For Customisations
Who is online
Users browsing this forum: Bing [Bot] and 517 guests