Migrating Site from one server to another
Posted: Wed 19. May 2004, 00:09
I installed phpWCMS on a spare domain name to show the client it would do what he wanted. He loves it.
Next, I created his existing domain name (hosted on another server currently). I can access it by IP address: http://209.123.203.51/~username/
I had Fantastico install phpWCMS ... I uploaded the corrected conf.php and conf.template_default.inc.php files ... I uploaded the custom images ... I uploaded the complete database structure with phpMyAdmin without any errors.
Now, things seem strange:
The default CSS is missing and I can't cut and paste it from the original install into the new one. I get these errors:
Warning: fopen(/home/forefron/public_html/phpwcms_template/inc_css/frontend.css): failed to open stream: No such file or directory in /home/deckard/public_html/include/inc_lib/general.inc.php on line 718
Warning: Cannot modify header information - headers already sent by (output started at /home/deckard/public_html/include/inc_lib/general.inc.php:718) in /home/deckard/public_html/include/inc_act/act_frontendcss.php on line 37
I don't know where the forefron is coming from, but I suspect it's because both sites (the development domain and the new, not-yet-activated domain) are on the same server and the IP is shared.
Also, some graphics are missing on the homepage. It appears that phpWCMS has lost track of where things are. Will this correct itself when the site path in conf.php is set to the proper domain name and not the IP address and the site is made active and all DNS point to it?
Next, I created his existing domain name (hosted on another server currently). I can access it by IP address: http://209.123.203.51/~username/
I had Fantastico install phpWCMS ... I uploaded the corrected conf.php and conf.template_default.inc.php files ... I uploaded the custom images ... I uploaded the complete database structure with phpMyAdmin without any errors.
Now, things seem strange:
The default CSS is missing and I can't cut and paste it from the original install into the new one. I get these errors:
Warning: fopen(/home/forefron/public_html/phpwcms_template/inc_css/frontend.css): failed to open stream: No such file or directory in /home/deckard/public_html/include/inc_lib/general.inc.php on line 718
Warning: Cannot modify header information - headers already sent by (output started at /home/deckard/public_html/include/inc_lib/general.inc.php:718) in /home/deckard/public_html/include/inc_act/act_frontendcss.php on line 37
I don't know where the forefron is coming from, but I suspect it's because both sites (the development domain and the new, not-yet-activated domain) are on the same server and the IP is shared.
Also, some graphics are missing on the homepage. It appears that phpWCMS has lost track of where things are. Will this correct itself when the site path in conf.php is set to the proper domain name and not the IP address and the site is made active and all DNS point to it?