Page 1 of 1

PHP errors from reports.php

Posted: Wed Mar 16, 2011 2:00 pm
by joeyh
Script URL: https://support.altonschools.org/tech
Version of script: 2.2
Hosting company: Own server (Win 2k3, IIS)
URL of phpinfo.php: http://support.altonschools.org/phpinfo.php
URL of session_test.php:
What terms did you try when SEARCHING for a solution: "reports" "php error"

Write your message below:

Hello!

Since yesterday, we've been getting error messages whenever we try to open the reports page on Hesk. The exact errors are:
PHP Notice: Undefined index: 2011-03-16 in D:\WebApps\Tech\admin\reports.php on line 718
PHP Notice: Undefined index: all in D:\WebApps\Tech\admin\reports.php on line 718
PHP Notice: Undefined index: resolved in D:\WebApps\Tech\admin\reports.php on line 765
PHP Notice: Undefined index: resolved in D:\WebApps\Tech\admin\reports.php on line 766
This file has not been modified, and I tried replacing it with a new copy straight from the zip file, yet it continues to malfunction. Everything else is working fine. Is there something that I could do to fix this?

Re: PHP errors from reports.php

Posted: Wed Mar 16, 2011 4:28 pm
by Klemen
Try opening admin/reports.php in Notepad and just above

Code: Select all

hesk_session_start();
add

Code: Select all

error_reporting(0);
Unless you use server for PHP development I would recommend setting notices off in your php.ini file. Set error_reporting to E_ALL & ~E_NOTICE in the php.ini file (you probably have error_reporting = E_ALL now) and reboot server.

Re: PHP errors from reports.php

Posted: Wed Mar 16, 2011 5:44 pm
by joeyh
That fixed it, thank you :D