Re: MySQL + PHP : "Commands out of sync; You can't run this command now"

2002-11-18 Thread Steven Roussey
Comment out the body of the _restore_connection_defaults in php_mysql.c file in PHP. Recompile, etc. Or don’t use persistent connections. Should be fixed in PHP 4.3.   See http://bugs.php.net/?id=19529 for more info. Sincerely, Steven Roussey http://Network54.com/   -

Re: MySQL + PHP : "Commands out of sync; You can't run this command now"

2002-11-18 Thread Jocelyn Fournier
From: "Antoine" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 5:24 PM Subject: MySQL + PHP : "Commands out of sync; You can't run this command now" > > Hi, > > I'm having weird errors right now, running My

Re: MySQL + PHP : 'Commands out of sync; You can't run this command now'

2002-11-18 Thread Antoine
Just replying to myself... After replacing mysql_pconnect() with mysql_connect(), the problems seems gone so far. So chances are it is a bug on the PHP side. Regards Antoine. > Hi, > > I'm having weird errors right now, running MySQL queries from PHP as an > Apache module. Sometimes (in a seem

MySQL + PHP : "Commands out of sync; You can't run this command now"

2002-11-18 Thread Antoine
Hi, I'm having weird errors right now, running MySQL queries from PHP as an Apache module. Sometimes (in a seemingly random way) some queries fail and mysql_error() displays "Commands out of sync; You can't run this command now". I would say it seems to happen when different queries are launched