Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/honkyton/public_html/gnote/classes/database.class.php on line 6

Notice: MySQL ERROR:
in /home/honkyton/public_html/gnote/classes/database.class.php on line 8
Warning:
Text: mysql_query(): supplied argument is not a valid MySQL-Link resource
File: /home/honkyton/public_html/gnote/classes/database.class.php
Line: 150
Call Stack:
errorHandler(2, "mysql_query(): supplied argument is not a valid MySQL-Link resource", "/home/honkyton/public_html/gnote/classes/database.class.php", 150, array())
mysql_query("update gnote_visit set value = value + 1 where visitdate = '2008-11-09'", false)
    /home/honkyton/public_html/gnote/classes/database.class.php [150]
Dataset->exec("update gnote_visit set value = value + 1 where visitdate = '2008-11-09'")
    /home/honkyton/public_html/gnote/classes/tools.lib.php [157]
sqlexec("update gnote_visit set value = value + 1 where visitdate = '2008-11-09'")
    /home/honkyton/public_html/gnote/index.php [23]