Skip to content
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 Manager: installation page remains white when certain php-lib is missing #98

Closed
ronator opened this issue Jun 9, 2016 · 1 comment
Assignees
Milestone

Comments

@ronator
Copy link

ronator commented Jun 9, 2016

I tried to install a plugin.zip over the web ui. I clicked on install and it obviously did nothing and showed me a white page (menu was still available). No error was shown. The apache/error.log was quite helpful though:

PHP Fatal error: Uncaught Error: Class 'ZipArchive' not found in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_plugins/functions_check.php:20

I use php7 so I had to install php7.0-zip (and libzip4) and after that the plugin installation worked flawlessly. I wonder if it would be possible to show such fatal php errors in the web ui if - apparently - some packages seem to be missing so that you do not need to search in the webserver logs for errors. For me, this is a minor issue, but I assume in such situations any error displayed is better than just a white, empty page.

@gillesdubois gillesdubois added this to the 2.2 milestone Jun 9, 2016
@gillesdubois gillesdubois self-assigned this Jun 9, 2016
@gillesdubois
Copy link
Member

Hi,

Fixed : a1c2d65

Thanks you very much for reporting this :)

Regards,
Gilles Dubois.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants