Problems: PHP-INCLUDE wordpress/index.php
-
Hi. I am in urgent need of help. Here is a run down of what’s going on:
I was an MT user. I am migrating to wordpress. Basically, I have a website where I simply used the PHP INCLUDE to include the /mt/index.php where I wanted the news posts to show up. I am trying to do the same with wordpress but I recieve errors. This worked no problem with MT… All I want to do is have the posts/articles to show up in the text body of an existing webpage. I don’t want to keep using MT but will have to if I can’t fix this easily.
The line in my php document:
<?php include(“wp_newswire/index.php”); ?>And the error message I recieve:
Fatal error: main(): Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/local/lib/php’) in /homepages/20/d113155622/htdocs/wp_newswire/index.php on line 4
Once I get this working, I will edit my template to match my MT one – it basically just hides/discludes all the extra items so all that is displayed is the posts and not the search and archives and all the extra hyperlinks.
- The topic ‘Problems: PHP-INCLUDE wordpress/index.php’ is closed to new replies.