Strange erorrs above every article - Joomla! Forum - community, help and support
at 1 of sites im getting error every article;;
warning: mysql_num_rows(): supplied argument not valid mysql result resource in /home/manonet/public_html/aob/includes/database.php on line 359
you can see here 'live': ( http://aob.manonet.nl
its code;
i didnt alter code, nor did change database. last thursday added last article , 2 days after saw error, ive done nothing site. thought maybe upgrade 1.0.4 make go away error stays..
plz help, dutch friends here @ forum couldnt me either...
thx
warning: mysql_num_rows(): supplied argument not valid mysql result resource in /home/manonet/public_html/aob/includes/database.php on line 359
you can see here 'live': ( http://aob.manonet.nl
its code;
code: select all
/**
* @return int number of rows returned recent query.
*/
function getnumrows( $cur=null ) {
return mysql_num_rows( $cur ? $cur : $this->_cursor );
}
i didnt alter code, nor did change database. last thursday added last article , 2 days after saw error, ive done nothing site. thought maybe upgrade 1.0.4 make go away error stays..
plz help, dutch friends here @ forum couldnt me either...
thx

hi - not cure problem - mask errors visitors, check error reporting level in php.ini:
http://www.php.net/manual/nl/ref.errorf ... -reporting
if production site best hide errors public , send these errors error log files instead. apart making site better security.
if dev site definintely show errors on screen can fix them!
sorry, can't read content not sure if yours live site or not...
- dan.
http://www.php.net/manual/nl/ref.errorf ... -reporting
if production site best hide errors public , send these errors error log files instead. apart making site better security.
if dev site definintely show errors on screen can fix them!
sorry, can't read content not sure if yours live site or not...
- dan.
Comments
Post a Comment