Forums / Installing on a Windows Server / Transferring servers

Transferring servers

Locked
Results 1 to 6 of 6
This thread is locked. New replies are disabled.
30 Oct 2006, 16:34
#1
bryanptcs avatar

bryanptcs

New Zenner

Join Date:
Mar 2006
Posts:
10
Plugin Contributions:
0

Transferring servers

I am doing a transfer for a client of mine, however, I have never used ZenCart so I don't know if there is stuff in the actual files that I need to edit. I have transferred the database sucessfully and the files have all been uploaded. I receive the following errors when viewing the site.

Warning: Unknown(): open_basedir restriction in effect. File(/home/inlinecc/public_html/index.php) is not within the allowed path(s): (/home/ww2ptcs:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

Warning: Unknown(/home/inlinecc/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0

Warning: Unknown(): open_basedir restriction in effect. File(/home/inlinecc/public_html/index.php) is not within the allowed path(s): (/home/ww2ptcs:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

Warning: Unknown(/home/inlinecc/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/home/inlinecc/public_html/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
30 Oct 2006, 18:58
#2
drbyte avatar

drbyte

Sensei

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

Re: Transferring servers

Here are the server-move instructions:
http://www.zen-cart.com/wiki/index.php/Server_Admin_-_Switch_Servers

Your configure.php file settings are not correct for the new server. You have paths in them related to the old server.
30 Oct 2006, 19:16
#3
bryanptcs avatar

bryanptcs

New Zenner

Join Date:
Mar 2006
Posts:
10
Plugin Contributions:
0

Re: Transferring servers

I seem to have the paths correct now, and it now says the requested page cannot be found.

ww2.ptcs.net
30 Oct 2006, 19:23
#4
drbyte avatar

drbyte

Sensei

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

Re: Transferring servers

What is apache's errorlog telling you when this happens?

What did you enter for your DIR_FS_CATALOG value?

Are your files really under public_html like they should be?
31 Oct 2006, 16:12
#5
bryanptcs avatar

bryanptcs

New Zenner

Join Date:
Mar 2006
Posts:
10
Plugin Contributions:
0

Re: Transferring servers

ok, i just went ahead and started all over following the directions in the previous link step by step: When i finished, I ran the fix-cache_key.php and got the following error:

1146 Table 'ww2ptfc_zc1.zen_db_cache' doesn't exist
in:
[select * from zen_db_cache where cache_entry_name = 'zc_7eb4ed1f36d90140477d9474b61e0e26']


Thanks, for your help.
01 Nov 2006, 00:01
#6
drbyte avatar

drbyte

Sensei

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

Re: Transferring servers

zen_db_cache


Does your actual database have the "zen_" prefix on all its tables?
If not, then you need to change your DB_PREFIX setting in the configure.php files to suit.