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 nos includes de uma página, faço os includes e quando tento visualizar no servidor local aparece a seguinte mensagem:
Error including file: Could not change directory to '/perola/adm/'. Set execute permissions on this folder
Segue o código PHP com os includes:
<?php
// Require the MXI classes
require_once ('../includes/mxi/MXI.php');
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><?php
mxi_includes_start("/perola/adm/topo.php");
require(basename("/perola/adm/topo.php"));
mxi_includes_end();
?></td>
</tr>
<tr>
<td><?php
mxi_includes_start("/perola/adm/menu.php");
require(basename("/perola/adm/menu.php"));
mxi_includes_end();
?></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
Obrigado.
Carregando comentários...