smooth-c
05-06-2008, 01:46 AM
I've just upgraded from beta4 of 3.7 and i've done everything as instructed and replaced/overwrote the existing files with the new ones and I've got this error code upon going on the discussion/install/upgrade.php path.
$errstr in $errfile on line $errline
"; break; case E_USER_ERROR: require_once(DIR . '/includes/functions_log_error.php'); $message = "Fatal error: $errstr in $errfile on line $errline"; log_vbulletin_error($message, 'php'); if (!headers_sent()) { if (SAPI_NAME == 'cgi' OR SAPI_NAME == 'cgi-fcgi') { header('Status: 500 Internal Server Error'); } else { header('HTTP/1.1 500 Internal Server Error'); } } if (error_reporting() OR ini_get('display_errors')) { $errfile = str_replace(DIR, '[path]', $errfile); $errstr = str_replace(DIR, '[path]', $errstr); echo "
Fatal error: $errstr in $errfile on line $errline
"; if (function_exists('debug_print_backtrace') AND ($vbulletin->userinfo['usergroupid'] == 6 OR ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions))) { // This is needed so IE doesn't show the pretty error messages echo str_repeat(' ', 512); debug_print_backtrace(); } } exit; break; } } // ################################################## ########################### /** * Unicode-safe version of htmlspecialchars() * * @param string Text to be made html-safe * * @return string */ function htmlspecialchars_uni($text, $entities = true) { return str_replace( // replace special html characters array('<', '>', '"'), array('<', '>', '"'), preg_replace( // translates all non-unicode entities '/&(?!' . ($entities ? '#[0-9]+|shy' : '(#[0-9]+|[a-z]+)') . ';)/si', '&', $text ) ); } /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 20:50, Mon May 5th 2008 || # CVS: $RCSfile$ - $Revision: 26501 $ || ################################################## ################## \*================================================ ======================*/ ?>=================================================* \ || ################################################## ################## || # Downloaded: 20:50, Mon May 5th 2008 || # CVS: $RCSfile$ - $Revision: 26074 $ || ################################################## ################## \*================================================ ======================*/ ?>ata($xml) { $xml = preg_replace('#[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F]#', '', $xml); return str_replace(array(''), array('<=!=[=C=D=A=T=A=[', ']=]=>'), $xml); } } // ################################################## ########################### // legacy stuff class XMLparser extends vB_XML_Parser { } class XMLexporter extends vB_XML_Builder { } /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 20:50, Mon May 5th 2008 || # CVS: $RCSfile$ - $Revision: 26489 $ || ################################################## ################## \*================================================ ======================*/ ?>
Fatal error: Could not parse /home/smoothcn/public_html/discussion/includes/xml/bitfield_vbulletin.xml in /home/smoothcn/public_html/discussion/includes/class_bitfield_builder.php on line 121
Can anyone help?
$errstr in $errfile on line $errline
"; break; case E_USER_ERROR: require_once(DIR . '/includes/functions_log_error.php'); $message = "Fatal error: $errstr in $errfile on line $errline"; log_vbulletin_error($message, 'php'); if (!headers_sent()) { if (SAPI_NAME == 'cgi' OR SAPI_NAME == 'cgi-fcgi') { header('Status: 500 Internal Server Error'); } else { header('HTTP/1.1 500 Internal Server Error'); } } if (error_reporting() OR ini_get('display_errors')) { $errfile = str_replace(DIR, '[path]', $errfile); $errstr = str_replace(DIR, '[path]', $errstr); echo "
Fatal error: $errstr in $errfile on line $errline
"; if (function_exists('debug_print_backtrace') AND ($vbulletin->userinfo['usergroupid'] == 6 OR ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions))) { // This is needed so IE doesn't show the pretty error messages echo str_repeat(' ', 512); debug_print_backtrace(); } } exit; break; } } // ################################################## ########################### /** * Unicode-safe version of htmlspecialchars() * * @param string Text to be made html-safe * * @return string */ function htmlspecialchars_uni($text, $entities = true) { return str_replace( // replace special html characters array('<', '>', '"'), array('<', '>', '"'), preg_replace( // translates all non-unicode entities '/&(?!' . ($entities ? '#[0-9]+|shy' : '(#[0-9]+|[a-z]+)') . ';)/si', '&', $text ) ); } /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 20:50, Mon May 5th 2008 || # CVS: $RCSfile$ - $Revision: 26501 $ || ################################################## ################## \*================================================ ======================*/ ?>=================================================* \ || ################################################## ################## || # Downloaded: 20:50, Mon May 5th 2008 || # CVS: $RCSfile$ - $Revision: 26074 $ || ################################################## ################## \*================================================ ======================*/ ?>ata($xml) { $xml = preg_replace('#[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F]#', '', $xml); return str_replace(array(''), array('<=!=[=C=D=A=T=A=[', ']=]=>'), $xml); } } // ################################################## ########################### // legacy stuff class XMLparser extends vB_XML_Parser { } class XMLexporter extends vB_XML_Builder { } /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 20:50, Mon May 5th 2008 || # CVS: $RCSfile$ - $Revision: 26489 $ || ################################################## ################## \*================================================ ======================*/ ?>
Fatal error: Could not parse /home/smoothcn/public_html/discussion/includes/xml/bitfield_vbulletin.xml in /home/smoothcn/public_html/discussion/includes/class_bitfield_builder.php on line 121
Can anyone help?