2006-12-18, 10:00 AM
Previous unanswered question:
Is it possible to install sendmail (unix) and configure php to use it via php.ini for email instead of smtp?
Current new question that concerns errors:
I am receiving the following error when I try to access the forum that I am trying to install:
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /Library/WebServer/Documents/forums/inc/db_mysql.php on line 313
MySQL error:
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /Library/WebServer/Documents/forums/inc/db_mysql.php on line 314
Query:
When I look at lines 313 and 314 in this files it reads the following:
does anyone knows why I am receiving these error and how to get rid of them? Any help will be appreciated.
with warm regards
Ronald Cross
Is it possible to install sendmail (unix) and configure php to use it via php.ini for email instead of smtp?
Current new question that concerns errors:
I am receiving the following error when I try to access the forum that I am trying to install:
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /Library/WebServer/Documents/forums/inc/db_mysql.php on line 313
MySQL error:
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /Library/WebServer/Documents/forums/inc/db_mysql.php on line 314
Query:
When I look at lines 313 and 314 in this files it reads the following:
/**
* Output a database error.
*
* @param string The string to present as an error.
*/
function dberror($string="")
{
if($this->error_reporting)
{
echo "MySQL error: " . mysql_errno($this->link);
echo "<br />" . mysql_error($this->link);
echo "<br />Query: $string";
exit;
}
}
/**
* Returns the number of affected rows in a query.
*
* @return int The number of affected rows.
does anyone knows why I am receiving these error and how to get rid of them? Any help will be appreciated.
with warm regards
Ronald Cross