I know this question has been asked a million times and i have tried to understand the answers, but i am just a beginner web developer and I still do not understand technical terms so please help me out by making your answer as understandable to someone who isn't technical as possible.
Okay so i have wamp and wordpress installed. My root directory is not htdocs, but C:\wamp\www. This is also the folder where I place the themes I want to test out. For instance, the theme i want to test is called "director". When I type "localhost/director, this error appears:
Fatal error: Call to undefined function get_header() in C:\wamp\www\director\index.php on line 1
Similarly when I test out individual .php files, for example I tested out localhost/director/front-page.php, this error appears:
Fatal error: Call to undefined function get_header() in C:\wamp\www\director\front-page.php on line 1
And it's the same for all the .php files.
Other files in the www folder include: 1.) wordpress folder 2.) director folder 3.) favicon 4.) index.php 5.) testmysql.php (i'm not sure why this is here)
My wp-config.php file is in the wordpress folder, and of course in that folder there's also an index.php file. So i'm not entirely sure why it is being overwritten.
Also you should know that when I zipped my theme (director.zip) and installed it in wordpress (just localhost though), the theme worked. It's just when I manually test the theme on localhost that the error occurs. I want to solve this because I wanna be able to test individual .php files on localhost first before I install it in wordpress.
Thanks a lot!! And please try not to be too technical.