Post by Ljubo » Sun Mar 18, 2018 5:08 am

Hi all,
I have been trying for few days something that is supposed to be simple thing to do.
That is to copy a live version of OC 2.3.0.2 to local server, in order to play with it a little bit.
Whitout success.
Whatever I do, the result is that at the end, when accessing url at localhost/mylocalweb, it just downloads one no name file.
Clean install of OC 2.3.0.2 works just fine, so I guess it is not due to localhost server configuration.
My live version is on Journal theme, with vqmod installed.
Should I reinstall them afterwards, or what the hell am I doing wrong here...?
???

Active Member

Posts

Joined
Mon Jan 31, 2011 10:07 pm
Location - Serbia

Post by victorj » Sun Mar 18, 2018 6:41 am

Install a fresh copy on local host,
download files from your hosting to your computer
remove config.php located in root and folder admin from downloaded files.
copy alle files to whre you have yourlocal host.
on your hosting make a copy of database with phpmyadmin.
on local host go to phpmyadmin. select database remove all fields and import copy of live shop.

on local host log in in admin refresh modifications
go to journal and clear cache if enabled
now it should work

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by Ljubo » Sun Mar 18, 2018 9:41 pm

Thank you for your help friend.

But, when I upload my webfiles to localhost and import sql file, localhost is dead.
I can not login to admin or see catalog.
It just downloads the index.php file.

Active Member

Posts

Joined
Mon Jan 31, 2011 10:07 pm
Location - Serbia

Post by kestas » Sun Mar 18, 2018 10:17 pm

Ljubo wrote:
Sun Mar 18, 2018 9:41 pm
Thank you for your help friend.

But, when I upload my webfiles to localhost and import sql file, localhost is dead.
I can not login to admin or see catalog.
It just downloads the index.php file.
Maybe your forget to remove config.php from main and admin section of downloaded live shop. You must leave this local installed config.php files when you install fresh OC on local.

Cheers

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by Ljubo » Mon Mar 19, 2018 12:58 am

Thank you but that was not the problem.

Installed clean OC 2.3.0.2 to localhost - all OK
Installed Journal2 to localhost - all OK
Paste wefiles to localhost - all BROKEN
Nothing changed after export-import of sql file.
It just downloads the index.php file.

I am wondering, if there is some hardcoded line in my webfiles... online version is on a subfolder...

I give up.
:crazy:

Active Member

Posts

Joined
Mon Jan 31, 2011 10:07 pm
Location - Serbia

Post by Ljubo » Mon Mar 19, 2018 5:17 am

still trying...

I have seen that on live server is MariaDB (and its sql dump), while in fresh OC 2.3.0.2 is MySQL server (and its dump).
Anything to do with it possibly?

Active Member

Posts

Joined
Mon Jan 31, 2011 10:07 pm
Location - Serbia
Who is online

Users browsing this forum: No registered users and 23 guests