Welcome, Guest. Please Login or Register.
November 25, 2024, 06:56:34 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  News not working ! « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: News not working !  (Read 728 times)
HighBoy
Jr. Member
**
Posts: 72


I love it !

News not working !
« on: November 08, 2002, 09:39:02 PM »
Reply with quote

Hi guys !

I am trying to use the news.php but i get this error whenever i try to load my startup page.

Warning: Failed opening '/xxx/yabbse/index.php?action=news;board=9;template=Ntemplate' for inclusion (include_path='.;c:\php4\pear') in x:\wolf\index.php on line 68

The line 68 is :
<? include("/xxx/yabbse/index.php?action=news;board=9;template=Ntemplate"); ?>

What am i doing wrong ?
I am using YabbSE 1.4.1 and the latest PHP version.
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:News not working !
« Reply #1 on: November 09, 2002, 12:38:14 AM »
Reply with quote

in windows u'll need to use c:\dirname\blabla\yse\index.php?action=news;board=3
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
HighBoy
Jr. Member
**
Posts: 72


I love it !

Re:News not working !
« Reply #2 on: November 09, 2002, 01:41:06 AM »
Reply with quote

Quote from: Spaceman-Spiff on November 09, 2002, 12:38:14 AMin windows u'll need to use c:\dirname\blabla\yse\index.php?action=news;board=3
I tried your solution, but it still don't work....
The board works, the SSI.php works, but not the news :'(
« Last Edit: November 09, 2002, 01:41:33 AM by HighBoy » Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:News not working !
« Reply #3 on: November 09, 2002, 06:51:05 AM »
Reply with quote

oh wait, for news u're suppose to use http://www.yabb.info/community/index.php?action=news;board=140
i dont know if that will make a difference with path, but just try it anyway ;)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
HighBoy
Jr. Member
**
Posts: 72


I love it !

Re:News not working !
« Reply #4 on: November 09, 2002, 08:27:41 AM »
Reply with quote

Quote from: Spaceman-Spiff on November 09, 2002, 06:51:05 AMoh wait, for news u're suppose to use http://www.yabb.info/community/index.php?action=news;board=140
i dont know if that will make a difference with path, but just try it anyway ;)
Same result  :'( :'(

Warning: Failed opening 'http://wolf.dehn.net/xxx/yabbse/index.php?action=news;board=9' for inclusion (include_path='.;c:\php\includes;x:\wolf\xxx\yabbse') in x:\wolf\index.php on line 69
« Last Edit: November 09, 2002, 08:31:08 AM by HighBoy » Logged
HighBoy
Jr. Member
**
Posts: 72


I love it !

Re:News not working !
« Reply #5 on: November 10, 2002, 04:48:50 PM »
Reply with quote

The funny thing is that when i put this line on my webpage i get the error
<? include("xxx\yabbse\index.php?action=news;board=9"); ?>

But if i put this one on the webpage it will show me a part of the forum
<? include("xxx\yabbse\index.php"); ?>

Any suggestions ?
(I almost give up, i have used the whole weekend trying to solve this but without luck.... maybe i should stick to my flatfile yabb  :'( )
« Last Edit: November 10, 2002, 04:50:35 PM by HighBoy » Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:News not working !
« Reply #6 on: November 10, 2002, 05:46:52 PM »
Reply with quote

try this tutorial:

http://www.microcyb.com/?m=c&c=175
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
HighBoy
Jr. Member
**
Posts: 72


I love it !

Re:News not working !
« Reply #7 on: November 10, 2002, 07:04:39 PM »
Reply with quote

Quote from: Nemesis on November 10, 2002, 05:46:52 PMtry this tutorial:

http://www.microcyb.com/?m=c&c=175
Thanks for the link, but i don't think the news has anything to do with ssi.php... Maybe i am wrong but i am also a n00b when it comes to YabbSE.

Could it be a PHP problem and not a Yabb problem ?
Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:News not working !
« Reply #8 on: November 10, 2002, 07:07:37 PM »
Reply with quote

give me yoursite url and I'll take a look.

Also what tag are you using to include it on your page.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
HighBoy
Jr. Member
**
Posts: 72


I love it !

Re:News not working !
« Reply #9 on: November 10, 2002, 07:14:00 PM »
Reply with quote

Quote from: Nemesis on November 10, 2002, 07:07:37 PMgive me yoursite url and I'll take a look.

Also what tag are you using to include it on your page.
This does not work (as soon as the ?action part is added it fails)
<? include("/cgi_bin/yabbse/index.php?action=news;board=9"); ?>

This works
<? include ("/rightmenu.html") ?>

and this works (Beginning of my page)
<? require("cgi_bin/yabbse/ssi.php"); ?>

And this (recent topics)
<? recentTopics(); ?>

The link to the test site is http://wolf.dehn.net/index.php
The link to the forum is http://wolf.dehn.net/cgi_bin/yabbse/index.php
All error messages has been enabled in php.ini.
« Last Edit: November 10, 2002, 07:16:33 PM by HighBoy » Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:News not working !
« Reply #10 on: November 10, 2002, 07:21:34 PM »
Reply with quote

okay try this for your news:

<?include("http://wolf.dehn.net/cgi_bin/yabbse/index.php?action=news;board=9;limit=10");?>

Let me know how that works.

limit=10 change the number to how many news post you like to show up on the page.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
HighBoy
Jr. Member
**
Posts: 72


I love it !

Re:News not working !
« Reply #11 on: November 10, 2002, 07:27:14 PM »
Reply with quote

Quote from: Nemesis on November 10, 2002, 07:21:34 PMokay try this for your news:

<?include("http://wolf.dehn.net/cgi_bin/yabbse/index.php?action=news;board=9;limit=10");?>

Let me know how that works.

limit=10 change the number to how many news post you like to show up on the page.
same problem  :-\
Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:News not working !
« Reply #12 on: November 10, 2002, 07:32:46 PM »
Reply with quote

Maybe try installing yabbse outside of your cgi-bin
php can be runed from anywhere. I wondering if it is a permission problem with the cgi-bin. I notice on your page you are getting alot of errors.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
HighBoy
Jr. Member
**
Posts: 72


I love it !

Re:News not working !
« Reply #13 on: November 10, 2002, 07:36:44 PM »
Reply with quote

Quote from: Nemesis on November 10, 2002, 07:32:46 PMMaybe try installing yabbse outside of your cgi-bin
php can be runed from anywhere. I wondering if it is a permission problem with the cgi-bin. I notice on your page you are getting alot of errors.
I am running it on a Windows XP box, so there should not be a problem with the permissions.
All permissions are granted......
Logged
HighBoy
Jr. Member
**
Posts: 72


I love it !

Re:News not working !
« Reply #14 on: November 11, 2002, 03:18:22 PM »
Reply with quote

Quote from: Nemesis on November 10, 2002, 07:32:46 PMMaybe try installing yabbse outside of your cgi-bin
php can be runed from anywhere. I wondering if it is a permission problem with the cgi-bin. I notice on your page you are getting alot of errors.
Okay i will try to reinstall it outside the CGI_BIN tonight, but i am pretty sure i wont help....
The news is the only thing i need before i can have my new forum running  :-[
Logged
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  News not working ! « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.085 seconds with 20 queries.