I keep getting this error on my website (this is for CuteNews):
Here is the code of the file where there's a problem with line 5:
I don't get why line 5 ("include..." line) is having problems.
I think what the problem might be is the path. I think it MIGHT think the "show_news.php" file is in the "/home/jflameti/public_html/ps3" when in fact it is located in the "/home/jflameti/public_html/ps3/location-page/cute-news/" directory.
Anyone think my suspicions are correct?
How can I use the full URL there instead?
Thank you,
Andy
Warning: main(/show_news.php): failed to open stream: No such file or directory in /home/jflameti/public_html/ps3/location-page/cute-news/index.php on line 5
Warning: main(/show_news.php): failed to open stream: No such file or directory in /home/jflameti/public_html/ps3/location-page/cute-news/index.php on line 5
Warning: main(): Failed opening '/show_news.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jflameti/public_html/ps3/location-page/cute-news/index.php on line 5
Here is the code of the file where there's a problem with line 5:
Code:
<?php
$number = 5;
$template = '*';
include $cutepath.'/show_news.php';
?>
I don't get why line 5 ("include..." line) is having problems.
I think what the problem might be is the path. I think it MIGHT think the "show_news.php" file is in the "/home/jflameti/public_html/ps3" when in fact it is located in the "/home/jflameti/public_html/ps3/location-page/cute-news/" directory.
Anyone think my suspicions are correct?
How can I use the full URL there instead?
Thank you,
Andy
Last edited:







