Pages: [1]   Go Down
Author Topic: error Download Attached files - Project  (Read 558 times)
0 Members and 2 Guests are viewing this topic.
bangbang
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« on: December 17, 2010, 04:16:17 AM »

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
Logged

bangbang
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« Reply #1 on: December 22, 2010, 04:04:31 AM »

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();




Logged

miguel
Global Moderator
Sr. Member
*****

Karma: 0
Offline Offline

Posts: 102



View Profile
« Reply #2 on: March 25, 2011, 10:40:50 AM »

Ok, thanks for the tip.
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST