View Source

/hsphere/local/home/c251266/sunsetvines.com/www.sunsetvines.com/sunsetvines/current/vendor/creovel/views/application_error.php (1.176 KB)

#0001  
#0002  
#0003  
#0004  
#0005  
#0006  
#0007  
#0008  
#0009  
#0010  
#0011  
#0012  
#0013  
#0014  
#0015  
#0016  
#0017  
#0018  
#0019  
#0020  
#0021  
#0022  
#0023  
#0024  
#0025  
#0026  
#0027  
#0028  
#0029  
#0030  
#0031  
#0032  
#0033  
<h1 class="top">Application Error</h1>
<p class="top"><?=$this->message?></p>

<? if ( count($this->traces) ) { ?>
<h1>Debug Trace</h1>
<ul class="debug">
<?
$trace_count 
0;
$offset 0;
foreach ( 
$this->traces as $trace ) {

    
// skip traces with no file or line number or magic fucntion calls
    
if ( !$trace['file'] || !$trace['file'] || strstr($trace['function'], '__call') ) {
        
$offset++;
        continue;
    }
    
?>
    <li>
        #<?=count($this->traces) - $trace_count $offset)?> <?=$trace['class'] . $trace['type'] . $trace['function'] . str_replace("('')"'()', ("('" . ( is_array($trace['args']) ? implode("', '"$trace['args']) : '')) . "')"?> in <strong><a href="javascript:void(0);" onclick="_Toggle('source_<?=$trace_count?>');"><?=$trace['file']?></a></strong> on line <strong><?=$trace['line']?></strong>
        <? include(dirname(__FILE__).DS.'_source_code.php'?>
    </li>
    <?
    $trace_count
++;
}
?>
</ul>
<? ?>

<p><a href="javascript:void(0);" onclick="var obj = document.getElementById('creoinfo'); if (obj.style.display='none') obj.style.display=''; this.style.display='none';">More info...</a></p>

<div id="creoinfo" style="display:none;">
<? include(dirname(__FILE__).DS.'info.php'?>
</div>