WordPress.org

Support

Support » Localhost Installs » fatal error on install: line 14 on wp-blog-header.php

fatal error on install: line 14 on wp-blog-header.php

  • I’m working on a Mac (OS 10.6.8), with a local XAMPP server and when I try to install WordPress, I don’t get the WordPress Install page; rather, I get a page of text, with all the server settings. At the bottom is this notation: Fall error: Call to undefined wp() in /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-blog-header.php on line 14.

    Please help! Thanks!
    Nancy

Viewing 2 replies - 1 through 2 (of 2 total)
  • download a fresh copy of WordPress and try again, your first download might have been corrupted.

    I had that error when I deleted accidentally some code from wp-config.php

    Check if you got the end of the file:

    /* That's all, stop editing! Happy blogging. */
    
    /** WordPress absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');
    ?>

    That worked for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘fatal error on install: line 14 on wp-blog-header.php’ is closed to new replies.
Skip to toolbar