1
I found this in my error log, below is the line 43, 44, and 45.
Quote:
[23-Mar-2005 20:58:25] PHP Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/vmc/public_html/x/modules/protector/include/precheck.inc.php on line 22
[23-Mar-2005 20:58:25] PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/vmc/public_html/x/modules/protector/class/protector.php on line 44
[23-Mar-2005 20:58:25] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/vmc/public_html/x/modules/protector/class/protector.php on line 45
[23-Mar-2005 20:58:48] PHP Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/vmc/public_html/x/modules/protector/include/precheck.inc.php on line 22
[23-Mar-2005 20:58:48] PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/vmc/public_html/x/modules/protector/class/protector.php on line 44
[23-Mar-2005 20:58:48] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/vmc/public_html/x/modules/protector/class/protector.php on line 45
===================================
Fist line is Line 43
// Preferences (for performance, I dare to use an irregular method)
$result = mysql_query( "SELECT conf_name,conf_value FROM ".XOOPS_DB_PREFIX."_config WHERE conf_title like '_MI_PROTECTOR%'" , $conn ) ;
if( mysql_num_rows( $result ) < 5 ) return false ;
$this->_conf = array() ;
while( list( $key , $val ) = mysql_fetch_row( $result ) ) {
$this->_conf[ $key ] = $val ;
}