Welcome, Guest. Please Login or Register.
August 29, 2025, 12:39:15 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  SSI problem with PHP « previous next »
Pages: [1] Reply Ignore Print
Author Topic: SSI problem with PHP  (Read 306 times)
Silver Dragon
Full Member
***
Posts: 157


Uh, Dragons are cool.

ICQ - 1972247webmaster@alphavideo.com WWW
SSI problem with PHP
« on: April 16, 2002, 03:33:03 PM »
Reply with quote

I have the PHP SSI working on most of the site, except for the pages where I integrate my own mySQL content.

Here's what happens.  If you are not logged in, then the page renders fine.  All the includes show up and all is good with the world.  If you DO log in to the forum, the page renders until it hits the welcome code, and stops there.  You can see an example at:  http://www.alphavideo.com/5.0/results1.php  The page renders out an error message in the code reading'<ERROR Number="2" Description="Error: &quot;Supplied argument is not a valid MySQL result resource&quot; on line 65 of /Users/mickey/Sites/alphavideo/forum/SSI.php."/>'

Ideas?  This only happens on the pages where I integrate my own database stuff.  The SSI works great throughout the rest of the site.  

One other thing, the PHP include at the top of the code is the first line in the site.  if I try and make it the third line (after my other includes, but before the <HTML> I get this rendered to the browser:  '<ERROR Number="8" Description="Error: &quot;Undefined variable:  YaBBversion&quot; on line 1264 of /Users/mickey/Sites/alphavideo/forum/english.lng."/>'

Is there any way to fix this so I can have my content *and* the SSI?  

Thanks all!
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  SSI problem with PHP « 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.010 seconds with 19 queries.