Quote:
Originally Posted by g.gadaleta
Me too, same error. Any idea?
|
I just got this working in vB 3.5.8. In connector.class.php, lines 99-116 do the same thing as lines 233-252 in include/init.php. In vB 3.5.8, most of those lines are commented out. Starting at line 106 in connector.class.php, change
Code:
define('SAPI_NAME', php_sapi_name());
if (!defined('NOSHUTDOWNFUNC'))
{
if (PHP_VERSION < '5' OR ((SAPI_NAME == 'cgi' OR SAPI_NAME == 'cgi-fcgi') AND $this->options['gzipoutput'] AND strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false))
{
define('NOSHUTDOWNFUNC', true);
}
else
{
vB_Shutdown::add('exec_shut_down');
}
}
To:
Code:
/*
if (!defined('NOSHUTDOWNFUNC'))
{
if (PHP_VERSION < '5' OR ((SAPI_NAME == 'cgi' OR SAPI_NAME == 'cgi-fcgi') AND $this->options['gzipoutput'] AND strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false))
{
define('NOSHUTDOWNFUNC', true);
}
else
{
vB_Shutdown::add('exec_shut_down');
}
}
*/
define('NOSHUTDOWNFUNC', true);