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

Missing fileinfo php extension on SLES/OpenSUSE 15+ #4503

Closed
knbrende opened this issue Aug 5, 2021 · 3 comments
Closed

Missing fileinfo php extension on SLES/OpenSUSE 15+ #4503

knbrende opened this issue Aug 5, 2021 · 3 comments
Labels
area/documentation Affects end-user or developer help bug Something isn't working
Milestone

Comments

@knbrende
Copy link

knbrende commented Aug 5, 2021

Describe the bug

Fontawesome icons arent't displayed correctly

To Reproduce

Open Configuration -> Access Control -> Select a random role

or

Press any safe button -> the alert to confirm the change will have the same problem

Expected behavior

I guess a checkmark or a cross in the case of a failure should be visible

Screenshots

image

image

Developer Tools Chrome:
image

Opening Link to fa-solid-900.woff2:
image

Your Environment

Include as many relevant details about the environment you experienced the problem in

  • Icinga Web 2 version and modules (System - About): 2.9.2
  • Web browser used: Chrome 92, Firefox 90.0.2, Edge 92
  • Icinga 2 version used (icinga2 --version): 2.13.0-1
  • PHP version used (php --version): 7.4.6
  • Server operating system and version: SLES 15 SP3

Additional context

I already deleted the entire icingaweb2 directory and cloned the latest git version -> still not working.

@nilmerg
Copy link
Member

nilmerg commented Aug 5, 2021

Hi,

install the fileinfo extension for PHP and it should work.

@nilmerg nilmerg added area/documentation Affects end-user or developer help bug Something isn't working labels Aug 5, 2021
@knbrende
Copy link
Author

knbrende commented Aug 5, 2021

You were right: I installed the extension and the icons are shown properly now.

Did I miss this part in the docs?

@nilmerg
Copy link
Member

nilmerg commented Aug 5, 2021

Nope, it's missing.

@nilmerg nilmerg added this to the 2.9.3 milestone Aug 9, 2021
@nilmerg nilmerg closed this as completed in 576833e Aug 9, 2021
@nilmerg nilmerg changed the title Call to undefined function Icinga\Web\Controller\mime_content_type() Missing fileinfo php extension on SLES/OpenSUSE 15+ Aug 9, 2021
nilmerg added a commit that referenced this issue Aug 10, 2021
fixes #4503

(cherry picked from commit 576833e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Affects end-user or developer help bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants