Guys anyone can help me to my system they have no error on code but i try to run in index.php he always reloading it says to website "try to clean cookies to fix " but i try to clean but i the same nothing changes but when i try to run the login.php here comes up like this [ATTACH]5492[/ATTACH]
direct website
[ATTACH]5493[/ATTACH]
Codes:
Initialize.php
<php?
defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR);
defined('SITE_ROOT') ? null : define ('SITE_ROOT', $_SERVER['DOCUMENT_ROOT'].DS.'MSCAB');
defined('LIB_PATH') ? null : define ('LIB_PATH',SITE_ROOT.DS.'includes');
// load config file first
require_once(LIB_PATH.DS."config.php");
require_once(LIB_PATH.DS."functions.php");
require_once(LIB_PATH.DS."session.php");
require_once(LIB_PATH.DS."member.php");
//Load Core objects
require_once(LIB_PATH.DS."database.php");
//load database-related classes
?>
Config.php
<php?
defined('DB_SERVER') ? null : define("DB_SERVER","localhost");
defined('DB_USER') ? null : define("DB_USER","root");
defined('DB_PASS') ? null : define("DB_PASS","");
defined('DB_NAME') ? null : define("DB_NAME","mscabdb");
$thisFile = str_replace('\', '/', FILE);
$docRoot =$_SERVER['DOCUMENT_ROOT'];
$webRoot = str_replace(array($docRoot, 'includes/config.php'), '', $thisFile);
$srvRoot = str_replace('config/config.php','', $thisFile);
define('WEB_ROOT', $webRoot);
define('SRV_ROOT', $srvRoot);
?>
Untitledq1.jpg
Untitled.png