diff --git a/admin/index.php b/admin/index.php index 67701a87..48e32b3d 100644 --- a/admin/index.php +++ b/admin/index.php @@ -67,8 +67,8 @@ echo " \n"; echo ' '; echo ' ' . theme_icon('print/export_reports') . '
' . i18n('Print / Export Reports') . '
'; echo ' ' . theme_icon('print_awards_ceremony_scripts') . '
' . i18n('Print Award Ceremony Scripts') . '
'; -echo ' ' . theme_icon('report_management') . '
' . i18n('Report Management') . '
'; -echo ' ' . theme_icon('translations_management') . '
' . i18n('Translations Management') . '
'; +//echo ' ' . theme_icon('report_management') . '
' . i18n('Report Management') . '
'; +//echo ' ' . theme_icon('translations_management') . '
' . i18n('Translations Management') . '
'; echo ''; echo " \n"; diff --git a/admin/reports.inc.php b/admin/reports.inc.php index f13be9b1..accb0335 100644 --- a/admin/reports.inc.php +++ b/admin/reports.inc.php @@ -38,9 +38,9 @@ require_once("reports_fairs.inc.php"); require_once("reports_fundraising.inc.php"); - require_once('../lpdf.php'); + //require_once('../lpdf.php'); require_once('../lcsv.php'); - require_once('../tcpdf.inc.php'); + //require_once('../tcpdf.inc.php'); $filter_ops = array( 0 => '=', 1 => '<=', diff --git a/admin/reports_gen.php b/admin/reports_gen.php index 51fbf010..8e44f675 100644 --- a/admin/reports_gen.php +++ b/admin/reports_gen.php @@ -90,7 +90,7 @@ switch ($_GET['action']) { prepare("SELECT * FROM reports_committee + $q = $pdo->prepare("SELECT * FROM reports_committee \t\t\t\tWHERE users_id=? AND reports_id=?"); $q->execute([$_SESSION['users_uid'],$report['id']]); diff --git a/common.inc.php b/common.inc.php index 3bd37143..ceb84a12 100644 --- a/common.inc.php +++ b/common.inc.php @@ -29,9 +29,12 @@ header('Content-Type: text/html; charset=utf8'); include_once ('helper.inc.php'); // set error reporting to not show notices, for some reason some people's installation dont set this by default // so we will set it in the code instead just to make sure -// error_reporting(E_ALL); +error_reporting(E_ALL); +ini_set('log_errors', 'On'); +ini_set('display_errors', 'Off'); // error_reporting( E_ALL ^ E_WARNING ); -error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED); +//error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED); + define('REQUIREDFIELD', '*');