Forums / Installing on a Linux/Unix Server / test site install (don't want to mess up)

test site install (don't want to mess up)

Locked

Views: 3,063

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
28 Dec 2007, 10:51 PM
#1
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

test site install (don't want to mess up)

Hi,

I want to set up a test site.

I have a live store up and running in my root domain.

I created a folder called test.

I would like to install a test zen cart site (1.3.8a) in that test directory.

I have unzipped and uploaded all of the files to the /test directory.

Before I run the /test/ zc install procedure.... will this work???

I don't want to do anything that may mess up my live working store.

Thanks.

28 Dec 2007, 11:51 PM
#2
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: test site install (don't want to mess up)

Absolutely!

I did the same thing and just today went live to the world.

You can alway rename the folder later or dump it all into the main public folder later.

Cheers!
v2.2.1

29 Dec 2007, 4:28 AM
#3
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: test site install (don't want to mess up)

Cool. So if I install another cart into a /test folder, it won't interfere with my current live site in the root directory?

Thanks.

29 Dec 2007, 4:37 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: test site install (don't want to mess up)

be sure you are using a copy of your database and not the same database to test with ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Dec 2007, 5:00 AM
#5
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: test site install (don't want to mess up)

Hi Ajeh,

Happy New Year. :-)

I copied all of the unzipped folders into the /test directory.

When I run the install from that /test directory, will it create a new database (zc2) or do I have to do something special in cPanel?

BTW I want to set up a test site to see if all of my modifications will work in 1.3.8a before I upgrade my live 1.3.7 site. :-)

Thanks.

29 Dec 2007, 5:02 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: test site install (don't want to mess up)

You need to create the new database your self ... then you can load a copy of your Live database and upgrade it to your test site of v1.3.8a ...

http://www.zen-cart.com/forum/showthread.php?t=81696

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Dec 2007, 6:01 AM
#7
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: test site install (don't want to mess up)

I've read the docs, and just want to be clear...

I created a second db in Cpanel.
I created a /test folder.
I uploaded the unzipped 1.3.8a files to the /test folder.

Now I just run the install from within the /test folder???

:-)

29 Dec 2007, 6:13 AM
#8
misty avatar

misty

Inactive

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

Re: test site install (don't want to mess up)

gsdcypher:

I've read the docs, and just want to be clear...

I created a second db in Cpanel.
I created a /test folder.
I uploaded the unzipped 1.3.8a files to the /test folder.

Now I just run the install from within the /test folder???

:-)
YES, making sure you state details of NEW database you have created
when installing..
ALWAYS BACKUP YOUR EXISTING STORE FIRST, BEFORE YOU START
INSTALLATION...INCLUDING EXISTING DATABASE.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

29 Dec 2007, 7:25 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: test site install (don't want to mess up)

Note: you made a /test and a 2nd database ...

Did you export your Live site database and import it to the 2nd database so you can upgrade it?

Or, do you just want a /test with its own database for the demo data that comes with Zen Cart?

If you want the /test with the demo data then you are doing fine now ... and as misty stated ... be sure you use the right database name, username and password for your new 2nd database ...

And, as a safety, I like to also backup my Live site incase I moofed up somewhere along the way ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Dec 2007, 11:27 PM
#10
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: test site install (don't want to mess up)

i chickened out on the install last night. lol i didn't want to risk messing up my live site.

also when i created the second database i didn't enter a user name or pw. :-( do i have to go back into cpanel and edit that?

thanks.

29 Dec 2007, 11:39 PM
#11
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: test site install (don't want to mess up)

How did you not create a username and password?

In cpanel you have to enter username and password.

Go ahead and save a copy of that DB onto your desktop and create a new one and then restore that DB with the saved DB.

Change your admin/include/config file.

Cheers!
v2.2.1

30 Dec 2007, 1:38 AM
#12
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: test site install (don't want to mess up)

i downloaded a copy of my live database.

i created a new database for the test site.

can i use php admin to go into my test db and in then import the saved live db to populate it???

it can't be that easy?

30 Dec 2007, 2:23 AM
#13
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: test site install (don't want to mess up)

i have this warning on my test site.

Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels.

30 Dec 2007, 2:57 AM
#14
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: test site install (don't want to mess up)

Well if a DB restore didn't solve it then call your Host Tech Support.

I just wanted to understand that you have 2 different DB's online and your config files say so.

I have only used cpanel to create DB's and restore them.

Cheers!
v2.2.1

30 Dec 2007, 5:11 AM
#15
misty avatar

misty

Inactive

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

Re: test site install (don't want to mess up)

also when i created the second database i didn't enter a user name or pw. :-
( do i have to go back into cpanel and edit that?
Yes, otherwise new zencart install will not be able to connect to
your new database.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

31 Dec 2007, 3:42 AM
#16
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: test site install (don't want to mess up)

Hi All,

Well I made some mistakes along the way, but the test site seems to be working. Thanks for the help. :smile:

I've got all of my products in there and some of the mods transferred too... I imported the db of my live site into the db of my test site and then ran the installation upgrade. Since the install, I got a few orders on my live site and it hasn't affected the test site db, so everything seems to be separate.

Happy New Year everyone :clap: