ok im setting up a website on my pc with phpbb. im using easyphp and i want to use this news thingy for my homepage. i dont have an ftp thing because im using my pc....is this the right thing to do?? so does this mean i cant chmod the files and will this matter?? i have installed this mod but when using this for my testing homepage to try and get it to work **<HTML>
<HEAD>
<TITLE> News </TITLE>
<LINK rel="stylesheet" type="text/css" href="style.css">
</HEAD>
<?php include_once("d:/program files/easyphp1-7/www/forum-news/news.php");
Show_News("3"); ?>
<?php include_once("d:/program files/easyphp1-7/www/forum-news/news.php");
Show_Headlines("3"); ?>
</BODY>
</HTML>**
it comes up with this message when trying to view that page **Notice: Undefined index: page in d:\program files\easyphp1-7\www\forum-news\news.php on line 605
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in d:\program files\easyphp1-7\www\forum-news\data\classes\mysql.php on line 47
There is no news to display in specified category**
what noobish thing am i doing wrong, can anyone helph34r: im trying to go back and think what could of gone wrong.
Also if it helps, when trying to open the examples.php it comes up with this **Warning: main(news.php): failed to open stream: No such file or directory in d:\program files\easyphp1-7\www\forum-news\extra\examples.php on line 9
Warning: main(): Failed opening 'news.php' for inclusion (include_path='.;D:\Program Files\EasyPHP1-7\php\pear\') in d:\program files\easyphp1-7\www\forum-news\extra\examples.php on line 9
Example of calling all default forum ids (that were specified in config.inc.php):
Fatal error: Call to undefined function: show_news() in d:\program files\easyphp1-7\www\forum-news\extra\examples.php on line 14**


h34r: im trying to go back and think what could of gone wrong.
Reply With Quote
