Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > Project Tools > osTicket Bug Tracker > Bug

Issue Type Bug   Project osTicket Bug Tracker
viewing an emailed link v1.6 RC3
Fatal error when viewing an emailed link
Category Unknown
Affected Version 1.6.0 rc3
Priority 3
Status Fixed
Fixed Version 1.6 rc4
Submitted 03-17-2008
Assigned Users (none) Tags (none)

issueid=69 03-17-2008 01:58 AM
Junior Member
viewing an emailed link v1.6 RC3
Fatal error when viewing an emailed link

I came across an issue when viewing a ticket from an emailed link. The view.php page displayed correctly filling in the email address and ticket # from the email. When I clicked the View Status button I was given a fatal error message with no explaination. Turning on error reporting displayed nothing. I traced the problem down to client.inc.php. There seems to be some illogic on line 19.

if(!file_exists('main.inc.php') || defined('INCLUDE_DIR')) die('Fatal Error.');

Changing this line to:

if(!file_exists('main.inc.php') && defined('INCLUDE_DIR')) die('Fatal Error.');

corrected the problem. If this is not the intended function of this line please let me know. All seems to work fine.
Reply

03-17-2008 03:29 AM
Issue Changed by peter
  • Status changed from Unconfirmed to Fixed
  • Issue marked as addressed

Issue Tools
Subscribe to this issue

All times are GMT -4. The time now is 10:03 AM.