Page 1 of 1

Php Error

Posted: Tue Sep 01, 2009 11:11 pm
by somiadiscon
Fatal error: Call to undefined function get_header() in C:\xampp\htdocs\xampp\cordobo-green-park-2\index.php on line 1

this error every where some times i really don't know how to fix it ...sorry im new to php but i have been register here long time.

help me pls
thanks

Re: Php Error

Posted: Tue Sep 01, 2009 11:39 pm
by iamngk
In you are program you have called "get_header" function.. it is misspelled. it should be "get_headers".

Re: Php Error

Posted: Wed Sep 02, 2009 12:26 am
by somiadiscon
when i try to change that this is another error

Warning: get_headers() expects at least 1 parameter, 0 given in C:\xampp\htdocs\xampp\cordobo-green-park-2\index.php on line 1

Fatal error: Call to undefined function have_posts() in C:\xampp\htdocs\xampp\cordobo-green-park-2\index.php on line 6

pls help me to get throw this