Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   fatel error (https://www.warriorforum.com/programming/86539-fatel-error.html)

steve m 23rd May 2009 10:39 AM

fatel error
 
Hi Whilst transefering 2 blogs

I got this error

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

Only on one of them the other one transfered without the error. Can any shed a little light on this please.

Thanks

Steve M

Dylan W 23rd May 2009 01:11 PM

Re: fatel error
 
I believe this error suggest that the php script has made a call to a function called wp that (if not contained in the page in question) is within an include page that has failed to transfer.

If you look at the script within wp-blog-header.php and look for include"filename" or requireonce"filename" . If these appear, ensure that "filename" or whatever it might be called has been uploaded and to the right location.

steve m 23rd May 2009 01:31 PM

Re: fatel error
 
Hi thanks

But I have no idea what that means.

<?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' );

}

?>

is what I have in the file header file. But am unsure what all this means hahaha

Steve

Also I have found this too if this makes any sense to you

steve m 23rd May 2009 02:00 PM

Re: fatel error
 
sorry what line mate?

steve m 23rd May 2009 04:18 PM

Re: fatel error
 
All sorted now wow that was a mission.... I just deleted all the files and started again from scratch using the original files on my host.

Thanks for the help lads!

Steve M


All times are GMT -6. The time now is 09:37 AM.