Tengo el error que dice el título en PHP, afecta donde sale el primer include (variables.php) del código: (esa es la línea 275)
echo "INFO: Defining shortened URL content.<br>";
if(!isset($_GET['mcpe']))
{
echo "WARNING: mcpe parameter specified.";
$urlcontent = '<?php
$servername = "'.$servername.'";
$longlink = "'.$longlink.'";
$alias = "'.$alias.'";
$password = "'.$password.'";
include (\'../configs/variables.php\');
include (\'../configs/template.php\');
?>';
}
else {
unset($urlcontent);
// No template, instant redirect
$urlcontent = '<?php
$servername = "'.$servername.'";
$longlink = "'.$longlink.'";
$alias = "'.$alias.'";
$password = "'.$password.'";
include (\'../configs/variables.php\');
include (\'../configs/template.php\');
header("Refresh:0; url='.$longlink.'")';
?>';
echo "WARNING: mcpe parameter not specified.";
}
Gracias
backslashes \
, en losinclude
('../configs/variables.php');
backslash
para escapar caracteres. la funcióninclude
recibe un cadena. elimina dichos \ y se solucionará tu error.