Hello,

if is use the attachmentsplugin everything works fine. I can see the attachments and download them. But I found a problem: If I try to print a ticket like this:

I got a new blank page with the message:
"File not found"

After trying a lot of different configartions with the attachmentsplugin i found a errormessage in apache logfile:

`[Fri Aug 13 13:48:14.616018 2021] [php7:error] [pid 71561] [client 10.1.110.6:65430] PHP Fatal error: Uncaught Exception: No such backend registered in /var/www/html/osticket/include/class.file.php:748\nStack trace:\n#0 /var/www/html/osticket/include/class.file.php(113): FileStorageBackend::getInstance()\n#1 /var/www/html/osticket/include/class.file.php(117): AttachmentFile->open()\n#2 /var/www/html/osticket/include/class.file.php(135): AttachmentFile->sendData()\n#3 /var/www/html/osticket/include/class.pdf.php(45): AttachmentFile->getData()\n#4 [internal function]: mPDFWithLocalImages->{closure}()\n#5 /var/www/html/osticket/include/class.pdf.php(48): preg_replace_callback()\n#6 /var/www/html/osticket/include/class.pdf.php(101): mPDFWithLocalImages->WriteHtml()\n#7 /var/www/html/osticket/include/class.pdf.php(78): Ticket2PDF->_print()\n#8 /var/www/html/osticket/include/class.ticket.php(3583): Ticket2PDF->__construct()\n#9 /var/www/html/osticket/scp/tickets.php(525): Ticket->pdfExport()\n#10 {main}\n thrown in /var/www/html/osticket/include/class.file.php on line 748, referer: http://osticket.XXXXXXXX.local/scp/tickets.php?id=XXXX

`
I'm using the newest osticket at ubuntu 20.04 with default php...

Ideas?

    Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance. The more information you give us the better we will be able to assist you. Thank you.

    Environment details? (see Admin panel -> Dashboard -> Information)

    vollkommenIrrelevant [Fri Aug 13 13:48:14.616018 2021] [php7:error] [pid 71561] [client 10.1.110.6:65430] PHP Fatal error: Uncaught Exception: No such backend registered

    This is interesting. This says that the attachments on the filesystem plugin is not registered as a back end.
    Is this a recent upgrade to 1.15.3.1 or a fresh install?
    If its an upgrade did you upgrade the plugin when you upgraded the rest of the system?
    If you go to Admin panel -> Settings -> System and scroll down to Attachments Storage and Settings, what is it set to?

    Additionally I asked the Devs about this and the response I got indicated that this couple mean many different things such as a problem with the plugin, your install/db, or server setup. They recommended that a complete starting over to see if it fixes the issue.

    Write a Reply...