Post by khnaz35 » Tue Oct 23, 2018 7:04 pm

Hi i am trying to install my live website opencart to localhost for some testing/changes with XAMPP, i had download SQL database and live website.
I took below step
1-created a folder C:\xampp\htdocs\shop\upload
2-uploaded my database in phpMYadmin
3-my admin confing.php is this

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://localhost/shop/upload/');

// HTTPS
define('HTTPS_SERVER', 'http://localhost/shop/upload/');

// DIR
define('DIR_APPLICATION', 'C:/xampp/htdocs/shop/upload/catalog/');
define('DIR_SYSTEM', 'C:/xampp/htdocs/shop/upload/system/');
define('DIR_IMAGE', 'C:/xampp/htdocs/shop/upload/image/');
define('DIR_LANGUAGE', 'C:/xampp/htdocs/shop/upload/catalog/language/');
define('DIR_TEMPLATE', 'C:/xampp/htdocs/shop/upload/catalog/view/theme/');
define('DIR_CONFIG', 'C:/xampp/htdocs/shop/upload/system/config/');
define('DIR_CACHE', 'C:/xampp/htdocs/shop/upload/system/storage/cache/');
define('DIR_DOWNLOAD', 'C:/xampp/htdocs/shop/upload/system/storage/download/');
define('DIR_LOGS', 'C:/xampp/htdocs/shop/upload/system/storage/logs/');
define('DIR_MODIFICATION', 'C:/xampp/htdocs/shop/upload/system/storage/modification/');
define('DIR_UPLOAD', 'C:/xampp/htdocs/shop/upload/system/storage/upload/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'mar4578_open');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'mara44589_open');
define('DB_PORT', '3306');
define('DB_PREFIX', 'ocz_');


4-my config.php is like this

Code: Select all

<?php

// Version
define('VERSION', '2.3.0.2');
// Configuration

if (is_file('config.php')) {

	require_once('config.php');

}
// Install

if (!defined('DIR_APPLICATION')) {

	header('Location: ../install/index.php');

	exit;

}
//VirtualQMOD
require_once('../vqmod/vqmod.php');
VQMod::bootup();

// VQMODDED Startup
require_once(VQMod::modCheck(DIR_SYSTEM . 'startup.php'));
start('admin');
but when i click on the shop url it doesn't show me the website which i have its shows a different test (default) website which i install in to the other folder

How to resolve this issue?

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by xxvirusxx » Wed Oct 24, 2018 12:04 am

Did you changed live URL from database with localhost url?

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

Post by khnaz35 » Wed Oct 24, 2018 12:52 am

xxvirusxx wrote:
Wed Oct 24, 2018 12:04 am
Did you changed live URL from database with localhost url?
I took all the above mentioned steps, is it's not there what are you mentioning 🤔
Can you guide on it

I got it working by following this steps.

I drop the database , and delete the test website as well as it DB,
Then creating a new DB and linking to website. :D ;)
Any how now i am facing the other issue which is SEO Friendly URL i believe its has to do something with .htaccess and am looking for it

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 67 guests