Problem migrating from a cPanel installation to new server
-
I’m moving some sites from a cPanel installation where they were installed on “addon domains”. I’m getting problems where they return errors showing paths in the code referring to the folders/paths from my cPanel hosting.
e.g. this site is moving to mrkeefe.co.uk (working site still live as I haven’t changed the DNS over yet, am using a site preview function to check the site before flipping it) from a cPanel account where it was an addon domain beneath nikkeefe.co.uk. Here are some of the errors on screen:
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/nikkeefe/public_html/mrkeefe.co.uk/wp-content/uploads/wpcf7_uploads/) is not within the allowed path(s): (/tmp:/var/sites) in /var/sites/m/mrkeefe.co.uk/public_html/wp-content/plugins/contact-form-7/modules/file.php on line 316 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/nikkeefe/public_html/mrkeefe.co.uk/wp-content/uploads/wpcf7_captcha/) is not within the allowed path(s): (/tmp:/var/sites) in /var/sites/m/mrkeefe.co.uk/public_html/wp-includes/functions.php on line 1939 Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/nikkeefe/public_html/mrkeefe.co.uk/wp-content/uploads) is not within the allowed path(s): (/tmp:/var/sites) in /var/sites/m/mrkeefe.co.uk/public_html/wp-includes/functions.php on line 1948 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/nikkeefe/public_html/mrkeefe.co.uk/wp-content/uploads) is not within the allowed path(s): (/tmp:/var/sites) in /var/sites/m/mrkeefe.co.uk/public_html/wp-includes/functions.php on line 1939 Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/nikkeefe/public_html/mrkeefe.co.uk/wp-content) is not within the allowed path(s): (/tmp:/var/sites) in /var/sites/m/mrkeefe.co.uk/public_html/wp-includes/functions.php on line 1948
Is there anything I can do about this in migration to prevent it happening??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Problem migrating from a cPanel installation to new server’ is closed to new replies.