Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2006
    Posts
    12
    Plugin Contributions
    0

    Default Problem with server move

    I had a whole nice setup on my old server, and I moved my account with cpanel to my new server. All went well, or what I thought. the mySQL moved over fine, and all the files except when I try to access the shop I get this.

    Not Found
    The requested URL /shop/zc_install/index.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    why is it trying to install itself when its already installed?

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

    Default Re: Problem with server move

    If Zen Cart cannot read the configure.php file or finds default settings in it, or finds invalid data in it (ie: cannot connect to database using the settings therein), then it assumes that it hasn't been installed and attempts to load the installer.

    Check that your 2 configure.php files are readable and that they contain correct information for URLs, file paths (DIR_FS_CATALOG, etc, DIR_FS_SQL_CACHE, etc).

    This FAQ may be useful:
    https://www.zen-cart.com/tutorials/i...hp?article=100
    this one has similar info:
    https://www.zen-cart.com/tutorials/index.php?article=99
    and this one is related, in case you're just moving to another folder on same server:
    https://www.zen-cart.com/tutorials/i...hp?article=122
    .

    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
    Jun 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Problem with server move

    got that working, now I got this

    1062 Duplicate entry 'zc_1bb761a3a593e628e1eddaeb1321bda4' for key 1
    in:
    [insert into zen_db_cache set cache_entry_name = 'zc_1bb761a3a593e628e1eddaeb1321bda4', cache_data = 'a:7:{i:0;a:4:{s:13:\"categories_id\";s:1:\"8\";s:15:\"categories_name\";s:23:\" Table top Display Combo\";s:9:\"parent_id\";s:1:\"0\";s:16:\"categories_image\";s:11:\"Display.jpg \";}i:1;a:4:{s:13:\"categories_id\";s:1:\"1\";s:15:\"categories_name\";s:19:\"St atic Cling Decals\";s:9:\"parent_id\";s:1:\"0\";s:16:\"categories_image\";s:11:\"windows.gi f\";}i:2;a:4:{s:13:\"categories_id\";s:1:\"7\";s:15:\"categories_name\";s:6:\"De cals\";s:9:\"parent_id\";s:1:\"0\";s:16:\"categories_image\";N;}i:3;a:4:{s:13:\" categories_id\";s:1:\"2\";s:15:\"categories_name\";s:5:\"Polos\";s:9:\"parent_id \";s:1:\"0\";s:16:\"categories_image\";s:18:\"Polo_White_USA.gif\";}i:4;a:4:{s:1 3:\"categories_id\";s:1:\"3\";s:15:\"categories_name\";s:4:\"Hats\";s:9:\"parent _id\";s:1:\"0\";s:16:\"categories_image\";s:13:\"Cap_Small.jpg\";}i:5;a:4:{s:13: \"categories_id\";s:1:\"6\";s:15:\"categories_name\";s:4:\"Mugs\";s:9:\"parent_i d\";s:1:\"0\";s:16:\"categories_image\";s:11:\"Mug USA.gif\";}i:6;a:4:{s:13:\"categories_id\";s:1:\"5\";s:15:\"categories_name\";s: 8:\"T-Shirts\";s:9:\"parent_id\";s:1:\"0\";s:16:\"categories_image\";s:7:\"Tee.jpg\";} }', cache_entry_created = '1187589955']

  4. #4
    Join Date
    Jun 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Problem with server move

    Amazing, actually I used that fix cache key, and it works!!

  5. #5
    Join Date
    Aug 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Problem with server move

    I tried the 'fix cache key' but can't get it running...

    How did you do that ?

    Thanks, Fred

  6. #6
    Join Date
    Jun 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Problem with server move

    I just followed the directions, uploaded it to the main folder, ran it, and it fixed it.

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

    Default Re: Problem with server move

    You really should plan to upgrade to a newer version sometime ;)
    That SQL message tells me you're using old code
    .

    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
    Jun 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Problem with server move

    That would be on my to do list after I finish the move.

 

 

Similar Threads

  1. Database problem, server move.
    By altzone in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 14 Jan 2011, 01:53 AM
  2. Problem with linkpoint after move to new server
    By kameleon in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 10 Jan 2011, 09:02 PM
  3. Server move - Problem with url and Server/Version Info - please help!
    By bethalicea in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 7 Jun 2009, 10:07 PM
  4. Database problem with server move
    By Woody619 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 20 Aug 2007, 07:13 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