Title: Errors after moving site
Last modified: August 19, 2016

---

# Errors after moving site

 *  Resolved [Marc](https://wordpress.org/support/users/standoutt/)
 * (@standoutt)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/errors-after-moving-site-1/)
 * I just moved my site from a subdomain to the main domain. Unfortunately after
   moving, following all the moving instructions wordpress gave, I can’t access 
   my admin area and continually recieve the following error on all of my pages:
 *     ```
       Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(mysite/subdomains/beta/httpdocs/wp-content/uploads) is not within the allowed path(s): (mysite/httpdocs:/tmp) in mysite/httpdocs/wp-includes/functions.php on line 1963
   
       Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(mysite/subdomains/beta/httpdocs/wp-content/uploads/wpcf7_captcha) is not within the allowed path(s): (mysite/httpdocs:/tmp) in mysite/httpdocs/wp-content/plugins/contact-form-7/includes/captcha.php on line 83
   
       Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(mysite/subdomains/beta/httpdocs/wp-content/uploads) is not within the allowed path(s): (mysite/httpdocs:/tmp) in mysite/httpdocs/wp-includes/functions.php on line 1963
   
       Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(mysite/subdomains/beta/httpdocs/wp-content/uploads/wpcf7_uploads) is not within the allowed path(s): (mysite/httpdocs:/tmp) in mysite/httpdocs/wp-content/plugins/contact-form-7/includes/upload.php on line 128
       ```
   
 * I have checked the database and the two tables have been updated with the correct
   address.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Marc](https://wordpress.org/support/users/standoutt/)
 * (@standoutt)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/errors-after-moving-site-1/#post-1137236)
 * Please help!
 *  Thread Starter [Marc](https://wordpress.org/support/users/standoutt/)
 * (@standoutt)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/errors-after-moving-site-1/#post-1137282)
 * Does nobody have an answer?
 *  Thread Starter [Marc](https://wordpress.org/support/users/standoutt/)
 * (@standoutt)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/errors-after-moving-site-1/#post-1137291)
 * Just so everybody knows, this error was caused by one of the tables in the database
   still looking for the subdomain.
 * The upload_path in the wp_options table to be exact. After correcting this the
   error went away.
 *  [thomaspm](https://wordpress.org/support/users/thomaspm/)
 * (@thomaspm)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/errors-after-moving-site-1/#post-1137637)
 * Wow thanks a ton! I had the same problem…
 *  [Asad Zulfahri](https://wordpress.org/support/users/ibnuasad/)
 * (@ibnuasad)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/errors-after-moving-site-1/#post-1137727)
 * I had the same problem…
 * Thanks for solution 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Errors after moving site’ is closed to new replies.

## Tags

 * [moving site](https://wordpress.org/support/topic-tag/moving-site/)
 * [subdomain](https://wordpress.org/support/topic-tag/subdomain/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Asad Zulfahri](https://wordpress.org/support/users/ibnuasad/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/errors-after-moving-site-1/#post-1137727)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
