Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 23rd May 2009, 10:39 AM   #1
Promoter
War Room Member
 
steve m's Avatar
 
Join Date: 2008
Location: Uk
Posts: 470
Thanks: 158
Thanked 43 Times in 42 Posts
Default
fatel error
Share on: 
fb share twitter share gplus share more share

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

steve m is offline  
Unread 23rd May 2009, 01:11 PM   #2
Warrior Wannabe
 
Dylan W's Avatar
 
Join Date: 2009
Location: Gloucester, UK
Posts: 20
Thanks: 1
Thanked 3 Times in 3 Posts
Default
Re: fatel error
Share on: 
fb share twitter share gplus share more share

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.

Dylan W is offline  
The Following User Says Thank You to Dylan W For This Useful Post:
Unread 23rd May 2009, 01:31 PM   #3
Promoter
War Room Member
 
steve m's Avatar
 
Join Date: 2008
Location: Uk
Posts: 470
Thanks: 158
Thanked 43 Times in 42 Posts
Default
Re: fatel error
Share on: 
fb share twitter share gplus share more share

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 is offline  
Unread 23rd May 2009, 02:00 PM   #4
Promoter
War Room Member
 
steve m's Avatar
 
Join Date: 2008
Location: Uk
Posts: 470
Thanks: 158
Thanked 43 Times in 42 Posts
Default
Re: fatel error
Share on: 
fb share twitter share gplus share more share

sorry what line mate?

steve m is offline  
Unread 23rd May 2009, 04:18 PM   #5
Promoter
War Room Member
 
steve m's Avatar
 
Join Date: 2008
Location: Uk
Posts: 470
Thanks: 158
Thanked 43 Times in 42 Posts
Default
Re: fatel error
Share on: 
fb share twitter share gplus share more share

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

steve m is offline  
Closed Thread


Bookmarks

Tags
error, fatel


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




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