If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Windows Server / Transferring servers

Transferring servers

Locked

Started by bryanptcs on 30 Oct 2006, 4:34 PM · Views: 2,282

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
30 Oct 2006, 4:34 PM
#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, 6:58 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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.

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

30 Oct 2006, 7:16 PM
#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, 7:23 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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?

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

31 Oct 2006, 4:12 PM
#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.

1 Nov 2006, 12:01 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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.

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