issue osFAQ on osTicket (v1.7-RC6)
Brought to you by:
oz-devworx
issue osFAQ on osTicket (v1.7-RC6):
When a user log on osTicket with email and ticket ID then they can not access the osFAQ
Error on web client:
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Error on the log:
PHP Fatal error: Call to a member function getClientTimeout() on a non-object in /webroot/support.example.com/include/class.usersession.php on line 121, referer: http://support.example.com/index.php
Note: the Guest User can access osFAQ very well without any problem.
Anonymous
Sorry I updated: if click on the link which the user get on their email then get the above error
http://support.examble.com/view.php?t=679626&e=xxxxb@gmail.com&a=b75740161b8bde7e74e3dd793f7a57b2
If user input email and ticket id then it OK. I think it could be the section is not valid so can not access osFAQ,
Will try and have a look into this in a few hours.
I had a brief look but wont have a chance to investigate further for another 15 hours or so.
Hi,
Sorry for the delay. It was 3am here last time I replied and I needed some sleep.
Ive attached a patch that should fix the problem. Its only a single file.
The file is packaged in its destination folder tree so it should be easy to work out where it goes.
Just incase the file OsFaqAdapter.class.php goes in /faq/include/OsFaqAdapter.class.php
Will update the osFaq uploads area with the fixed file now.
Thanks for pointing the problem out. If you have any other problems, please let me know.
Regards,
Tim Gall
Last edit: Tim Gall 2013-04-03
Hi Tim,
Thank so much your hard working. I will update this patch.
Have a nice day.
Regards,
Windy
Hi Tim,
This patch work verry well.
Thanks so much.
Regards,
Windy
Hi Windy,
Thats good. Glad I could help.
Regards,
Tim