• I have down loaded few templates but when I open them on my WAMP server on my machine I am getting following error
    “Fatal error: Call to undefined function get_header() in C:\wamp\www\annoyed-10\index.php on line 1”
    But when I opened Index.php in dreamweaver on lien one the code is as follow

    <?php get_header(); ?>

    Please suggest me some solution I am new to PHP?

Viewing 3 replies - 1 through 3 (of 3 total)
  • It sounds like the header.php file is not where it’s expecting it to be. Either that or the web server doesn’t have permission to open it. Hopefully that can point you in the right direction.

    Thread Starter nihal3ahmed

    (@nihal3ahmed)

    But my header.php file is in the same folder. How to change the permission?

    Is the folder that contains your theme located in the default themes folder? That would probably be something like C:\wamp\www\annoyed-10\wp-content\themes\

    Also, do you get the same message using a different theme, or is it only this theme that gives you problems?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I am unable to open and ceheck downloaded template on WAMP server on my pc?’ is closed to new replies.