OSTicket 1.17 with Basic Authentication
Great, thanks
- Edited
KevinTheJedi
Hi,
We are confirming that the above change proposed by jens_E is also working for us.
Realized that this thread is apparently covering two separate issues. :]
Thank you!
- Edited
Yes:
And your cronJob is enabled?
You can set your log level to debug in Settings->System.
Then you can see, if the cron runs in your system log. There should be an entry for it...
- Edited
Hmmmm....
Looks like i run into another issue:
If i start the job manually i get:
###############
/home/ticketing/public_html/api/cron.php
PHP Fatal error: Abstract function osTicket\Mail\MailBoxProtocolTrait::oauth2Auth() cannot be declared private in /home/ticketing/public_html/include/class.mail.php on line 238
###############
Okay, this it already fixed for the next release.
See:
https://github.com/osTicket/osTicket/pull/6297/files
You have to change this function from private to protected.
OK. Fixed.
What i did:
1) Update to latest Version from github as described here (because of the cron job error):
https://github.com/osTicket/osTicket/issues/6295#issuecomment-1272563459
2) Edited "/include/laminas-mail/src/Protocol/Imap.php" and replaced the line 91 with code from @jens_E
Thank you!!
@jens_E @KevinTheJedi
I've updated to 1.17.1
Same error. Edited Imap.php again. No more error but mails aren't fetched!
So something has changed with 1.17.1 but not for good. :/
For now i revert to last snapshot to get it working again. But a final solution would be great.
Hi,
short update. With 1.17.2 the problem still persists:
Manual edit of Imap.php fixed it again.
Regards!
Gero