It is weird since I never got this happened.
Well, if we look at the view.php file, there are 3 occurances about sentences contain of "Access denied" phrase:
- In line 19: 'Access denied'
- In line 30: 'Access Denied. Possibly invalid ticket ID'
- In line 45: 'Access Denied. Possibly invalid ticket ID'
Besides that, in \include\client\viewticket.inc.php file, there is only one occurance about sentence that contains of "Access denied" phrase:
- In line 4: 'Access denied'
So, from your description at your post, you said that the message is only "Access denied".
If we look at the view.php file, the complete code for this is:
if(!is_object($thisclient)) die('Access denied'); //Double check again.
whereas in \include\client\viewticket.inc.php file, the complete code for this is:
if(strcasecmp($thisclient->getEmail(),$ticket->getEmail())) die('Access Denied');
My suggestion is: please re-check again the possibility things that caused generate that message regarding those code.
Also, please make sure that all osTicket script files have been uploaded to your web server to the proper directory correctly?
CMIIW.
Best regards,
Masino Sinaga