Jump to content

Recommended Posts

Posted

I have inserted this code to a site to show the latest from the forum on homepage

><?php
// to include a file
include("http://marve.se/forums/ssi.php?a=news&show=10");
?>

but when i check it out i meet this message

An error occured whilst processing this directive

Could not get the information from the database

What is wrong? :dance:

Posted

Thomas, you need to provide some more info about what you're trying to do.

From what I understand, you're trying to get the 10 latest posts from the forum to be displayed somewhere else.

Don't you have to be logged in to check those? I tried fetching the URL you're including and got the same error...

Posted (edited)
Don't you have to be logged in to check those?

That I dont know, but trying to figure out. sorry. :dance:

 

The thing is that i cant provide much more info, cause i simply dont know more myself. :dance:

 

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.

Edited by Jikrantz

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...