Hola, de repente el programa open clasifieds me ha dado este error al intentar acceder al admin:
Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d332094590/htdocs/zooanuncios/includes/config.php:1) in /homepages/16/d332094590/htdocs/zooanuncios/admin/access.php on line 7
Me pueden ayudar? Este es el código de access.php ¿donde está el error?
Código PHP:
<?php
session_start();
require_once('../includes/config.php');//configuration file
//include to control access for admin in the app with the session
if (!isset($_SESSION['admin']) )// first you need to be logged
{
header("Location: login.php");
die();
}
?>