Page 1 of 1
OC 2.3.0.2 live - copy to local problem
Posted: Sun Mar 18, 2018 5:08 am
by Ljubo
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...?

Re: OC 2.3.0.2 live - copy to local problem
Posted: Sun Mar 18, 2018 6:41 am
by victorj
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
Re: OC 2.3.0.2 live - copy to local problem
Posted: Sun Mar 18, 2018 9:41 pm
by Ljubo
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.
Re: OC 2.3.0.2 live - copy to local problem
Posted: Sun Mar 18, 2018 10:17 pm
by kestas
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
Re: OC 2.3.0.2 live - copy to local problem
Posted: Mon Mar 19, 2018 12:58 am
by Ljubo
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.

Re: OC 2.3.0.2 live - copy to local problem
Posted: Mon Mar 19, 2018 5:17 am
by Ljubo
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?