If this is your first visit, check our documentation. To post, register or login.

Setting up my Zencart site on own PC

Locked

Started by e_k_a on 26 Oct 2007, 10:43 AM · Views: 1,152

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
26 Oct 2007, 10:43 AM
#1
e_k_a avatar

e_k_a

New Zenner

Join Date:
Oct 2007
Posts:
9
Plugin Contributions:
0

Post #1 by e_k_a

Firstly, MASSIVE apologies for being a complete noob. Be prepared for some very basic questions here with no doubt the wrong jargon employed :(

Basically I brought a zencart site from "Rentacart" and after figuring I was well out of my depth I paid somebody a small fee to set it up.

I've been reading a lot of this forum and the zen cart tutorials and I realised there was a way to set up zencart on my local host so I could make changes to it without completely killing the live version.

So, I followed a PDF tutorial and installed both WAMP and Zen Cart onto my c drive pretty successfully. What I can't figure out is how to export my "Live" site onto my PC so I can play around with it.

I followed another tutorial and have exported the root file of the Live site into a SQL file and onto my local hosts database. (In that I can see it in the drop down menu).

Can anybody advise me of how to proceed from here?

Thanks in advance.

Simon.

26 Oct 2007, 10:47 AM
#2
e_k_a avatar

e_k_a

New Zenner

Join Date:
Oct 2007
Posts:
9
Plugin Contributions:
0

Post #2 by e_k_a

Sorry, I should say that I can see the root database in localhost/phpmyadmin/.

26 Oct 2007, 3:35 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

On your live site you have an /includes/configure.php file. In there is a DB_PREFIX setting. Find out what it is.
Then change the /includes/configure.php file on your local PC to use the same DB_PREFIX setting.
Do the same for your /admin/includes/configure.php file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Oct 2007, 11:50 AM
#4
e_k_a avatar

e_k_a

New Zenner

Join Date:
Oct 2007
Posts:
9
Plugin Contributions:
0

Post #4 by e_k_a

Cheers Doc. I did that (and consulted my zencart ebook) but I'm still stuck.

The zencart example page has now gone and I've got an error message saying:

1146 Table Zencart configuration doesn't exist

(Select configuration_keys as cfgkey, configuration_value as cfgvalue from configuration)

Any help would be appreciated :lookaroun

28 Oct 2007, 1:09 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #5 by drbyte

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Oct 2007, 5:54 PM
#6
e_k_a avatar

e_k_a

New Zenner

Join Date:
Oct 2007
Posts:
9
Plugin Contributions:
0

Post #6 by e_k_a

Thanks again.

The fix-cache utility sounds like it might be of help but I'm having problems with the directions. Namely:

    1. Copy this file to the folder where "index.php" exists for your Zen Cart site
    1. Run it

I was able to find the index.php file. How do you "Run it" ???

29 Oct 2007, 5:02 AM
#7
e_k_a avatar

e_k_a

New Zenner

Join Date:
Oct 2007
Posts:
9
Plugin Contributions:
0

Post #7 by e_k_a

Thanks very much for all your help!

I managed to sort it out now. One of the Database lines wasn't right in the configure files.

If I may ask one last question is there an easy way to transfer over the same template?

Thanks again,

Simon.