PDA

View Full Version : first time user. help me please.



deko
01-03-2005, 08:56 PM
hi i was give the link to this script by a friend and it is a great script when you see it running.

however i cant get mine to work. its my first time ever using a script like this so im not too sure.

the problem is that when i put the code it gives me into the webpage the news doesnt appear. the code i am given is this.


<?php include_once("/home2/franny/public_html/forum-news/news.php");
$forum_obj = new EP_Dev_Forum_News();
$forum_obj->display_News("", "1", "0", "0"); ?>

what i get on my main page is this


display_News("", "1", "0", "0"); ?>

any ideas??

also i would like it if you could take a look at my settings as im not too sure that there right. pm me for the details.

thanks

ps:i also dont know php so is this needed?? thanks

the website is http://icefusion.southsidedesigns.net

the forums are http://icefusion.southsidedesigns.net/forums

Patrick
01-03-2005, 09:54 PM
This script requires PHP. What is the filename of the page you are putting this code on? Make sure it ends in .php (as opposed to .html for example).

Try putting this in somewhere:

<?php echo "HELLO THERE!"; ?>

If the above prints out HELLO THERE! then your php is working fine. In that case, put the following into a file named phpinfo.php and post the url to it here:
<?php phpinfo(); ?>

deko
01-03-2005, 10:33 PM
its called index.php

2 secs and ill do the other stuff

that php echo thing doesnt work. i dunno. im using a thing called "siteframe"

<_<

deko
01-05-2005, 12:20 PM
??

Patrick
01-05-2005, 05:32 PM
Exactly, ??.

I would guess that it is the xml that your site is using. I really can't tell you since you are using a third party script.

deko
01-05-2005, 05:48 PM
ok cool.

deko
01-06-2005, 07:27 PM
ok i have had a bit of a break through. i uninstalled that siteframe thing and am just using a normal php page. now i get this though


Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: NO) in /home2/franny/public_html/forum-news/classes/mysql.php on line 22
There was an error connecting to mysql with information given.

help

Patrick
01-06-2005, 07:35 PM
Did you install the program?

You can't simply upload and expect it to work. That is showing that your forum database information is incorrect. Login to the control panel and click Forum Settings. Change the information to reflect your forum's database settings.

If you do not know your forum's database settings, they can usually be found within some config file in your forum's folder.

deko
01-23-2005, 01:09 PM
got it working. read other topic.