From 49a4f53187863c0b8958366b07f5cfc31a97c978 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Tue, 28 Feb 2012 18:26:55 +0000 Subject: [PATCH] 2012-02-28 Juan Manuel Ramon * include/functions_reporting.php: Added set_time_limit to 500 secs to avoid php timeouts in projection and prediction reports. Fixes: #3458391 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/include/functions_reporting.php | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 12dd3e8ad3..d292a5a6d4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2012-02-28 Juan Manuel Ramon + + * include/functions_reporting.php: Added set_time_limit to 500 secs + to avoid php timeouts in projection and prediction reports. + + Fixes: #3458391 + 2012-02-28 Vanessa Gil * pandoradb.sql diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index a89b11f180..7cec5b88dd 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -2209,6 +2209,8 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f $data[2] = $sizh.human_time_description_raw ($content['period']).$sizhfin; array_push ($table->data, $data); + set_time_limit(500); + // Put description at the end of the module (if exists) $table->colspan[2][0] = 4; if ($content["description"] != ""){ @@ -2258,6 +2260,8 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f $data[2] = $sizh.human_time_description_raw ($content['period']).$sizhfin; array_push ($table->data, $data); + set_time_limit(500); + // Put description at the end of the module (if exists) $table->colspan[2][0] = 4; if ($content["description"] != ""){