Php Error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
somiadiscon
Forum Newbie
Posts: 3
Joined: Mon May 29, 2006 2:39 am

Php Error

Post 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
iamngk
Forum Commoner
Posts: 50
Joined: Mon Jun 29, 2009 2:20 am

Re: Php Error

Post by iamngk »

In you are program you have called "get_header" function.. it is misspelled. it should be "get_headers".
somiadiscon
Forum Newbie
Posts: 3
Joined: Mon May 29, 2006 2:39 am

Re: Php Error

Post 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
Post Reply