Struggling with server migration
Permalink
I've been requested to migrate C5.4.2.2 from a shared linux hosting provider to a dedicated FreeBSD(9.1) server. I have the files and database copied, and at various, unpredictable times, the site works. But seems very fragile. I'll example some but the bottom line is that sometimes the page is accepted (meaning not a 404 error page) but blank (no data in the content) for administrative tasks - i.e: reconfiguring site or upgrading via WebUI. If I try to correct by hand; it doesn't improve. I know it's a supported setup due to renaming config/site.php and running the built-in WebUI wizard.
Recently, I was asked to host this under a new FQDN; and the latest oddity is that test.fqdn.tld redirects tohttp://www.fqdn.tld automatically. If I stick both test. and www. FQDN in my hosts file; it stays on test.fqdn.tld.
I'm on IRC constantly asking them for help, I'm not the owner of the site, I have no login information for the site itself; I have never used C5 before (but it seems a nice system, shame this is such bad shape).
Upgrading is not out of the question, but community packages/plugins with compatibility could be a show stopper for upgrading. I've got backups and don't mind trying things; I'm just begging for help since I can't seem to get any traction here.
I ask for any and all recommendations; I am unfamiliar with the system and want to finish this task.
Recently, I was asked to host this under a new FQDN; and the latest oddity is that test.fqdn.tld redirects tohttp://www.fqdn.tld automatically. If I stick both test. and www. FQDN in my hosts file; it stays on test.fqdn.tld.
I'm on IRC constantly asking them for help, I'm not the owner of the site, I have no login information for the site itself; I have never used C5 before (but it seems a nice system, shame this is such bad shape).
Upgrading is not out of the question, but community packages/plugins with compatibility could be a show stopper for upgrading. I've got backups and don't mind trying things; I'm just begging for help since I can't seem to get any traction here.
I ask for any and all recommendations; I am unfamiliar with the system and want to finish this task.
A completely blank page often indicates a fatal PHP error, which should show up in your server log files. The FreeBSD server may have some different/incompatible PHP settings causing the fragility you're seeing.
If your FQDN is in BASE_URL in config/site.php, C5 does this redirect automatically. If you don't want this behavior, you can add
to site.php.
If your FQDN is in BASE_URL in config/site.php, C5 does this redirect automatically. If you don't want this behavior, you can add
define('REDIRECT_TO_BASE_URL',false);
to site.php.
-Blenderite