Ssi.php

windows

Guest
I have inserted this code to a site to show the latest from the forum on homepage<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><?php<br />// to include a file<br />include("http://marve.se/forums/ssi.php?a=news&show=10");<br />?><!--c2--></div><!--ec2--><br />but when i check it out i meet this message<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->An error occured whilst processing this directive<br />Could not get the information from the database<!--QuoteEnd--></div><!--QuoteEEnd--><br />What is wrong? <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /><!--content-->
Thomas, you need to provide some more info about what you're trying to do.<br />From what I understand, you're trying to get the 10 latest posts from the forum to be displayed somewhere else.<br />Don't you have to be logged in to check those? I tried fetching the URL you're including and got the same error...<!--content-->
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Don't you have to be logged in to check those?<!--QuoteEnd--></div><!--QuoteEEnd--><br />That I dont know, but trying to figure out. sorry. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> <br /><br />The thing is that i cant provide much more info, cause i simply dont know more myself. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /><br /><br />What i have done though is that installed a ipb forum on marve.se and want the latest posts to show up on sites homepage so people get curious and register to participate.<!--content-->
I solved it.<br />I had forgotten to do a few modifications in admin section.<br />Thanks anyway, Raul. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Glad you could make it work <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Back
Top