Forums / Installing on a Linux/Unix Server / Transfering one site from one Domain to another on the same server?

Transfering one site from one Domain to another on the same server?

Views: 5,773

Results 21 to 22 of 22
13 Feb 2012, 7:46 AM
#21
gmartakis avatar

gmartakis

New Zenner

Join Date:
Feb 2011
Posts:
73
Plugin Contributions:
0

Transfering one site from one Domain to another on the same server?

Hi DrByte,
I found the solution to it. I think was from the multilanguage addon the
define('TABLE_EZPAGES_TEXT', DB_PREFIX . 'pelagos.ezpages_content');
Now is pointing to the right database I tested locally and it works perfect! Thanks again for your help my friend!:smile:

13 Feb 2012, 7:56 AM
#22
drbyte avatar

drbyte

Sensei

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

Re: Transfering one site from one Domain to another on the same server?

gmartakis:

define('TABLE_EZPAGES_TEXT', DB_PREFIX . 'pelagos.ezpages_content');
That's not correct. You should NOT stuff the database-name into the table-name definition. If you continue that way, then you'll have the very same problem again when you change servers/accounts next time.

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