Re: Warning Message
| From: | Ignacio Vazquez-Abrams | Date: | Sun, 26 Nov 2000 04:28:23 +0000 |
| Subject: | Re: Warning Message | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27228@lists.php.net to get a copy of this message | ||
On Sun, 26 Nov 2000, chu feng-cheng wrote:
> Is there anybody know these message? Please explain it. Thanks
>
> Warning: Supplied argument is not a valid MySQL-Link resource in
> ./functions/session_mysql.phtml on line 75
>
> Warning: Cannot send session cache limiter - headers already sent by (output
> started at ./functions/session_mysql.phtml:75) in
> ./functions/session_mysql.phtml on line 83
>
These error messages are familiar to quite a number of us here. However, we do
need some code so that we can tell you what the problem is...
Fine. The first one means that you didn't get a connection to your MySQL
server with mysql_connect() or mysql_pconnect(), or that you're passing the
wrong variable to mysql_query() or mysql_db_query(). The second one means that
there has already been some text sent to the browser (i.e., the first error
message). Fix the first problem and both will disappear.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>