Fatal error: Call to undefined function get_header()

  • routhu
  • Beginner
  • Beginner
  • User avatar
  • Posts: 47
  • Loc: India

Post 3+ Months Ago

Hi All,

I am new in PHP. I downloaded WordPress Theme(whitepress)and tried to run on my local machine. I am getting below error.

Code: [ Select ]
Fatal error: Call to undefined function get_header() in C:\Program Files\EasyPHP 2.0b1\www\html\whitepress\index.php on line 1
 
  1. Fatal error: Call to undefined function get_header() in C:\Program Files\EasyPHP 2.0b1\www\html\whitepress\index.php on line 1
  2.  


Can any one help me.

Thanks,
Krishna
  • cjxxi
  • Expert
  • Expert
  • cjxxi
  • Posts: 566
  • Loc: Fort Worth, TX

Post 3+ Months Ago

go to file

C:\Program Files\EasyPHP 2.0b1\www\html\whitepress\index.php

open it, then comment out line 1

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 66 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.