/**
* Use the CMS as the default script:
*/
require('content.php');
/**
* Use the forum as the default script:
*/
// require('forum.php');
I am not sure if thats what you meant but this is what I did:
in Index.php
I went at the bottom (looked at the code that you have provided above)
Originally the code was this in Index.php
Code:
/**
* Use the CMS as the default script:
*/
//require('content.php');
/**
* Use the forum as the default script:
*/
require('forum.php');
[/QUOTE]
but then I changed it to what you did:
Code:
/**
* Use the CMS as the default script:
*/
require('content.php');
/**
* Use the forum as the default script:
*/
// require('forum.php');
[/QUOTE]
but then the forum doesnt load, I mean absolutely nothing shows up.
Then I tried this:
Code:
/**
* Use the CMS as the default script:
*/
// require('content.php');
/**
* Use the forum as the default script:
*/
require('forum.php');
[/QUOTE] and then I get the following error:
Quote:
Warning: require(content.php) [function.require]: failed to open stream: No such file or directory in /home/public_html/forum/index.php on line 56
Warning: require(content.php) [function.require]: failed to open stream: No such file or directory in /home/public_html/forum/index.php on line 56
Fatal error: require() [function.require]: Failed opening required 'content.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/forum/index.php on line 56
I have now changed it back to what it was originally before.