fatal error call undefined function get_header
-
Note to the administrator: I wish that you didnt close this topic down in a previous post just because I added I have the same problem too. Now I have the answer ( I think) and the person who was looking for help will probably never see this. Closing a topic that was unresolved doesn’t allow us (new people especially) to collaborate.
In any event to answer this persons post you may have the same misunderstanding that I had. In order there are more than one “index.php” in the many files that make up a wordpress theme.
If you are trying to view the index file in the directory C:\wamp\www\”your folder name”\blog\wp-content\themes\”your folder name” it won’t work ( someone else can probably elaborate on why better than me)
BUT if go to the index.php file located in
C:\wamp\www\”your folder name”\blog
you can view ( and change) that file in “live view” Thats because the index.php file that resides in this location is your “actual” index.php meaning that it is the file that is dependent on other files that ctually make up the file page that is seen in a browser.
Additional help using DWCS5 in this area can be seen at http://www.youtube.com/watch?v=AflQ_N3Kl1Q
hope this helps!
* —————- Previous Post —————- *
[closed] fatal error call undefined function get_header (3 posts)
1.
MLobel
Member
Posted 3 months ago #I downloaded at template (Elite from THAT Agency) and began to customize using Dreamweaver CS5. All was going smooth until I opened DW again and can no longer view index.php in Live View. I have read many forums and followed troubleshooting steps mapped out for others with simular issues and problem is still not resolved. Any help would be greatly appreciated…I’m obviously missing something.
Thanks!Error Notice: Fatal error: Call to undefined function get_header() in C:\wamp\www\sitename\blog\wp-content\themes\sitename\index.php on line 1
Code from lines 1-10 from my index.php file:
<?php get_header() ; ?>
<div class=”container_16 contentWrapper”>
<div class=”grid_4 sideBox”>
<div class=”padder”>
<!– begin sidebar left –>
<?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
<!– end sidebar left –>2.
mike kelley
Member
Posted 39 minutes ago #would love help with this too! The problem is I cant view the site in live view and im getting the same error. I know the site is working though because I can view it through the admin panel. I just cant see it in DWCS5
3.esmi
Theme Diva
Posted 32 minutes ago #Please post a new topic describing your problem and indicating what version of WordPress you are running.
The topic ‘fatal error call undefined function get_header’ is closed to new replies.