Warning: mysql_pconnect() [function.mysql-pconnect]: Lost connection to MySQL server during query in /web/ads/portal/lib/mysql.inc.php on line 18

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /web/ads/portal/lib/mysql.inc.php on line 19

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /web/ads/portal/lib/mysql.inc.php on line 38
Error!!! Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2): 2002 (Unable to query: update apt_customer set dlastaccess=sysdate() where ncus_id='' )
Warning: Cannot modify header information - headers already sent by (output started at /web/ads/portal/lib/mysql.inc.php:18) in /web/ads/portal/logout.php on line 25