How to enable error messages in FiNIMS?

Documentation / FAQ /

 

By default, error messages are disabled in FiNIMS. This is why whenever an error occurs, the system shows a generic 500 error message. The environment in FiNIMS is set to production mode by default to ensure stability and security.

If you want to view detailed error messages for debugging, you need to switch the environment from production to development.

Steps:

  1. Open the \index.php file from your installation folder in a code editor.

  2. Find the following line:

     
    define('ENVIRONMENT', 'production');
  3. Change it to:

     
    define('ENVIRONMENT', 'development');

Now FiNIMS will display detailed error messages.
⚠️ Please note: In development mode, you may see errors and warnings. Always switch back to production after debugging to maintain security and performance.