Page 1 of 1

Including MyFAQ

Posted: Wed Nov 18, 2009 6:33 pm
by Jos
Hi there,

I'n trying to include the index of MyFAQ into my own website but it's working right now.
In the folder /website/ there is a file faq.php which is trying to include the myFAQ index between the header and footer. The myFAQ script is in the folder /website/faq/

Unfortunately I only see a white page included.. Any ideas what to do?

Thanks!
Jos

Re: Including MyFAQ

Posted: Wed Nov 18, 2009 9:41 pm
by Thorsten
Hi,

a white page is a PHP fatal error... so I think you did something wrong. Do you have any error messages in your error log?

bye
Thorsten

Re: Including MyFAQ

Posted: Wed Nov 18, 2009 10:23 pm
by Jos
Unfortunately I can't look into any logfile..

This is the code I'm using...

Code: Select all

//page
require(CLIENTINC_DIR.'header.inc.php');?>
<?php 
include ($_SERVER['DOCUMENT_ROOT']."faq/index.php"); 
?>
<?require(CLIENTINC_DIR.'footer.inc.php');?>
When I'm opening this file it shows the header and footer but nothing within it..

MM strange?