Hi guys,
The Problem
The problem is that I previously compressed the Attachment Inline Plugin into a .phar file which I bundled in osTicket Awesome.
For the 1.7 release I noticed that there were some small updates to that Plugin, so I obtained the latest version.
Unfortunately, I spent a bunch of time trying (unsuccessfully) to figure out how I had previously created the .phar.
Finally I decided to include Attachment Inline Plugin as an uncompressed directory.
I wish I hadn’t done that. I didn’t anticipate that this would confuse osTicket and create a mismatch in the database.
I’m sorry for the trouble!
I have now figured out how to create the .phar, and I have released osTicket Awesome for osTicket 1.17 (Revision 3) with the .phar so that other people who upgrade will avoid this issue.
But that doesn’t help you guys, or anyone other Attachment Preview users who’ve already upgraded to Revisions 1 or 2. 🙁
The problem is, even if you resolve this now, you’ll run into the same problem (but in reverse) the next time you update osTicket Awesome.
So my advice to you is…
The Solution
Disable and then Delete any instance of Attachment Inline Plugin in Admin Panel > Manage > Plugins
Then connect to your server and delete the /include/plugins/attachment_preview directory.
In its place, upload the .phar, which you can obtain here.
Then enable the plugin as normal (and don’t forget to create an instance).
And if you have any trouble, let me know!