Forums / Installing on a Linux/Unix Server / Problem with server move

Problem with server move

Locked
Results 1 to 8 of 8
This thread is locked. New replies are disabled.
20 Aug 2007, 03:06
#1
jason8612 avatar

jason8612

New Zenner

Join Date:
Jun 2006
Posts:
12
Plugin Contributions:
0

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?
20 Aug 2007, 03:32
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

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/index.php?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/index.php?article=122
20 Aug 2007, 06:07
#3
jason8612 avatar

jason8612

New Zenner

Join Date:
Jun 2006
Posts:
12
Plugin Contributions:
0

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:\"Static Cling Decals\";s:9:\"parent_id\";s:1:\"0\";s:16:\"categories_image\";s:11:\"windows.gif\";}i:2;a:4:{s:13:\"categories_id\";s:1:\"7\";s:15:\"categories_name\";s:6:\"Decals\";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:13:\"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_id\";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']
20 Aug 2007, 06:09
#4
jason8612 avatar

jason8612

New Zenner

Join Date:
Jun 2006
Posts:
12
Plugin Contributions:
0

Re: Problem with server move

Amazing, actually I used that fix cache key, and it works!!
20 Aug 2007, 06:21
#5
fredw avatar

fredw

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Re: Problem with server move

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

How did you do that ?

Thanks, Fred
20 Aug 2007, 17:24
#6
jason8612 avatar

jason8612

New Zenner

Join Date:
Jun 2006
Posts:
12
Plugin Contributions:
0

Re: Problem with server move

I just followed the directions, uploaded it to the main folder, ran it, and it fixed it.
21 Aug 2007, 00:34
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

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 :blush:
21 Aug 2007, 03:10
#8
jason8612 avatar

jason8612

New Zenner

Join Date:
Jun 2006
Posts:
12
Plugin Contributions:
0

Re: Problem with server move

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