Current Path : /var/www/html/clients/amz.e-nk.ru/bitrix/modules/main/include/ |
Current File : /var/www/html/clients/amz.e-nk.ru/bitrix/modules/main/include/dbquery_error.php |
<br> <table cellpadding="1" cellspacing="0" width="35%" bgcolor="#9C9A9C"> <tr> <td><table cellpadding="5" cellspacing="0" width="100%"> <tr> <td bgcolor="#FFFFFF" align="center"> <FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1"> <font color="#FF0000"><b><?echo "DB query error."?></b></font><br> Please try later. </font><br> <?if (is_object($GLOBALS["USER"]) && $GLOBALS["USER"]->CanDoOperation('edit_php')):?> </form> <form method="post" action="/bitrix/admin/site_checker.php?tabControl_active_tab=edit5#edit5"> <? $strSupportErrorText = ""; $strSupportErrorText .= "File: ".__FILE__."\n"; if (strlen($error_position)>0) $strSupportErrorText .= "[".$error_position."]\n"; if (strlen($strSql)>0) $strSupportErrorText .= "Query: ".$strSql."\n"; if (is_object($this) && strlen($this->db_Error)>0) $strSupportErrorText .= "[".$this->db_Error."]\n"; if (function_exists("debug_backtrace")) { $d = debug_backtrace(); $trace = array(); // due to memory limitations foreach($d as $tmp) $trace[] = array( 'file' => $tmp['file'], 'line' => $tmp['line'], 'class' => $tmp['class'], 'function' => $tmp['function'], 'args' => $tmp['args'] ); $strSupportErrorText .= "debug_backtrace:\n".print_r($trace, True)."\n"; } ?> <input type="hidden" name="last_error_query" value="<?= htmlspecialchars($strSupportErrorText) ?>"> <input type="submit" value="Send error report to support"> </form> <?endif;?> </td> </tr> </table></td> </tr> </table> <br><br><br>