برای رفع ارور:
فایل class_core.php رو باز کنید و کد زیر رو پیدا کنید:
تغییر بدید به:
کد:
Deprecated: Optional parameter $buffered declared before required parameter $link is implicitly treated as a required parameter in C:\xampp\htdocs\vb\includes\class_core.php on line 414
فایل class_core.php رو باز کنید و کد زیر رو پیدا کنید:
PHP Code:
function execute_query($buffered = true, &$link)
{
$this->connection_recent =& $link;
$this->querycount++;
if ($queryresult = $this->functions[$buffered ? 'query' : 'query_unbuffered']($this->sql, $link))
{
// unset $sql to lower memory .. this isn't an error, so it's not needed
$this->sql = '';
return $queryresult;
}
else
{
$this->halt();
// unset $sql to lower memory .. error will have already been thrown
$this->sql = '';
}
}
تغییر بدید به:
PHP Code:
function execute_query(&$link, $buffered = true)
{
$this->connection_recent =& $link;
$this->querycount++;
if ($queryresult = $this->functions[$buffered ? 'query' : 'query_unbuffered']($this->sql, $link))
{
// unset $sql to lower memory .. this isn't an error, so it's not needed
$this->sql = '';
return $queryresult;
}
else
{
$this->halt();
// unset $sql to lower memory .. error will have already been thrown
$this->sql = '';
}
}




نظر