|
|
Terborch
regular
Reg'd: Thu
Posts: 29
|
php chat & mysql
Sat Jan 27 2007 02:00 AM
|
|
|
I got a php chat on my site and I got a warning:
Quote:
Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in drivers/adodb-mysql.inc.php on line 373
Session: connection failed
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at drivers/adodb-mysql.inc.php:373) in index.php on line 6
Heres the line the one about drivers/adodb-mysql.inc.php is looking at:
Quote:
$this->_connectionID = mysql_pconnect($argHostname,$argUsername,$argPassword,$this->
heres the lines around it: Code:
if (ADODB_PHPVER >= 0x4300) $this->_connectionID = mysql_pconnect($argHostname,$argUsername,$argPassword,$this-> clientFlags);
Heres the line the one about index.php is looking at: Quote:
session_start();
heres the lines around it: Code:
<?php
require_once ('includes/config.php');
$date = adodb_date("D, d M Y h:i a"); session_start();
require 'libs/Smarty.class.php';
What do I have to do.
|
|
|
|
|