Skip to content

Check server configuration in legacy front files #19520

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cedric-anne
Copy link
Member

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.

Description

It fixes #18149.

If the webserver is not configured correctly, it may serve GLPI front files directly, without executing them through the Symfony Kernel. In this case the autoloader will not be registered and it will probably fail with a blank 500 error page due to a class not found error.

Adding a check and display a proper error message will help GLPI administrator to fix its configuration.

image

@cedric-anne cedric-anne added this to the 11.0.0 milestone Apr 23, 2025
@cedric-anne cedric-anne requested a review from orthagh April 23, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Main v11 Class not found autoloader
1 participant