Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Olá pessoal, estou com um problema para exibir uma página do meu site, qndo tento acessá-la, aparece os eguinte erro:
Warning: require_once(../includes/mxi/MXI.php) [function.require-once]: failed to open stream: No such file or directory in /home/felina/public_html/admin/filhotes.php on line 39
Fatal error: require_once() [function.require]: Failed opening required '../includes/mxi/MXI.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/felina/public_html/admin/filhotes.php on line 39
Segue o código da página, até a linha 41:
<?php require_once('../Connections/conecta.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
mysql_select_db($database_conecta, $conecta);
$query_Recordset1 = "SELECT * FROM filhotes";
$Recordset1 = mysql_query($query_Recordset1, $conecta) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
// Require the MXI classes
//linha 39: require_once ('../includes/mxi/MXI.php');
?><style type="text/css" media="screen">
@import url("../arquivos/menu/menu.css");
Obrigado!
Carregando comentários...