I have received the following error on two of our sites (that are on the same server)
QUOTE
Logging failedYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'get = '[]', session='[]', ip = '81.138.223.98', pageLevel = '', userLevel = '', ' at line 1
the following is where i think it is saying the problem is...:
QUOTE
$sessionCookieExpireTime=8*60*60;
session_set_cookie_params($sessionCookieExpireTime);
if (!$_SESSION) { session_start(); }
if ($_GET['a'] == "logout" || $logout == "logout") { session_destroy(); }
require_once("ugs/class_ugs_client.php");
$ugs = new UGS;
$ugs->addLog(json_encode($_POST),json_encode($_GET),json_encode($_SESSION),$_SERVER['REMOTE_ADDR'],$page_level,json_encode($_SERVER));
session_set_cookie_params($sessionCookieExpireTime);
if (!$_SESSION) { session_start(); }
if ($_GET['a'] == "logout" || $logout == "logout") { session_destroy(); }
require_once("ugs/class_ugs_client.php");
$ugs = new UGS;
$ugs->addLog(json_encode($_POST),json_encode($_GET),json_encode($_SESSION),$_SERVER['REMOTE_ADDR'],$page_level,json_encode($_SERVER));
any help would really be appreciated.