• Hi I am trying to move a wordpress site to new location, the process I have followed is –

    1. Set permalinks to default on old location
    2. Back everything up (database and FTP)
    3. create new database for new location
    4. Replace tables with tables my original database
    5. Change site url and home in WP-options to point to new address
    6. Copy site over to new FTP location
    7. Open WP-config and connect to new database and user

    I think this should be working now but I am getting the below error. Any help would be fantastic.

    Parse error: syntax error, unexpected $end, expecting ‘)’ in /home/content/86/10111086/html/apprenticeshipjobs/wp-includes/functions.wp-scripts.php on line 166

Viewing 2 replies - 1 through 2 (of 2 total)
  • Clearly some of the message has been mangled. There is no file “functions.wp-scripts.php”

    Because it is quick and easy to do, suggest that you delete the wp-includes directory and re-upload those files.

    Then think of doing this to all the files, except for wp-config.php
    A fresh upload of all core wordpress, all plugins, and 3rd party themes would also be worth trying.

    Thread Starter eckul

    (@eckul)

    Thanks, I replaced the includes folder. I also turn off all the plugins and set the theme to default then I replaced the DB. I then turned them back on 1 by 1. This is so close to working now – I am able to view the site but when I try to login I get the below error.

    I think there is an issue with one of the plugins I customised. I think the best thing for me to do is install a fresh wordpress site and then add the themes and plugins form scratch, this will take a while but at least I’ll be able to indentify where the problems are. thanks for your help.

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/86/10111086/html/apprenticeshipjobs/wp-content/plugins/wp-job-manager/includes/admin/class-wp-job-manager-cpt.php:3) in /home/content/86/10111086/html/apprenticeshipjobs/wp-includes/pluggable.php on line 1121

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when moving wordpress to a new server’ is closed to new replies.