Forums

[resolved] Errors after moving site (6 posts)

  1. standoutt
    Member
    Posted 2 years ago #

    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.

  2. standoutt
    Member
    Posted 2 years ago #

    Please help!

  3. standoutt
    Member
    Posted 2 years ago #

    Does nobody have an answer?

  4. standoutt
    Member
    Posted 2 years ago #

    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.

  5. thomaspm
    Member
    Posted 2 years ago #

    Wow thanks a ton! I had the same problem...

  6. ibnuasad
    Member
    Posted 2 years ago #

    I had the same problem...

    Thanks for solution :)

Topic Closed

This topic has been closed to new replies.

About this Topic