ok i know this problem cos i ran into it
i'm guessing you installed roster while on the theme that its currently using
now you need to open the conf.php and DELETE everything BEFORE <?php so your conf.php should look like
- Code: Select all
<?php
$db_host = "localhost";
$db_name = "DBName";
$db_user = "DBUser";
$db_passwd = "Password";
$db_prefix = "roster_";
$module_name = basename(dirname(__FILE__));
$roster_dir = "modules/" . $module_name;
define('ROSTER_INSTALLED', true);
?>
now go to your index.php and uncomment the line
- Code: Select all
include("header.php");
or readd it if you deleted that line so the beginning index.php should look like
- Code: Select all
<?php
if (eregi("index.php",$_SERVER['PHP_SELF'])) {
die("You can't access this file directly!");
}
include("header.php");
require_once ("mainfile.php");
define("IN_ROSTER", true);
that should fix your problem