Ok. I am trying to get my site transfered over to a new server and I am having a bit of trouble.
What I want to do is make my b2 news posts show up on the index page of the site.. easy enough, thats the way I have it set up on the old server.
So I create my database and install b2 and then put the
<?php include ("path/to/b2/index.php"); ?>
and then upload it and go check it out and the page does not load at all. As soon as I remove that line it loads up quicker than ever.... I know that is the statement that I need to use so I dont understand why it dont work..
I have access to the old server still so I took the index.php file off the server I am having trouble with and then upload it to the other server check it out and it works.... It shows the B2 posts.
The question:
Why would the same exact source work one place but not the other? Is there some sort of config to php.ini that needs to be done to use include statments?




Reply With Quote