Fatal Error ......

I have download a wordpress template and run it in local host by using xampp, but when i try to get it the index.php, fatal error was occurred.

Fatal error: Call to undefined function get_headers() in C:xampphtdocsgearindex.php on line 2

As i know, this function only work with Php verison 5 above,i did check my version, is Php 5.2.5.
I have try to do with php be4, but i never try to do WP template. Do i need any install extra stuff or kind of plugin or what to make WP source code can work in PHP.

I did try something else like is_home(); bloginfo();
The same error message will appear, really hope that some1 can gv me some advice. Thanks very much.

What is the path to your Wordpress directory, and what is the url you’re opening in your browser? It is common error when one install wordpress in one folder, but then attempting to open url for different folder.

Sponsor our Newsletter | Privacy Policy | Terms of Service