LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-19-2009, 02:36 PM   #1
dezza
Member
 
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian, Gentoo, Ubuntu, VoidLinux
Posts: 133

Rep: Reputation: 18
Warning: (null)(): no MySQL-Link resource supplied in Unknown on line 0


Warning: (null)(): no MySQL-Link resource supplied in Unknown on line 0

What does this line mean?

I am rewriting a big source, but suddently this error showed up, looks very mysterious, but maybe some of you have encountered this before?
 
Old 02-05-2009, 07:02 PM   #2
dezza
Member
 
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian, Gentoo, Ubuntu, VoidLinux
Posts: 133

Original Poster
Rep: Reputation: 18
SOLVED:

For anyone who searches on this, this has something to do with mysql_close() having no parameter, it generates a warning if so, as stated on the PHP manual page.

Fix it by assigning variables to it.

http://php.net/manual/en/function.mysql-close.php
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logical Vols. Active: WARNING: can't access (null) WhatsOnYourBrain Linux - Kernel 0 09-17-2006 02:59 AM
PHP & MYSQL => session object using db link resource ldp Programming 2 03-19-2005 03:38 AM
Unknown Bridge Resource Error mptruem Linux - General 4 05-21-2002 06:39 AM
unknown bridge resource? vance Linux - Software 6 03-06-2002 01:35 PM
unknown bridge resource :0 assuming transparent bluecadet Linux - General 0 12-27-2001 08:34 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration