• i tried installing my blog on my webhost and it pop’s up this error

    Fatal error: Call to undefined function wp() in /home/viewscor/public_html/mysitename/wp-blog-header.php on line 14

    what should i do

Viewing 2 replies - 1 through 2 (of 2 total)
  • Your file blogheader should look like this:

    <?php
    /**
     * Loads the WordPress environment and template.
     *
     * @package WordPress
     */
    
    if ( !isset($wp_did_header) ) {
    
    	$wp_did_header = true;
    
    	require_once( dirname(__FILE__) . '/wp-load.php' );
    
    	wp();
    
    	require_once( ABSPATH . WPINC . '/template-loader.php' );
    
    }
    
    ?>

    but probably it’s calling for a missing or broken file. Re-upload wp-admin and wp-include preferably over ftp if you have ftp access.

    doesn’t your webhost offer fantastico options in the hosting control panel, then you won’t have to install it manually ??

    anyways, just re upload the files as suggested above, and the problem should be solved,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘i need help with my hosting’ is closed to new replies.