Forums / General Questions / Moved Site to New Domain; Can't Run Fix Cache Key etc

Moved Site to New Domain; Can't Run Fix Cache Key etc

Views: 1,403

Results 1 to 6 of 6
27 Apr 2011, 6:26 AM
#1
ikernbecauseicare avatar

ikernbecauseicare

New Zenner

Join Date:
Aug 2010
Posts:
52
Plugin Contributions:
0

Moved Site to New Domain; Can't Run Fix Cache Key etc

Hi - I moved my website to a new domain tonight. https://www.besthookahsandmore.com. It was at https://www.hookahwaterpipe.com. I followed the steps outlined in the tutorial on how to move your Zen Cart install.

Now I am on the "fix cache key" step. I cannot figure out how to run this file. Double-clicking on it prompts my computer (a Mac) to ask me if I want to save it or open with...and when I choose Firefox to open it with, it continually asks me to download or open with again and again.

Also, I am getting this error when I look up my domain name:

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

Can anyone help me with this? Thanks a bunch for anything you can do :)

27 Apr 2011, 6:32 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Moved Site to New Domain; Can't Run Fix Cache Key etc

"znc_configuration" refers to the "configuration table" prefixed by "znc_" as your DB_PREFIX setting.
There's one line near the beginning of the tutorial on moving your site that talks about the importance of using the same DB_PREFIX on the new site as you used on the old site, else it won't recognize the tables in the database you're importing.

As for "running" fix_cache_key.php, you simply upload the file to your server using FTP, and type your site's URL followed by the corresponding path to the fix_cache_key.php file that you just uploaded. This is the very same concept as you use to run zc_install/index.php etc.

.
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.

27 Apr 2011, 6:36 AM
#3
ikernbecauseicare avatar

ikernbecauseicare

New Zenner

Join Date:
Aug 2010
Posts:
52
Plugin Contributions:
0

Re: Moved Site to New Domain; Can't Run Fix Cache Key etc

DrByte:

"znc_configuration" refers to the "configuration table" prefixed by "znc_" as your DB_PREFIX setting.
There's one line near the beginning of the tutorial on moving your site that talks about the importance of using the same DB_PREFIX on the new site as you used on the old site, else it won't recognize the tables in the database you're importing.

Thanks for your reply. I used Simple Scripts to install Zen Cart and it didn't ask me what prefix I wanted to use? Any way to go back and fix the install now or do I need to start over?

Thanks so much for your help :)

27 Apr 2011, 6:38 AM
#4
ikernbecauseicare avatar

ikernbecauseicare

New Zenner

Join Date:
Aug 2010
Posts:
52
Plugin Contributions:
0

Re: Moved Site to New Domain; Can't Run Fix Cache Key etc

Alrighty, the two prefixes are different...one is zen_ and one is znc_ (the new one). I am not sure what to do at this point.

27 Apr 2011, 7:02 AM
#5
kobra avatar

kobra

Black Belt

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

Re: Moved Site to New Domain; Can't Run Fix Cache Key etc

the two prefixes are different...one is zen_ and one is znc_ (the new one). I am not sure what to do at this point.
If you followed the tutorial on moving, then I am at a loss as to why you must have installed ZenCart using the script

Did you import the DB from your previous site?
Does this DB have both sets of tables one prefixed as znc and one set prefixed as zen for an approx total of 196 tables?

If so
Start by checking both of your configure.php files and see what prefix they are pointed to

Edit to the prefix that represents the DB you imported

Check what loads in your shop and see if that looks like what you were expecting

Zen-Venom Get Bitten

27 Apr 2011, 2:25 PM
#6
ikernbecauseicare avatar

ikernbecauseicare

New Zenner

Join Date:
Aug 2010
Posts:
52
Plugin Contributions:
0

Re: Moved Site to New Domain; Can't Run Fix Cache Key etc

kobra:

If so
Start by checking both of your configure.php files and see what prefix they are pointed to

Edit to the prefix that represents the DB you imported

Check what loads in your shop and see if that looks like what you were expecting

this worked beautifully :) Thank you so much .This is why I love Zen Cart and will not switch to another shopping cart system - because the user community is better than any tech support ever. :) You guys are awesome.

Thanks :)