[XHP-users] Mirroring XHP site on local machine
Status: Beta
Brought to you by:
cjlars
|
From: Steve J. <st...@is...> - 2006-02-09 15:15:56
|
Hi,
I've ftp'ed my entire XHP site from my hosting providers site onto my local
machine.
I've used phpMyAdmin to backup the XHP database and recreate it on my local
machine using the same name database name. On my local DB I've used
phpMyAdmin to edit the table xtp_config and change the row PAGE_URL to
http://localhost/
I've edited the ./dbconfig.php file in the mirror site root as follows:
define ("XHP_DB_HOST","localhost");
If I now point my browser at http:/localhost/ I can see my mirrored site and
my pages all display correctly - oh joy.
My problem is a cannot login as admin on the mirror. The admin page displays
with menu, header etc but the name and password boxes are missing.
I also noticed that in the MySQL xhp_pages table the Admin page_id is
different. On my local mirror its 8 whereas on the hosting site its page 0.
All the other page_id values are the same?
Any ideas as to what I've missed?
Thanks Steve.
|