/home/suroeste/public_html/gorbus.transportessuroeste.com/suroeste/Borrar
Edit: /home/suroeste/public_html/gorbus.transportessuroeste.com/suroeste/Borrar/grid_trasbordos_erro.php (8188B)
";
$msg .= "
";
$msg .= "
SQL: ";
$msg .= $_SESSION['scriptcase']['sc_sql_ult_comando'];
}
// e-mail
if (FALSE !== strpos($err_msg, "SSL: fatal protocol error"))
{
$bol_flag = FALSE;
}
// Application Roles
if (FALSE !== strpos($err_msg, "The application role "))
{
$bol_flag = FALSE;
}
// DBF
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "Optional feature not implemented"))
{
$bol_flag = FALSE;
}
// Sqlserver
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "The command(s) completed successfully"))
{
$bol_flag = FALSE;
}
// InterBase
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "InterBase: conversion error from string") && isset($GLOBALS["NM_ERRO_IBASE"]) && 1 == $GLOBALS["NM_ERRO_IBASE"])
{
$bol_flag = FALSE;
}
// PostGreSQL
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "pg_fetch_array(): Unable to jump to row"))
{
$bol_flag = FALSE;
}
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "Changed database context to "))
{
$bol_flag = FALSE;
}
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "Creating default object from empty value"))
{
$bol_flag = FALSE;
}
// Arquivo
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "stat failed for"))
{
$bol_flag = FALSE;
}
// currency
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "currency type not supported by PHP"))
{
$bol_flag = FALSE;
}
// PHP4
if (FALSE !== strpos($err_msg, "Assigning the return value of new by reference is deprecated"))
{
$bol_flag = FALSE;
}
if (FALSE !== strpos($err_msg, "var Deprecated Please use the"))
{
$bol_flag = FALSE;
}
if (FALSE !== strpos($err_msg, "var: Deprecated. Please use the"))
{
$bol_flag = FALSE;
}
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "Only variable references should be returned by reference"))
{
$bol_flag = FALSE;
}
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos(strtolower($err_msg), "unable to bind to server"))
{
$bol_flag = FALSE;
}
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "Only variables should be assigned by reference"))
{
$bol_flag = FALSE;
}
// Diretorio
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && FALSE !== strpos($err_msg, "MkDir"))
{
$bol_flag = FALSE;
}
// Formulas PHP
if ((E_WARNING == $err_no || E_NOTICE == $err_no) && (FALSE !== strpos($err_msg, "sc_proc_quebra_") || FALSE !== strpos($err_msg, "sc_proc_grid")))
{
$bol_flag = FALSE;
}
// Geral
if (FALSE !== strpos($err_msg, "set_time_limit"))
{
$bol_flag = FALSE;
}
if (FALSE !== strpos(strtolower($err_msg), "the mysql extension is deprecated and will be removed in the future"))
{
$bol_flag = FALSE;
}
if (FALSE !== strpos(strtolower($err_msg), "driver doesn't support meta data"))
{
$bol_flag = FALSE;
}
if ($bol_flag && $exibe)
{
scriptcase_error_display($msg, $err_no);
}
$_SESSION['scriptcase']['erro_handler'] = $bol_flag;
return;
}
}
function scriptcase_error_display($err_msg, $err_no)
{
$str_schema_all = $_SESSION['scriptcase']['erro']['str_schema'];
$str_schema_dir = $_SESSION['scriptcase']['erro']['str_schema_dir'];
$NM_arq_lang = "../_lib/lang/" . $_SESSION['scriptcase']['erro']['str_lang'] . ".lang.php";
if (!function_exists("NM_is_utf8"))
{
include_once("../_lib/lib/php/nm_utf8.php");
}
$Nm_lang = array();
if (is_file($NM_arq_lang))
{
$Lixo = file($NM_arq_lang);
foreach ($Lixo as $Cada_lin)
{
if (strpos($Cada_lin, "array()") === false && (trim($Cada_lin) != ""))
{
eval (str_replace("\$this->", "\$", $Cada_lin));
}
}
}
$_SESSION['scriptcase']['charset'] = "UTF-8";
ini_set('default_charset', $_SESSION['scriptcase']['charset']);
foreach ($Nm_lang as $ind => $dados)
{
if ($_SESSION['scriptcase']['charset'] != "UTF-8" && NM_is_utf8($dados))
{
$Nm_lang[$ind] = sc_convert_encoding($dados, $_SESSION['scriptcase']['charset'], "UTF-8");
}
}
?>
>
" GMT">