Post by vssoft » Sun Feb 19, 2017 4:34 pm

Hi,

I have downloaded full backup of website thru cpanel and also export sql file of database.

How to configure database & copy all files to run website on localhost (on Ampps Localserver)

Pls guide.

Thanks

Active Member

Posts

Joined
Mon Jun 15, 2015 2:58 pm

Post by uksitebuilder » Mon Feb 20, 2017 12:52 am

Create Database, Install your backup sql

Change config.php and admin/config.php to suit your local set-up

Maybe also check your .htaccess in case you have specific domain related redirects

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by sculptex » Mon Feb 20, 2017 7:06 pm

As per UKSB, but I would add;

You might wish to setup a virtual host first rather than have localhost. You do this by editing your hosts file. (Search for how to do this for your os).

So you could then have;
www.yoursite.com (main site online)
and
local.yoursite.com (local copy on your machine)

and then in config just change www to local

ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK

Post by vssoft » Tue Feb 21, 2017 10:08 pm

I have created the database & copied all files to respective path from the backup.I have also changed the path settings in config.php & admin/config.php but the screen goes blank when accessing localhost page from the browser

Pls guide.

Thanks

Active Member

Posts

Joined
Mon Jun 15, 2015 2:58 pm

Post by uksitebuilder » Tue Feb 21, 2017 10:50 pm

Please check you error logs as a blank screen always produces/records an error in the error logs

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by vssoft » Wed Feb 22, 2017 2:12 pm

The default xampp homepage is showing properlty but when I try to access homepage of my website it shows blank screen
Could not resolve the issue ? The below is the error log:

[Wed Feb 22 11:27:12.628228 2017] [ssl:warn] [pid 8836:tid 232] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 11:27:12.718228 2017] [core:warn] [pid 8836:tid 232] AH00098: pid file E:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Feb 22 11:27:12.928229 2017] [ssl:warn] [pid 8836:tid 232] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 11:27:12.968229 2017] [mpm_winnt:notice] [pid 8836:tid 232] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.20 configured -- resuming normal operations
[Wed Feb 22 11:27:12.968229 2017] [mpm_winnt:notice] [pid 8836:tid 232] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Wed Feb 22 11:27:12.968229 2017] [core:notice] [pid 8836:tid 232] AH00094: Command line: 'e:\\xampp\\apache\\bin\\httpd.exe -d E:/xampp/apache'
[Wed Feb 22 11:27:12.968229 2017] [mpm_winnt:notice] [pid 8836:tid 232] AH00418: Parent: Created child process 6836
[Wed Feb 22 11:27:14.221238 2017] [ssl:warn] [pid 6836:tid 244] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 11:27:14.521238 2017] [ssl:warn] [pid 6836:tid 244] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 11:27:14.561238 2017] [mpm_winnt:notice] [pid 6836:tid 244] AH00354: Child: Starting 150 worker threads.

Active Member

Posts

Joined
Mon Jun 15, 2015 2:58 pm

Post by uksitebuilder » Wed Feb 22, 2017 5:01 pm

The errors all look related to SSL - Seems not to be set-up correctly, on localhost?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by vssoft » Fri Feb 24, 2017 1:51 pm

But, I have not installed SSL on my website. I have checked by installing default opencart on localhost and it is working fine but when i restore my website files it is not working. Moreover, I have also try to install it on : xampp,wamp but same problem.

Any idea to resolved this issue?

Active Member

Posts

Joined
Mon Jun 15, 2015 2:58 pm
Who is online

Users browsing this forum: No registered users and 60 guests