WordPress.org

Ready to get started?Download WordPress

Forums

path_is_absolute() throwing errors after moving from MAMP local server (3 posts)

  1. envex
    Member
    Posted 4 years ago #

    Hello,

    I just recently moved a wordpress installation from my MAMP local server to a web server.

    Everything is working fine except when in wp-admin i'm getting this error.

    Warning: realpath() [function.realpath]: Unable to access /my-path/wp-admin/admin/admin.php in /my-path/wp-includes/functions.php on line 1963

    The function that is throwing the error is path_is_absolute().

    The wierd thing is it looks like wordpress is trying to look for an admin folder inside of wp-admin, which there isn't.

    Any ideas?

    Thanks,

    Matt

  2. Adam Harley
    Member
    Posted 4 years ago #

    You can trace that function back (through about five other functions) to find_folder(), which only seems to be invoked during an upgrade or to find the WordPress base, plugin and content folders. Don't know why it'd be looking for the admin folder though.

  3. envex
    Member
    Posted 4 years ago #

    Yeah,

    This is making me quite confused and it causing WP-Cal to stop working.

Topic Closed

This topic has been closed to new replies.

About this Topic