• Home
  • Create Plugins
  • Contact Us
  • Demo
    Installation & MaintenancePersonalizationSettingsClient ManagementInvoices & PaymentsProjects & TasksTeam & CollaborationProductivity ToolsSales & ServicesPluginsFAQChange logs
  1. Docs
  2. Installation & Maintenance

Error debugging and troubleshooting

How to enable error log?

If you get any error or want to debug anything, then enable the error log.

  • Open \app\Config\Logger.php line #41 and change the line to: public $threshold = 5;
  • Do the things where you got the error or what you want to check. Then find the log in \writable\logs\ directory.
  • After solving the issue, you can revert the error log settings and set the $threshold = 0 again.


How to enable Development mode?

Sometimes, you may not get error logs in the log file. If you would like to see the errors, you can enable the development mode. It's not recommended in production. To enable the development mode, please follow this: 

  • Create a .env file in the root directory beside the app folder. Add the following content on the .env file:
CI_ENVIRONMENT = development


Note: Once you've completed the debugging, and if you don't want the development mode, just delete .env file. 
Was this article helpful? Yes No
How can we improve this article?
© 2026 Fairsketch
Home 3rd Party Plugins Get Support Buy Now

Delete?

Are you sure? You won't be able to undo this action!
To do