Welcome, Guest. Please Login or Register.
August 29, 2025, 11:08: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  |  Site integration « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Site integration  (Read 318 times)
solonque
Noobie
*
Posts: 2


I'm a llama!

Site integration
« on: April 26, 2002, 05:10:39 AM »
Reply with quote

I am sorta a PHP noob, but have caught on quick due to knowledge of other languages.
BUT: when I tryed to put YaBB SE into my site, all contained in an index.php file I get an error...
here is my script
if ( $q == 5 ) {
   include "forum/index.php"
}
[code]
 the error I get is this:
[code]
An Error Has Occurred!

2: Cannot add header information - headers already sent by (output started at c:\apache\htdocs\yse\index.php:5)
(c:\apache\htdocs\yse\forum\Sources\Subs.php ln 100)


for those who wondered, $q is a variable, so the url for the forums is www.xxx.com/yse/index.php?q=5
;)  and a BTW, love the forums, but can you give the smilies noses ;-)
can any one help with this?
[/code][/code]
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Site integration
« Reply #1 on: April 26, 2002, 12:38:32 PM »
Reply with quote

Well...depends on the script you've put YaBB inside.  You've probably sent cookies or sent text to the browser already.  In order for the cookies to work, they need to be sent first.
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Site integration « 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.029 seconds with 21 queries.