Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2007
    Posts
    23
    Plugin Contributions
    0

    Default Switch server problems and fix_cache_key.php

    I’m trying to move my zen cart from one server to another using this procedure:

    http://www.zen-cart.com/wiki/index.p...Switch_Servers

    I’ve used this method before to move a cart between two url hosted with the same company but now I’m trying to move it to a new companies server. Zencart is installed fine on the new server but after I import the new database to the new server I get this error after I run fix_cache_key.php.


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


    Anyone know what’s going on?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Switch server problems and fix_cache_key.php

    Is this only an error at the top of running the fix cache?

    Does it later state that the path is corrected?

    I have seen some initial errors with this but in my cases it corrects them and the site loads error free
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Switch server problems and fix_cache_key.php

    Quote Originally Posted by phastings View Post
    1146 Table 'db12092_cart.cart1_configuration' doesn't exist
    What's the DB_PREFIX setting in your old cart? (configure.php files)
    What's the setting in your new cart ?
    What "prefix" do all your tablenames start with in your "old" database?
    Did you use the same prefix when setting up the new fresh Zen Cart install?
    .

    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.

  4. #4
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    red flag ERRORS: Switching server issues after running fix_cache_key.php

    Hello,

    I am running V1.3.7, I had to get a new account and a new IP addresse with Bluehost and hence move my sites to the other accont.

    Everything was done according to the zen-cart help page..
    I just ran the fix_cache_key.php file and my site is not showing up at all.

    The admin section seems to be working fine.

    here is the error messages I get fom the fix_cache_key.php....

    I looked at the application_top.php file and there are no spaces at the end or start.

    Please help and remember, Im a newbie at zencart :)

    Thanking you in advance.

    Snapshot is at the following address...
    www DOT gold host DOT com DOT au/fix-cache-error.jpg
    Last edited by rlexyd; 25 Aug 2007 at 01:26 AM.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: ERRORS: Switching server issues after running fix_cache_key.php

    Quote Originally Posted by rlexyd View Post
    Hello,

    I am running V1.3.7, I had to get a new account and a new IP addresse with Bluehost and hence move my sites to the other accont.

    Everything was done according to the zen-cart help page..
    I just ran the fix_cache_key.php file and my site is not showing up at all.

    The admin section seems to be working fine.

    here is the error messages I get fom the fix_cache_key.php....
    Your includes/configure.php file is either incomplete or not being read properly.
    Did you install a blank copy of Zen Cart first, and retain the generated configure.php files before uploading all your customized files from the other host?
    .

    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.

  6. #6
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: ERRORS: Switching server issues after running fix_cache_key.php

    Quote Originally Posted by DrByte View Post
    Your includes/configure.php file is either incomplete or not being read properly.
    Did you install a blank copy of Zen Cart first, and retain the generated configure.php files before uploading all your customized files from the other host?

    I installed a blank copy...
    then uploaded all the older folder via FileZilla...
    the only 2 folders that did not upolad was the 2 configure.php files.
    I tried to copy and paste them but it would not let me..it kept saying not allowed or something!!

    But i figured since filezilla couldn't have replaced them...which means they are the originals of the fresh install which is right!!!

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

    Default Re: Switch server problems and fix_cache_key.php

    Post the contents of your /includes/configure.php file ... without the database password.
    .

    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
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    red flag Re: Switch server problems and fix_cache_key.php

    Hi DrByte..
    Sorry about that , after I uploaded the folder with filezilla..the 2 configure.php files where there...i tried to personally delete them...but it wouldn't let me..

    Anyrate..i just checked again now and the configure.php in includes is missing?

    So i installed a new zencart again in another folder then took the configure.php file out of that one and replaced the sql file name and the password with the ones from the admin/includes/configure.php file that was there.

    The site worked...but when i did the cache_fix..it came up with these ERRORS....please view snapshot >>
    the green highlights are the name of the new hosting account and below it is the old hosting name.

    www DOT gold host DOT com DOT au/error-01.jpg

    what needs to be done to fix these errors??

    Thank you so much again for your time and help!

  9. #9
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Switch server problems and fix_cache_key.php

    The bottom text of the fix_cache tool is all very expected -- it corrected the path information in your database just as it was supposed to do.

    Is the site working properly now ?
    .

    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.

  10. #10
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Switch server problems and fix_cache_key.php

    Quote Originally Posted by DrByte View Post
    The bottom text of the fix_cache tool is all very expected -- it corrected the path information in your database just as it was supposed to do.

    Is the site working properly now ?
    Yes, thank you..the site seems fine..I will go through it in details later to make sure all of it works..

    As to the other Top 3 errors, how can fix them? why are they coming up?

    Thanx

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Server Information page not updated with switch to new server.
    By divinelighting in forum General Questions
    Replies: 2
    Last Post: 25 Aug 2012, 03:25 PM
  2. v139h fix_cache_key.php and /includes/local/configure.php
    By torvista in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 7 Jan 2012, 08:46 AM
  3. fix_cache_key.php just redirects me back to index.php
    By meijerbrantm in forum General Questions
    Replies: 9
    Last Post: 28 Jun 2009, 11:14 AM
  4. Moved server fix_cache_key.php not working
    By supersnow in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 2 Jan 2008, 01:18 AM
  5. problem in Grabing the Fix_Cache_Key after moving to new server
    By elaine99 in forum Installing on a Windows Server
    Replies: 1
    Last Post: 3 Aug 2007, 03:34 AM

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