Re: how can i get rid of this error ?
| From: | Jochem Maas | Date: | Tue, 27 Sep 2005 09:32:14 +0000 |
| Subject: | Re: how can i get rid of this error ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223256@lists.php.net to get a copy of this message | ||
Bulent wrote:
Hello I am a novice about that I use mysql4.0.24 with php4.3.10. When I upload jpeg/gif files to my webpage I get an error as below; PHP Warning: mysql_close(): supplied resource is not a valid MySQL-Link resource in /var/..... What shall I do ?look at the line with the error in it. then fix the error - which no one here can really help with until we see some code. or from another point of view: what do you want to do?
My php configuration as below;GD Support enabled GD Version 2.0 or higher GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabledmysqlMySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 4.0.24 MYSQL_MODULE_TYPE external MYSQL_SOCKET /tmp/mysql.sock MYSQL_INCLUDE -I/usr/local/include/mysql MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient