Welcome, Guest. Please Login or Register.
May 14, 2025, 05:19:26 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  |  Development  |  Mod Ideas and Creation  |  Ssi Problems !?!?! « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Ssi Problems !?!?!  (Read 769 times)
Cole
Noobie
*
Posts: 5


WWW
Ssi Problems !?!?!
« on: July 03, 2003, 01:00:17 PM »
Reply with quote

Hey everyone.

I'm trying to hook up SSI.php file to my main page, and I'm running into some problems.

I keep getting this error message

Table 'halliday_news.yabbse_boards' doesn't exist
File: /home/halliday/public_html/community/SSI.php

I think the reason is because I have 2 scripts on my index.php page, one for me bloger and one for YaBBSE but I can't seem to sort it out .

if anyone out there can help, that would be great

Cheers  ???
Logged

the more i walk into the sun, the more i head out of the light.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Ssi Problems !?!?!
« Reply #1 on: July 03, 2003, 02:47:53 PM »
Reply with quote

are the 2 scripts accessing different databases?
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Cole
Noobie
*
Posts: 5


WWW
Re:Ssi Problems !?!?!
« Reply #2 on: July 03, 2003, 03:01:56 PM »
Reply with quote

yea

everything seems to work until I add my blogger script and 'include' the file that it works with, I've change var names to make sure that neather of the scripts are trying to us the same but doesn't seem to work.

everything seems to be just fine right up until I add a command like <? welcome(); ?>

then I get the error if I still have my blogger 'include' script in my index.php file, again if I take out the blogger script everything works fine. So it has something to do with the config file that my blogger uses. So how do I keep commands looking for YaBBSE to look in one config file and commands looking for my blogger to look in another file ?    ::)   ::)
« Last Edit: July 03, 2003, 03:59:13 PM by Cole » Logged

the more i walk into the sun, the more i head out of the light.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Ssi Problems !?!?!
« Reply #3 on: July 03, 2003, 04:21:10 PM »
Reply with quote

i think the problem is because they're accessing different databases
at the beginning of yse script there's this code: mysql_select_db($db_name);
and probably the blogger uses something like that too, so the selected database is changed, thus the query failed

what you can do is
1. use include url ssi (like the shtml version), example: <?php include "http://www.site.com/forum/SSI.php?function=welcome"; ?>

or

2. move your blogger to the same database with your forum
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Cole
Noobie
*
Posts: 5


WWW
Re:Ssi Problems !?!?!
« Reply #4 on: July 03, 2003, 06:12:38 PM »
Reply with quote

Ahh Cheers mate,

Thanks for the help man
Logged

the more i walk into the sun, the more i head out of the light.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Ssi Problems !?!?! « 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.059 seconds with 21 queries.