Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 


Web Building >> Web design & build

 |  Print Thread
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.

Post Extras Print Post   Remind Me!     Notify Moderator
Rate this thread

Jump to


Entire topic
Subject Posted by Posted on
* php chat & mysql Terborch Sat Jan 27 2007 02:00 AM
. * * Re: php chat & mysql Zippy_Brown   Sat Jan 27 2007 09:24 AM
. * * Re: php chat & mysql emailuser   Sat Jan 27 2007 11:19 AM

Extra information
0 registered and 3 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Thread
Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Thread views: 0

Contact Us | Privacy statement Main website