Hello im trying to use a page in a wordpress theme you can see my code here: <?php get_header(); ?> <div id="content" class="narrowcolumn"> <div class="entry"> <?php $url = file_get_contents("http://www.footballstreaming.info/streams/todays-links/"); preg_match('~<!\-\- <tokoeditarea> \-\->(.*)<!\-\- </tokoeditarea> \-\->~s', $url, $a); echo $a[1];?> </div> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> PHP: but i get this error Fatal error: Call to undefined function get_header() in /home/.puffball/freeshituk/e2tv.tv/wp-content/themes/MovieSitePress/ft.php on line 2 any help would be great Cheers Tom
Do you have a header created for the theme? Did you double check to make sure the coding is right for the header?
I ran into a similar issue and Tech support at HostGator helped me out. If possible I suggest contacting technical support for whatever company to host your site. I also saw a post on another site about this that you may find useful "www.themelab.com/2008/06/01/fix-wordpress-fatal-error-call-to-undefined-function/" Hope this helps.