Zen Cart Logo
Forums / General Questions / 2 zencart projects on same server

2 zencart projects on same server

Locked

Views: 1,352

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
14 Sep 2009, 11:11 AM
#1
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

2 zencart projects on same server

Hi friends,
I have installed zencart on my site and made some changes to it,now i want a installable zip folder of my new zencart project.How to create it.Urgent please help.................

14 Sep 2009, 11:47 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: 2 zencart projects on same server

You can create a zip of your altered file set but not make it installable....
If you learn from the downloadble distribution...you could unzip it locally, add your edited/overrideable folders & files to it then re-zip it

14 Sep 2009, 12:20 PM
#3
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: 2 zencart projects on same server

Thanks for your reply.Actually my problem is that

I want to give this zencart module as extra support for my merchants.so i want to create seperate domain for each merchant on my server.
Whenever a merchant is created from admin module i have to create a installable zencart project for him.

17 Sep 2009, 9:30 AM
#4
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: 2 zencart projects on same server

I have customized my zencart project.

I have created a seperate login called "merchant" same as "admin" but this login have limited menus.

Now i want to install this modified zencart in some other location so what changes i have to make to the "zc_install" folder.

17 Sep 2009, 12:50 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: 2 zencart projects on same server

Copy all the Zen Cart folders and files to the new location. Use phpMyAdmin from your webmaster panel to backup the current database and use it from the webmaster panel on the new site to restore it.

18 Sep 2009, 4:07 AM
#6
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: 2 zencart projects on same server

Thanks for your reply.

I don't want to manually place the folders in new location i want to install this in the same way as we install zencart.how to do it?

18 Sep 2009, 4:22 AM
#7
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: 2 zencart projects on same server

Can we install two zencart projects on same server with different databases

18 Sep 2009, 4:24 AM
#8
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: 2 zencart projects on same server

Yes. You'll have to install them in their own directory. All three of the carts in my sig are on the same server.

18 Sep 2009, 4:40 AM
#9
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: 2 zencart projects on same server

when installing zencart for the second time it's asking for database upgrade if i choose install it's erasing the previous database.how to solve this issue

18 Sep 2009, 5:48 AM
#10
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: 2 zencart projects on same server

Are you installing zencart manually or via Fantastico?
If latter, this is your problem.

18 Sep 2009, 5:56 AM
#11
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: 2 zencart projects on same server

misty:

Are you installing zencart manually or via Fantastico?
If latter, this is your problem.

i am installing manually.

For the second time installation it's reading the configuration file of already installed zencart and giving the error

18 Sep 2009, 6:05 AM
#12
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: 2 zencart projects on same server

Of course you have to create another database or use a different prefix for your tables. A separate database is the prefered option as it is less confusing later when you want to change things (install modules). The second option should opnly be chosen then you have no more databases available on your host.

There is also a module that allows you to have 2 sites with different templates, but manages within the same admin area. You can create categories that are only shown on one shop. Not sure if you prefer this option. Cant remember the exact name of this module but it is easy to find.

18 Sep 2009, 6:21 AM
#13
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: 2 zencart projects on same server

Instead of creating the database manually how to create it through installation screens itself for the second zencart project

18 Sep 2009, 10:21 AM
#14
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: 2 zencart projects on same server

it needs to be in a seperate directory
and seperate database
e.g
site1: test.com/test1/zc
site2:test.com/test2/zc
to then load the 2nd site, goto https://www.test.com/test2/zc

18 Sep 2009, 12:44 PM
#15
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: 2 zencart projects on same server

gpgoud:

Instead of creating the database manually how to create it through installation screens itself for the second zencart project

Before installing, you have to create the database through your webmaster panel. Simply create the database and assign a user/password to it. When you run zc_install, supply the name, user and password for the new database and Zen Cart will take it from there.

You have to be installing Zen Cart in another directory as spid3r1987 said.

19 Sep 2009, 6:31 AM
#16
gpgoud avatar

gpgoud

New Zenner

Join Date:
Sep 2009
Posts:
26
Plugin Contributions:
0

Re: 2 zencart projects on same server

Thanks to all it's solved