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: "Supplied argument is not a valid MySQL result resource" 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: "Undefined variable: YaBBversion" 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!