Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2010
    Posts
    16
    Plugin Contributions
    0

    Default 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/i...hp?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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: New server install questions

    Quote Originally Posted by ride22 View Post
    I have followed the steps listed here:
    https://www.zen-cart.com/tutorials/i...hp?article=100
    What happens if you start again, paying careful attention to step 2a, and then skipping step 6?
    Quote Originally Posted by ride22 View Post
    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.
    Quote Originally Posted by ride22 View Post
    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
    Quote Originally Posted by ride22 View Post
    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.
    .

    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.

  3. #3
    Join Date
    Aug 2010
    Posts
    16
    Plugin Contributions
    0

    Default 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?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    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.

  5. #5
    Join Date
    Aug 2010
    Posts
    16
    Plugin Contributions
    0

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

  6. #6
    Join Date
    Aug 2010
    Posts
    16
    Plugin Contributions
    0

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

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: New server install questions

    Quote Originally Posted by ride22 View Post
    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
    Quote Originally Posted by ride22 View Post
    Also, some of my products are missing.
    Probably incomplete export/import.
    .

    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.

  8. #8
    Join Date
    Aug 2010
    Posts
    16
    Plugin Contributions
    0

    Default 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.
    Last edited by ride22; 28 Jun 2011 at 03:04 AM.

 

 

Similar Threads

  1. Replies: 5
    Last Post: 8 Oct 2009, 07:50 AM
  2. New install to Linux Server
    By eccotec in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 13 Aug 2009, 08:06 PM
  3. New Install / Upgrade Questions --1.2.6. to 1.3.8a
    By doherty1 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 6 Sep 2008, 03:35 AM
  4. Questions on new install
    By anthony.abraira in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 22 Jul 2006, 04:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg