View Full Version : Migration to new server

Alejandro Arana
April 9, 2016, 06:03 PM

I want to migrate my site to new server, actually my site is running on apache, but we want to move to nginx, I did a backup of all my site (databases and files) and I did test on the new server following this steps


And I have this problem

09 Apr (05:49:45) | Parse Error: syntax error, unexpected 'new' (T_NEW) on line# 123 (file: /var/www/html/flynaxsite/libs/ajax/xajax_core/plugin_layer/xajaxCallableObjectPlugin.inc.php)

What is the problem?

What is the best way to migrate to another server?

November 11, 2019, 06:14 PM

I've followed all the steps but I'm getting blank page.
Here is the line in error_log

PHP Fatal error: require_once(): Failed opening required '/home/myhome/publich_tml/includes/control.inc.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/myhome/public_html/index.php on line 39.
Any suggestion would be welcomed.

November 12, 2019, 05:28 AM

According to the given error the system file control.inc.php doesn't exist in includes directory

Check what you could do wrong and restore it

November 12, 2019, 08:16 AM
Indeed! I wrote in config file the wrong path. publich_tml instead of public_html.

Solved! Website loading again apart from small issues raised in Ticket ID: KYS-877903

Thank you Rudi.