Hi,
we have exact the same problem!
Attachments randomly missing.
We cannot reproduce it safely. Sometimes it works, sometimes not.
osTicket-Version v1.18.1 (0375576)
Server-Software Apache/2.4.29
MySQL-Version 5.7.42
PHP-Version 8.2.7
Hi,
we have exact the same problem!
Attachments randomly missing.
We cannot reproduce it safely. Sometimes it works, sometimes not.
osTicket-Version v1.18.1 (0375576)
Server-Software Apache/2.4.29
MySQL-Version 5.7.42
PHP-Version 8.2.7
@KevinTheJedi Can you tell us which logs you need and where we can find it?
Hi,
we have the same Problem as @equistango
With PHP 8.0 it works. 8.1 and 8.2 not (HTTP 500).
Occures with two instances. One of them is a fresh install!
Did you find a solution @equistango
Hi,
short update. With 1.17.2 the problem still persists:
Manual edit of Imap.php fixed it again.
Regards!
Gero
@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.
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!!
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
###############
Yes:
Unfortunately this does not work for us. After replacing Line 91 in Imap.php we can save/activate E-Mail without error but than nothing happens. Mails arent fetched... :/
A quick solution would be great....