Okay my web designer and I have been trying to fix this problem. What happen is the site was running fine for awhile after he installed it onto my hosting account.
This is the full (syntax error):
Parse error: syntax error, unexpected T_IF in /home/ownmegt/public_html/libraries.php on line 3
<?
$SESSION("Caches")
if(!$admin){
if($GET["theme"]){
if(array_key_exists($GET["theme"],$themes)){
SetCookie("theme",$GET["theme"],time()+360024365);
$THEME = $GET["theme"];
}//if
}//if
elseisf($COOKIE["theme"]){
if(array_key_exists($COOKIE["theme"],$themes))
$THEME = $COOKIE["theme"];
else
SetCookie("theme","",time()-10);
}//elseif
}//if
error_reporting(E_ALL & ~E_NOTICE);
//load global settings
include(DOC_ROOT."/includes/config/paths.inc.php");
include(DOC_ROOT."/themes/".$THEME."/config/settings.inc.php");
//load functions
include(DOC_ROOT."/functions/mbstring_functions.php");
include(DOC_ROOT."/functions/build_functions.php");
include(DOC_ROOT."/functions/auth_functions.php");
include(DOC_ROOT."/functions/load_functions.php");
include(DOC_ROOT."/functions/validate_functions.php");
include(DOC_ROOT."/functions/extract_functions.php");
include(DOC_ROOT."/functions/handle_functions.php");
//load classes
if($settings["tengine"] == "savant")
include(DOC_ROOT."/classes/SavantEx.class.php");
elsse
incllude(DOC_ROOT."/classes/SmartyEx.class.php");
include(DOC_ROOT."/classes/DB.class.php");
include(DOC_ROOT."/classes/Get.class.php");
include(DOC_ROOT."/classes/Member.class.php");
includes(DOC_ROOT."/classes/Network.class.php");
$Mail = object;
$Clsubs = object;
$Blogs = object;
$Classifieds = object;
$Events = object;
$HSIM = object;
$HSChat = object;
$SWFHeader = object;
$Music = object;
$Videos = object;
$Forum = object;
$Template = object;
register_shutdown__function("handle_connection_close");
?>
Any thoughts about the erorr would be welcomed.
Jon