-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin not working on v1.16.1 #53
Comments
i can confirm it is broken in 1.16.1 |
Haven't tried it yet, are you getting an error? |
hello, yes, if enabled the ticket wont load and shows a error message that something failed
was initially unable to upgrade to 1.16.1 php 8.1, but read in the forum to disable plugins hope this can be fixed because this is the coolest plugin in osticket, real really usefull plugin |
any updates? |
I think this plugin is no longer supported |
I have managed to fix it in 1.16.1 and working. I have osTicket 1.16.1 and PHP 8.0 I had an error in the beginning after installation where it stated: Unable to enable Attachment Inline Plugin (defunct — missing) Its was simple fix: Go first and make sure in include > plugins that the folder name is: AttachmentPreviewPlugin Then in the folder locate the file: (class.AttachmentPreviewPlugin.php) So I renamed it to class.AttachmentPreviewPlugin.php which is the correct file name in the config.php Deleted in the plugins control panel the plugin and the reinstalled it, and enabled it. After following these steps you will be ok with the plugin. |
Yes, in 8.1 I think it won't work! But in 8.0 in 1.16.1 it works! Have you done also all changes after the 1.16.1 release? From my experience, after upgrading to 1.16.1 I had some issues! I reinstalled all core files, and did all changes after this release as are mentioned here! After that I reinstalled all plugins and the inline attachment started working again! I do have some plugins not working (not so important) but the most valuable to me it's now working fine! So try playing around with it! It works 10000% |
hello it would be nicer if it would also work with PHP 8.1 and some other dev assume and checks out why it is not working in 8.1. or how to turn on debug mode so the real error will be shown |
OsTicket 1.16.1 it is released for 8.0 not 8.1! I know they are working on ver 2.0 Hope that ver 1.16.2 will fix some bugs and make it even more stable! |
hello, i install today and I have php 8.0 and not working. I can't install. |
try to remove or delete and reinstall the plugin |
already did, nothing change. |
are you on php 8.0? and what osticket version? |
Ok there is a workaround on this one. public static function getInstance() { And then try again to install the plugin after this change. |
Hi All, I can also confirm it's not working on my 1.16 OSTicket install on php8.1. I've never been able to get audio files working correctly either even on older versions. Does anyone think it's worth us crowd funding a rewrite, either an official crowd fund or see if we can get the original developer on board and make some donations for their time? |
This should be working on 1.16 with PHP 8.0.x now. 1.17 works with PHP 8.1 however this plugin only works if you are ok with the default values (or ok with changing the defaults to match what you want). I'm sure someone will be able to fix this plugin in order to make it able to read it's settings again, it is just that the osTicket made significant changes to how plugins work for 1.17. |
which default, default settings of the plugin? I have not yet upgrade to 1.17 |
There is a file called config.php which has the defaults of the various settings for this plugin. It is only with 1.17 where there is trouble reading the settings. This is due to how osTicket has changed handling plugins in order to allow for multiple instances of plugins. |
Thanks for the info @perryk but I am unable to get this to work with v1.16.3 running on php 8.0.24 I wonder if it's my environment. Are you saying that the plugin works on v1.17. What has changed to allow the legacy plugin to start working again? |
I'll give it another shot with 1.16.3 but I'm pretty sure it was working fine for 1.16 for me with the most recent code changes to this plugin. It doesn't work in 1.17 for me, it will display an attachment if it below the Generally it doesn't look to be able to read the settings properly at all and this matches with other troubles with older plugins since 1.17 introduced the capability to have multiple instances of plugins. Without the most recent code changes for PHP 8.0.x I was receiving a Internal Server 500 error with a message in the apache or php logs complaining about a error from the plugin. What error or trouble do you have with 1.16.3 ? |
will 1.17 and php lower than PHP8.0 will work? |
No, OsTicket itself requires PHP 8.0.x or higher in order to run version 1.17. |
The Hide Attachment / Show attachment buttons are disappeared after 1.16. update. |
Hello,
Seems the plugin is broken on v1.16.1 since PHP version is now 8.x
The text was updated successfully, but these errors were encountered: