Post by brydekirk » Fri Jan 06, 2023 12:24 am

Hi, I want to create a copy of our website on a local PC using OC 3.0.3.8 with our data.

I installed xampp and a clean install of OC 3.0.3.8 and everything looks fine. Then I downloaded the database from our live 3.0.3.1 site then imported it onto my local drive and modified the config.php & admin/config.php. However when I open the store on localhost it is still displaying data from the install rather than the data from our live site.

I know I must be missing something, can anyone tell me what I've done wrong or haven't done.

I have attached a copy of the config.php files and screenshots of my admin dashboard, http://localhost/phpmyadmin & xampp console

\config.php

<?php
// HTTP
define('HTTP_SERVER', 'https://localhost/GFC_Test/');

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

// DIR
define('DIR_APPLICATION', 'F:/xampp/htdocs/GFC_Test/catalog/');
define('DIR_SYSTEM', 'F:/xampp/htdocs/GFC_Test/system/');
define('DIR_IMAGE', 'F:/xampp/htdocs/GFC_Test/image/');
define('DIR_STORAGE', 'F:/xampp/oc_storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'dbs535490');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

admin\config.php

<?php
// HTTP
define('HTTP_SERVER', 'https://localhost/GFC_Test/admin/');
define('HTTP_CATALOG', 'https://localhost/GFC_Test/');

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

// DIR
define('DIR_APPLICATION', 'F:/xampp/htdocs/GFC_Test/admin/');
define('DIR_SYSTEM', 'F:/xampp/htdocs/GFC_Test/system/');
define('DIR_IMAGE', 'F:/xampp/htdocs/GFC_Test/image/');
define('DIR_STORAGE', 'F:/xampp/oc_storage/');
define('DIR_CATALOG', 'F:/xampp/htdocs/GFC_Test/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'dbs535490');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

// OpenCart API
define('OPENCART_SERVER', 'https://www.opencart.com/');

[img] f:\Screenshot_27.jpg[/img]
[img] f:\Screenshot_28.png[/img]
[img] f:\Screenshot_29.png[/img]

New member

Posts

Joined
Sun Dec 30, 2018 7:26 pm

Post by brydekirk » Fri Jan 06, 2023 12:31 am

Oops, I thought that I had added screenshots but it doesn't seem to have worked, can someone tell me how to add an image to my post please?

Thanks,
Ian

New member

Posts

Joined
Sun Dec 30, 2018 7:26 pm

Post by xxvirusxx » Fri Jan 06, 2023 4:34 pm

brydekirk wrote:
Fri Jan 06, 2023 12:31 am
can someone tell me how to add an image to my post please?
You have a Tab named Attachments when you click on post reply or edit your post.

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: Amazon [Bot], JNeuhoff and 137 guests