Php page that should show news articles just shows blank page

Asked by Aeropars

Hi guys,

I just installed phpns and the back end looks and works fine.

My problem is with the page where I want to articles to show. I put the following include into an already designed page (all html but file has php extension)

<?php
/*
 This file is used to generate articles managed by the phpns system.
 Place this code wherever you want your articles displayed on your
 website. The page that this code is placed in should have a .php
 extension.
*/

 $phpns['limit'] = '5';

 //after variable declaration(s), include shownews.php
 include("/home/www/willmarsh.com/news/shownews.php");
?>

The page i am trying to view is http://www.willmarsh.com/index4.php

I have created a new file which was almost blank and this works (www.willmarsh.com/test.php) so i assume theres something in the html which is conflicting with it.

Can anyone tell me what the problem is?

Question information

Language:
English Edit question
Status:
Solved
For:
phpns Edit question
Assignee:
No assignee Edit question
Solved by:
Aeropars
Solved:
Last query:
Last reply:
Revision history for this message
Aeropars (aeropars) said :
#1

Sorry guys this was a host error.