+ Reply to Thread
Results 1 to 4 of 4

Thread: Migration to new server

  1. #1

    Migration to new server

    Hi,

    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

    http://forum.flynax.com/showthread.p...ight=migration

    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?

  2. #2
    Senior Member
    Join Date
    Jun 2017
    Posts
    196
    Hello,

    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.

  3. #3
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    1,449
    Hello,

    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

  4. #4
    Senior Member
    Join Date
    Jun 2017
    Posts
    196
    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.

+ Reply to Thread