ferpravia Posted September 28, 2007 Posted September 28, 2007 Hi there, I have a simple question, but i can't figure it out. I want to have websites with oscommerce running 1 database (same database for both). 1 is up and running, I'll install the second one, what should i do during installation when I'm asked to import a database and create sample files? Thank you Best Regards, Fernando
Gauravs Posted September 28, 2007 Posted September 28, 2007 Would both sites be used for same products? if yes, why do you want to install oscommerce twice? You can just point one domain to redirect to your store ? Thanks, Gaurav Best Regards,Gaurav
ferpravia Posted September 28, 2007 Author Posted September 28, 2007 Hi there, yes i though of that, the thing is i'm making one specific for a country but i will be selling the same products. Regards. Fernando
Gauravs Posted September 28, 2007 Posted September 28, 2007 Hi there, yes i though of that, the thing is i'm making one specific for a country but i will be selling the same products. Regards. Fernando Hi Fernando, In that case, I would suggest to make one site only, and based on user IP - you can pass a variable to switch whatever you want for a specific country. Else you can have one database provided your host allows mysql connections to be shared between domains (generally it is restricted, so connections are allowed only from one domain). To make the magic work, you have to test new osc installation with database connection settings in configure.php. If connection succeeds, you can do it, if dbconnection fails, I am afraid, you would have to test other options. Cheers, Gaurav Best Regards,Gaurav
ferpravia Posted September 28, 2007 Author Posted September 28, 2007 Thank you very much, for your help. It's working, I put same access data for the database and it worked. Thank you very much Regards
Recommended Posts
Archived
This topic is now archived and is closed to further replies.