Php sürümünüz tahminimce 5.4 veya daha yukarısı. Kurmaya çalıştığınız vbulletin sürümü ise 4.2 veya daha aşağısı.
Sorununuz php sürümü kaynaklı olup;
1 . includes/config.php dosyanizi acin
ikinci satıra
ini_set("display_errors", "0");Ekleyin
2. includes/class_core.php dosyanızı acin
BUlun;
$this->shutdown = vB_Shutdown::instance();
Bununla Değişin;
$this->shutdown =@ vB_Shutdown::instance();
**
* Class to handle shutdown
*
* @package vBulletin
* @version $Revision: 29328 $
* @author Scott
* @date $Date: 2009-01-26 05:09:33 -0600 (Mon, 26 Jan 2009) $
*/
class vB_Shutdown
{
var $shutdown = array();
/**
* Constructor. Empty.
*/
function vB_Shutdown()
{
}
/**
* Singleton emulation - use this function to instantiate the class
*
* @return vB_Shutdown
*/
function &init()
{
static $instance;
if (!$instance)
{
$instance = new vB_Shutdown();
// we register this but it might not be used
if (phpversion() < '5.0.5')
{
register_shutdown_function(array(&$instance, '__destruct'));
}
}
return $instance;
}
/**
* Add function to be executed at shutdown
*
* @param string Name of function to be executed on shutdown
*/
function add($function)
{
$obj =@ vB_Shutdown::init();
if (function_exists($function) AND !in_array($function, $obj->shutdown))
{
$obj->shutdown[] = $function;
}
}
// only called when an object is destroyed, so $this is appropriate
function __destruct()
{
if (!empty($this->shutdown))
{
foreach ($this->shutdown AS $key => $funcname)
{
$funcname();
unset($this->shutdown[$key]);
}
}
}
}hocam ben o kodu bulamadım acaba uanlıs olma ıhtımalı var mı instance olarak sadece burası var