Guest Posted January 16, 2006 Posted January 16, 2006 Hi, I will like to know how can I have 2 osc sites synchronized, I explain: - one osc installed/hosted on internet [online] - one osc installed/hosted on laptop [offline use] The laptop feature is intended to use as showcase/catalogue to costumers that I visit. thx in advance. jluis
MoisesZaragoza Posted January 16, 2006 Posted January 16, 2006 What you have to do is use the same db you would install OSC in the 2 sites like normal and then you would conect to the same DB that info is at the bottom of the configure.php at the end of the day the code will be good
Guest Posted January 16, 2006 Posted January 16, 2006 Hi MoisesZaragoza, thx for your reply, But how do I connect to db if the laptop is intended to use offline (no internet connection)
MoisesZaragoza Posted January 16, 2006 Posted January 16, 2006 Well if your laptop is the server you will need to have it online. butmost likely you will be using a server and at the bottom of the configure.php is the conection to the DB (data base) if you use this information 4 bouth sites you will be able to have the same information at the end of the day the code will be good
Gil_e_n Posted January 16, 2006 Posted January 16, 2006 I just don't see how you could synchronize the information without it being connected to the internet. You may have to simply install osc on your laptop, and update the database from your internet version on a daily basis. Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums. Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller
MoisesZaragoza Posted January 16, 2006 Posted January 16, 2006 no, there is no way. you need to be online. what is it that you want to do exacly? at the end of the day the code will be good
wheeloftime Posted January 16, 2006 Posted January 16, 2006 Hi,I will like to know how can I have 2 osc sites synchronized, I explain: - one osc installed/hosted on internet [online] - one osc installed/hosted on laptop [offline use] The laptop feature is intended to use as showcase/catalogue to costumers that I visit. thx in advance. jluis Maybe you should ask how similar your laptop showcase shop should be compared to the real shop on the internet ?! If you only need a recent snapshot once a week or a few times in the month you can simply backup the database on your internet server and restore it on your local machine. Make sure you synchronize the files from your laptop with the internet shop and you should be done (of course keep the configure.php's on your local machine read only so they can't be overwritten. That last part is only neccessary if you the shop files changed also. This assumes that the laptop can be attached to the internet for this maintenance.
Guest Posted January 17, 2006 Posted January 17, 2006 [...]what is it that you want to do exacly?[...] Ok, Imagine this scenario: You have your shop Catalogue up and running on internet, as everybody has ;) Done. Now, imagine that you want to make a personal contact with a possible costumer and you want to show him "what he is missing" not beeing a costumer and at the same time you are making a showcase of the catalogue and showing the features of the real website. (With your laptop) The real porpose of this shop catalogue is to show the products, not to sell direct from website, because is for WholeSale/bulk and it has too many variables from product-to-product and there is the need of a personal contact. (each costumer depending of the quantitys has diffrent prices) -------------------------------------------------------------------- xXx ----------------------------------------------------- My question is: Is there a way, to have the real catalogue on the internet, and with some import/export routine I could have same products/images/details/etc... in the laptop ? the db will not be changed too much so, this routine will be done one or twice a week... VERY appreciated by your suggestions, waiting for more :)
Guest Posted January 17, 2006 Posted January 17, 2006 I think I understand the question now, you have your online store, but when you go to visit a customer you don't want them to have to plug into the internet to see your catalog, you want to be able to show them your store from your laptop which is offline. The laptop then does not need to be sync'd, it just needs to be up to date as far as products go. On a Windows laptop you need a program such as easyphp or XAMPP. That will create a server on your laptop. Then you backup of your site through your control panel and download the zip file, extract the zip file and copy your store to your laptop. Then via phpmyadmin on your laptop just update the DB when you have added more products. When you open your laptop browser your store will be at http://localhost. You will need to chage the laptops configure.php files and maybe .htaccess (catalog and admin) but that is about it. After that it is just the DB file that needs to be transfered. Peter EDIT: If you are not getting the response you want rephrase the question. As you did. I didn't understand your qestion till you reposted it.
wheeloftime Posted January 17, 2006 Posted January 17, 2006 I think I understand the question now, you have your online store, but when you go to visit a customer you don't want them to have to plug into the internet to see your catalog, you want to be able to show them your store from your laptop which is offline. The laptop then does not need to be sync'd, it just needs to be up to date as far as products go. On a Windows laptop you need a program such as easyphp or XAMPP. That will create a server on your laptop. Then you backup of your site through your control panel and download the zip file, extract the zip file and copy your store to your laptop. Then via phpmyadmin on your laptop just update the DB when you have added more products. When you open your laptop browser your store will be at http://localhost. You will need to chage the laptops configure.php files and maybe .htaccess (catalog and admin) but that is about it. After that it is just the DB file that needs to be transfered. Peter EDIT: If you are not getting the response you want rephrase the question. As you did. I didn't understand your qestion till you reposted it. If I am not wrong he did get the same answer :-"
Guest Posted January 18, 2006 Posted January 18, 2006 I think I understand the question now, you have your online store, but when you go to visit a customer you don't want them to have to plug into the internet to see your catalog, you want to be able to show them your store from your laptop which is offline. The laptop then does not need to be sync'd, it just needs to be up to date as far as products go. Yeap you got it :P , my english is not so good and tried to give my best to explain. On a Windows laptop you need a program such as easyphp or XAMPP. That will create a server on your laptop. Then you backup of your site through your control panel and download the zip file, extract the zip file and copy your store to your laptop. Then via phpmyadmin on your laptop just update the DB when you have added more products. On the laptop will use WAMP Windows Apache MySql Php Got to confess that I don?t have at the moment much experience with osc backup/export tools, but that doesn?t seem to be a problem. When you open your laptop browser your store will be at http://localhost. You will need to chage the laptops configure.php files and maybe .htaccess (catalog and admin) but that is about it. So far so good... After that it is just the DB file that needs to be transfered. The backup file, right ? ------------------------------------ xXx ---------------------- Maybe you should ask how similar your laptop showcase shop should be compared to the real shop on the internet ?! If you only need a recent snapshot once a week or a few times in the month you can simply backup the database on your internet server and restore it on your local machine. Make sure you synchronize the files from your laptop with the internet shop and you should be done (of course keep the configure.php's on your local machine read only so they can't be overwritten. That last part is only neccessary if you the shop files changed also. This assumes that the laptop can be attached to the internet for this maintenance. Think both are the same answer :thumbsup: one more explained then other :blush: Thank you!! ------------------------------------ xXx ---------------------- You didn?t talk about images do I need to ftp ALL the images used on Catalog? The backup do a FULL backup? or just backup the mysql db ? cheers Jose Luis
Guest Posted January 18, 2006 Posted January 18, 2006 If you do a FULL backup from your web site control panel it will include all the files on your server, including all the osC files, it will also include the DB file that you will need to import. It is always good to have a current full backup anyways so this is a good way to go and something you should continue to do. To FTP all your files to the desktop takes to long, downloading the backup is much quicker. Easyphp and XAMPP are WAMP programs.
Guest Posted January 19, 2006 Posted January 19, 2006 Oki! I will try it and then will post the results :) thank you for your answers. Jose Luis
Recommended Posts
Archived
This topic is now archived and is closed to further replies.