Fatal Error and Uncaught Exception during install #8786
Labels
Area: Installation
Issues & PRs related to the installation of the application
Priority:Moderate
Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
If in a non installed instance of SuiteCRM you go to
index.php
you will be re-directed to the installation page:install.php
That's great, but in the log you will have anUncaught Exception
:Expected Behavior
No
Fatal Errors
andUncaught Exceptions
in PHP log ;-)Actual Behavior
We have an ugly
Fatal Error
andUncaught Exception
in PHP logPossible Fix
The code that throws the exception is in
include/entryPoint.php
:This exception is thrown after a
header()
so execution continues on its way redirecting you to the installation, so the message in the exception"SuiteCRM is not installed. Entry point needs an installed SuiteCRM, please install first."
is useless, so may be we can remove that line:Steps to Reproduce
index.php
in a non installed SuiteCRM instanceContext
Your Environment
The text was updated successfully, but these errors were encountered: