PHP errors from reports.php

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
joeyh
Posts: 4
Joined: Fri Jan 14, 2011 5:41 pm

PHP errors from reports.php

Post 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?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: PHP errors from reports.php

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
joeyh
Posts: 4
Joined: Fri Jan 14, 2011 5:41 pm

Re: PHP errors from reports.php

Post by joeyh »

That fixed it, thank you :D
Post Reply