Dear All,
I am totally new to OSTicket development and just registered with this FOrum and this is my first post. My apology, if I post something has been discussed before :).
My issue is that when I try to logout I get a fatal error however, once I click on the URL http://localhost/sites/newsupport/scp/logout.php(http://localhost/sites/newsupport/scp/logout.php) it prompts me to the login page which is fine.
Here is the message I get:
Fatal error: Call to a member function translate() on a non-object in C:\xampp\htdocs\sites\newsupport\scp\login.php on line 26
Here is the top lines of that page:
$msg=$_SESSION;
$cfg=$_SESSION;
$trl=$_SESSION;
$msg=$msg?$msg:$trl->translate('TEXT_AUTHENTICATION_REQUIRED');##error line
$labelUsername = $trl->translate('LABEL_USERNAME');
$labelPassword = $trl->translate('LABEL_PASSWORD');
I forgot to mention that I am working on a multilanguage support for the OSTicket. I used the Dutch package I found a reference to it in one of the forum.
Please let me know if I am missing something and again this is my first post in this forum.
Regards,