Forums / Installing on a Linux/Unix Server / Moving to a new host, all moved but doesnt work

Moving to a new host, all moved but doesnt work

Locked

Started by sparkiii on 28 Jul 2007, 6:22 AM · Views: 1,922

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
28 Jul 2007, 6:22 AM
#1
sparkiii avatar

sparkiii

New Zenner

Join Date:
Jun 2007
Posts:
93
Plugin Contributions:
0

Moving to a new host, all moved but doesnt work

hI,

I am really new to all this but I have managed to have a working store on one server. I now want to move it to another server. I have exported the database from myphpadmin and imported it to the new account (after loads of attempts) I also downloaded all the entire site from the old account onto the new account (godaddy for both) and reinstalled it, it successfully installed except it wasnt picking up what was in the database I transferred. (i hope this is making sense).
Then I read somewhere to change the config.php files in includes and admin/includes, I think this is wehre I went wrong because now when I go to my domain it is looking for the zc_install folder, which I have deleted because iut told me too.

Help:oops:

Nat

28 Jul 2007, 6:43 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Moving to a new host, all moved but doesnt work

Nat

A couple of problems here. Firstly, if you are transferring an existing database, then you don't re-install Zen Cart, you just tweak the configure files to reflect the new location. By re-installing you wipe out your database. Happily you have your old site and the backup you took to transfer it.

The second problem is that having re-installed, the configure files would most likely have been correct for your site, so any changes made to them, are likely to make it wrong.

Here's what I'd do from here. Copy the zc_install back in and do another re-install, this should get your configure files correct. Then import your old database into your new one.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

28 Jul 2007, 6:46 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: Moving to a new host, all moved but doesnt work

You might want to check out the FAQ to see what steps you might have missed:
https://www.zen-cart.com/tutorials/index.php?article=100

.
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 Jul 2007, 11:38 AM
#4
sparkiii avatar

sparkiii

New Zenner

Join Date:
Jun 2007
Posts:
93
Plugin Contributions:
0

Re: Moving to a new host, all moved but doesnt work

Thanks so much to both of you, I decided to start from scratch and follow the instructions posted step by step,. I have gone through and done the fix_cache_ket.php and the message I get is

1146 Table 'kezza2.kezza2configuration' doesn't exist
in:
[select configuration_key as cfgkey, configuration_value as cfgvalue from kezza2configuration]

Which is also what I get when I type in the URL.

Any ideas.

Thanks

Nat

28 Jul 2007, 11:54 AM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Moving to a new host, all moved but doesnt work

I'm guessing that you have entered your database name where your database prefix should go. If you're not sure if you're using a database prefix, look in phpMyAdmin at the name of your "configuration" table. If it has something in front of the word configuration (such as "zen_") then that's your prefix.

Then edit your configure files to correct your prefix, or be NULL (two single apostrophes with nothing in between) as appropriate.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

28 Jul 2007, 9:48 PM
#6
sparkiii avatar

sparkiii

New Zenner

Join Date:
Jun 2007
Posts:
93
Plugin Contributions:
0

Re: Moving to a new host, all moved but doesnt work

You are fantastic, you really make it alot easier.....THANKYOU so much for your help.:clap: