Zen Cart Logo
Forums / Installing on a Linux/Unix Server / New server install questions

New server install questions

Views: 1,144

Results 1 to 8 of 8
27 Jun 2011, 3:55 AM
#1
ride22 avatar

ride22

New Zenner

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

New server install questions

I am having a couple of issues with the install on the host, and I hope that someone here can help me out.

I have followed the steps listed here:
https://www.zen-cart.com/tutorials/index.php?article=100

I have made it to #6 on the page (Fix_Cache_Key), and I have downloaded it and followed the steps. However, it states that this should be placed in the folder with the index.php file; the problem here is that there are several index files. Do you place it in every folder with an index.php file?
My next question about this step is that it says to open it in the browser. I try and open it by typing in my web address followed by the folder name and fix_cache_key.php; is this the correct method?
When type in the folder that it is listed in I don't get the results that it states that I should have. Instead, I see something like this: (note: XXXXXXX replaces my database name for posting on here)
1146 Table 'XXXXXXXX.project_version' doesn't exist
in:
[select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

What am I missing here? Any help that is given will be appreciated, as I have tried installing and re-installing about 5 times now. Makes me wish I would have stayed with my old company.

Thanks

27 Jun 2011, 4:43 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: New server install questions

ride22:

I have followed the steps listed here:
https://www.zen-cart.com/tutorials/index.php?article=100What happens if you start again, paying careful attention to step 2a, and then skipping step 6?
ride22:

I have made it to #6 on the page (Fix_Cache_Key), and I have downloaded it and followed the steps. However, it states that this should be placed in the folder with the index.php file; the problem here is that there are several index files. Do you place it in every folder with an index.php file?No. You place it in the folder where you installed Zen Cart. By "index.php", it's referring to the MAIN index.php which drives your site.> ride22:

My next question about this step is that it says to open it in the browser. I try and open it by typing in my web address followed by the folder name and fix_cache_key.php; is this the correct method?Just like index.php:
Your store's main URL : www.domain_name.com/index.php
Fix-Cache-key URL: www.domain_com/fix_cache_key.php
ride22:

When type in the folder that it is listed in I don't get the results that it states that I should have. Instead, I see something like this:
1146 Table 'XXXXXXXX.project_version' doesn't exist
That's telling you that when it goes looking for the table named 'project_version' in database 'XXXXXXXXX' that it can't find the table. It's simply following the instructions you gave it in your configure.php files, ie: the DB_XYXYXYXYX settings.

Tips:
a) the MOST common error people make is skipping step 2a and using the same DB_PREFIX on the new site as they had on their old site.
You NEED to set up the new site using the SAME setting as you had on the old one.

b) Sometimes you don't need fix_cache_key at all. Try accessing your store and your admin first. If you can login to your admin on the new site after step 5, then go fix the setting manually in Admin->Configuration->Sessions->Session Directory. Leave everything else in that screen alone though.

27 Jun 2011, 5:11 AM
#3
ride22 avatar

ride22

New Zenner

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

Re: New server install questions

First of all, thanks for the response DrByte. I reinstalled, again, paying special attention to 2a, and got the same results. I don't have a prefix on my new one, or my old one; could this be the issue? They are the same, but could not having a prefix be the issue? The code reads as follows on the new and the old: define('DB_PREFIX', '');

I can't login on the admin page, and I am still getting the error as show above.

Any other suggestions?

27 Jun 2011, 5:25 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: New server install questions

It is preferable to NOT have a prefix, so what you posted looks fine.

The error about project_version table not found means the table isn't in the database. So, maybe it might be good for you to go look in the database and see what tables do exist. Use phpMyAdmin.

27 Jun 2011, 12:15 PM
#5
ride22 avatar

ride22

New Zenner

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

Re: New server install questions

I figured it out after getting some sleep. For some reason, my export of my old data base wasn't exporting all of the files. So, I went back and exported the rest of them, and then imported to my new site and I believe I have it fixed now. Thanks a lot for you help.

27 Jun 2011, 12:56 PM
#6
ride22 avatar

ride22

New Zenner

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

Re: New server install questions

Ok, now I have another issue, I can't login to the admin page now. Any ideas on what is going on there?

Also, some of my products are missing.

27 Jun 2011, 10:38 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: New server install questions

ride22:

Ok, now I have another issue, I can't login to the admin page now. Any ideas on what is going on there?fix_cache_key
ride22:

Also, some of my products are missing.
Probably incomplete export/import.

28 Jun 2011, 2:00 AM
#8
ride22 avatar

ride22

New Zenner

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

Re: New server install questions

Thanks for the help. Come to find out it had pulled in my old password.

Thanks for all of your help.