Assertion failed!
Script: $script
Line: $line
Condition:
$message
"; // Now display the call stack echo debug_callstackinfo(); } // Production error handling function trigger_dberror($text = '') { global $mainframe; global $database; echo debug_callstackinfo(); require_once ($mainframe->getCfg('absolute_path') . '/components/com_kunena/lib/kunena.version.php'); $kunenaVersion = CKunenaVersion::version(); $kunenaPHPVersion = CKunenaVersion::PHPVersion(); $kunenaMySQLVersion = CKunenaVersion::MySQLVersion(); ?>
Installed version: | php | mysql
stderr(true), E_USER_ERROR); } function check_dberror($text='') { global $database; if ($database->_errorNum != 0) { trigger_dberror($text); } } function trigger_dbwarning($text = '') { global $database; trigger_error($text.'\n'.$database->stderr(true), E_USER_WARNING); } // Little helper to created a formated output of variables function debug_vars($varlist) { $output = ''; foreach( $varlist as $key => $value) { if (is_array ($value) ) { $output .= ''; } else if (is_object($value)) { $objvarlist = get_object_vars($value); // recursive function call debug_vars($objvarlist); } else { $output .= ''; } } $output .= '
variable value
$'.$key .''; if ( sizeof($value)>0 ) { $output .= '"'; foreach ($value as $skey => $svalue) { if (is_array ($svalue) ) { $output .= ''; } else if (is_object($svalue)) { $objvarlist = get_object_vars($svalue); // recursive function call debug_vars($objvarlist); } else { $output .= ''; } } $output .= '
key value
[' . $skey .']Nested Array
$' . $skey .'"'. $svalue .'"
"'; } else { $output .= 'EMPTY'; } $output .= '
$' . $key .'"'. $value .'"
'; return $output; } // Show the callstack to this point in a decent format function debug_callstackinfo() { return debug_vars(debug_backtrace()); } ?>