WordPress.org

Support

Support » How-To and Troubleshooting » path_is_absolute() throwing errors after moving from MAMP local server

path_is_absolute() throwing errors after moving from MAMP local server

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Yeah,

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘path_is_absolute() throwing errors after moving from MAMP local server’ is closed to new replies.
Skip to toolbar