1
gruessle
protector / PHP Warning: mysql_select_db()
  • 2005/5/13 15:15

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


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 ) < ) return false ;
    
$this->_conf = array() ;
    while( list( 
$key $val ) = mysql_fetch_row$result ) ) {
        
$this->_conf$key ] = $val ;
    }

2
davidthomas1
Re: protector / PHP Warning: mysql_select_db()

I'm getting the same error(s) with the Protector module.

Using XOOPS 2.0.13.x
Protector version : 2.40RC2

Has anyone found a solution to this one?
みんなちがってみんないい。

XOOPS 2.0.13.2

Login

Who's Online

136 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 136


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits