Pandora FMS Community

error Download Attached files - Project

bangbang · 17 dic 2010, 7:16 · 3 mensajes · 59 visitas

  1. Inicio del debate

    When i click link of Attached File of Project, i get error below: Cannot add or update a child row: a foreign key constraint fails (temp file operation failed) ('INSERT INTO tsesion (ID_usuario, accion, fecha, IP_origen,descripcion, utimestamp) VALUES ("","ACL Violation","2010-12-17 10:11:30","172.16.10.49","Trying to access Downloads", 1292555490)') in /data/web/integria/include/functions_db.php on line 162

  2. caused: it caused create new session, so session when login not valid here. solution: modified integria/operation/projects/project_download_file.php then move session_start(); before

    session_start(); require_once ('../../include/config.php'); require_once ('../../include/functions.php'); require_once ('../../include/functions_db.php');

    after

    require_once ('../../include/config.php'); require_once ('../../include/functions.php'); require_once ('../../include/functions_db.php'); session_start();

  3. Ok, thanks for the tip.

Entra en tu cuenta para publicar.