- warning
-
mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ZendFramework-1.9.5/library/Zend/Db/Adapter/Mysqli.php in line 324
Position: 00319:
$this->_config['host'],
00320:
$this->_config['username'],
00321:
$this->_config['password'],
00322:
$this->_config['dbname'],
00323:
$port
00324:
);
00325:
00326:
if ($_isConnected === false || mysqli_connect_errno()) {
00327:
00328:
$this->closeConnection();
00329:
/**
- notice
-
Undefined variable: _SESSION in /home/www/work/qwertz/library/Default/Plugin/Initialize.php in line 62
Position: 00057:
if ($layout instanceof Zend_Layout && $layout->isEnabled()==TRUE) {
00058:
$layout->render();
00059:
}
00060:
00061:
try {
00062:
Api1_User_Session::write(session_id(),$_SESSION);
00063:
} catch (Exception $e) {
00064:
echo $e->getMessage();
00065:
}
00066:
00067:
}
- error
-
Call to a member function quote() on a non-object in /home/www/work/Api/Api1/User/Session.php in line 80
Position: 00075:
*/
00076:
public static function write($id, $data)
00077:
{
00078:
$d=serialize($data);
00079:
$q="Insert INTO ".self::$dbName.".user_sessions
00080:
set session_id=".self::$dbConnect->quote($id)."
00081:
,data=".self::$dbConnect->quote($d)."
00082:
,request_uri=".self::$dbConnect->quote($_SERVER['REQUEST_URI'])."
00083:
,remote_addr=".self::$dbConnect->quote($_SERVER['REMOTE_ADDR'])."
00084:
ON DUPLICATE KEY UPDATE
00085: