so I had my website on Cloudways but only accessible to ourselves for editing and configuring.
Recently changed my domain from Godaddy to Point to the Cloudways server location. This seems to have gone ok and it redirects just fine.
I edited the config.php files to the new domain but something isn't right and it's not working. I believe its to do with the 'DIR_OPENCART' but I'm not sure what I should have exactly.
Spoke to Cloudways and they pointed me back to here for help.
Can anyone help with my configuration, please?
<?php
// APPLICATION
define('APPLICATION', 'Catalog');
// HTTP
define('HTTP_SERVER', 'http://lovetolaser.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'https://lovetolaser.co.uk/');
// DIR
define('DIR_OPENCART', 'lovetolaser.co.uk/');
define('DIR_APPLICATION', DIR_OPENCART . 'catalog/');
define('DIR_EXTENSION', DIR_OPENCART . 'extension/');
Recently changed my domain from Godaddy to Point to the Cloudways server location. This seems to have gone ok and it redirects just fine.
I edited the config.php files to the new domain but something isn't right and it's not working. I believe its to do with the 'DIR_OPENCART' but I'm not sure what I should have exactly.
Spoke to Cloudways and they pointed me back to here for help.
Can anyone help with my configuration, please?
<?php
// APPLICATION
define('APPLICATION', 'Catalog');
// HTTP
define('HTTP_SERVER', 'http://lovetolaser.co.uk/');
// HTTPS
define('HTTPS_SERVER', 'https://lovetolaser.co.uk/');
// DIR
define('DIR_OPENCART', 'lovetolaser.co.uk/');
define('DIR_APPLICATION', DIR_OPENCART . 'catalog/');
define('DIR_EXTENSION', DIR_OPENCART . 'extension/');
DIR_OPENCART should be the root directory of your OpenCart installation on the server. For example, that might look like this:
The path depends on how your server is structured, so you should ask your web host about that.
Code: Select all
define('DIR_OPENCART', '/home/myusername/public_html/');
The path depends on how your server is structured, so you should ask your web host about that.
One thing I have noticed (among other issues) with the built in upgrade script is that it never updates the config.php files. If you have the server space, create a subdomain or subfolder and run a quick upload / install of the new version of Opencart that you are going to use. This will generate the correct format for the config.php files. Save them to your local hard drive and then delete that subdomain or subfolder install. Then you can manually compare and apply the changes to your config.php files for what's going to be your live install.
Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com
Active Member
Who is online
Users browsing this forum: No registered users and 2 guests