Post by odi2000 » Wed Apr 13, 2011 4:05 am

I was working on a local and now wanted to move the store to the server where SSL is installed. I located to the admin/config and the root config. Can anyone show me the what I have to do. I can change the localhost with http://www.domain.com but am not sure what to do for the rest (except the database information)

The root config is as follows:
<?php
// DIR
define('DIR_APPLICATION', 'C:\wamp\www\store\/catalog/');
define('DIR_SYSTEM', 'C:\wamp\www\store\/system/');
define('DIR_DATABASE', 'C:\wamp\www\store\/system/database/');
define('DIR_LANGUAGE', 'C:\wamp\www\store\/catalog/language/');
define('DIR_TEMPLATE', 'C:\wamp\www\store\/catalog/view/theme/');
define('DIR_CONFIG', 'C:\wamp\www\store\/system/config/');
define('DIR_IMAGE', 'C:\wamp\www\store\/image/');
define('DIR_CACHE', 'C:\wamp\www\store\/system/cache/');
define('DIR_DOWNLOAD', 'C:\wamp\www\store\/download/');
define('DIR_LOGS', 'C:\wamp\www\store\/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'mystore');
define('DB_PREFIX', '');
?>


The Admin Config is as follows:
<?php
// HTTP
define('HTTP_SERVER', 'http://localhost/store/admin/');
define('HTTP_CATALOG', 'http://localhost/store/');
define('HTTP_IMAGE', 'http://localhost/store/image/');

// HTTPS
define('HTTPS_SERVER', 'http://localhost/store/admin/');
define('HTTPS_IMAGE', 'http://localhost/store/image/');

// DIR
define('DIR_APPLICATION', 'C:\wamp\www\store\/admin/');
define('DIR_SYSTEM', 'C:\wamp\www\store\/system/');
define('DIR_DATABASE', 'C:\wamp\www\store\/system/database/');
define('DIR_LANGUAGE', 'C:\wamp\www\store\/admin/language/');
define('DIR_TEMPLATE', 'C:\wamp\www\store\/admin/view/template/');
define('DIR_CONFIG', 'C:\wamp\www\store\/system/config/');
define('DIR_IMAGE', 'C:\wamp\www\store\/image/');
define('DIR_CACHE', 'C:\wamp\www\store\/system/cache/');
define('DIR_DOWNLOAD', 'C:\wamp\www\store\/download/');
define('DIR_LOGS', 'C:\wamp\www\store\/system/logs/');
define('DIR_CATALOG', 'C:\wamp\www\store\/catalog/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'mystore');
define('DB_PREFIX', '');
?>

And in the Admin, what path should I give for the store with SSL installed in the server:
https://www.domain.com/store or http://www.domain.com/store ?

Using v1.5.4.1


New member

Posts

Joined
Sat Apr 09, 2011 2:13 pm

Post by Moggin » Thu Apr 14, 2011 9:05 am

It may be simplest to follow these instructions:
Moving to another hoster/domain - this will ensure your config files automatically show the correct paths for your live server.

It's a good idea to take 2 site backups, and keep one separate from the folders/files you will be transferring.

In the admin panel, the store URL must be in the format http://www.yourstore.com/ - that is, with http: protocol, and trailing slash at the end. Do not use https: here or the store will show errors.

All you need do to enable SSL is select Use SSL:yes in the admin panel (system >settings>server).
-hope that helps!

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am

Post by ofcerci@gmail.com » Thu Jan 19, 2023 8:53 pm

Moggin wrote:
Thu Apr 14, 2011 9:05 am
It may be simplest to follow these instructions:
Moving to another hoster/domain - this will ensure your config files automatically show the correct paths for your live server.

It's a good idea to take 2 site backups, and keep one separate from the folders/files you will be transferring.

In the admin panel, the store URL must be in the format http://www.yourstore.com/ - that is, with http: protocol, and trailing slash at the end. Do not use https: here or the store will show errors.

All you need do to enable SSL is select Use SSL:yes in the admin panel (system >settings>server).
-hope that helps!
Where will I upload ssl files on wamp server ?
Last edited by ofcerci@gmail.com on Thu Jan 19, 2023 8:57 pm, edited 1 time in total.


Posts

Joined
Tue Dec 06, 2022 8:43 pm

Post by OSWorX » Thu Jan 19, 2023 10:09 pm

ofcerci@gmail.com wrote:
Thu Jan 19, 2023 8:53 pm
Where will I upload ssl files on wamp server ?
1. wamp = local server
2. which SSL-files?

Do you really want to use a "wamp" server for your online shop?
Or what is your purpose?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by xxvirusxx » Wed Feb 08, 2023 6:59 am

Enable SSL from admin side, and changes in both config file from http:// to https://

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 28 guests