🎉 We got a new, shiny ✨ Weekly Top Seller Badge 🏆 and we're very happy 😄! Check it out on 🚀 CodeCanyon  

Header background

Error debugging or troubleshooting in RISE CRM

cijagani

Written by cijagani

Last updated

How do I enable an error log?

If you get any errors 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 the \writable\logs\ directory.

Note: Once you've completed the debugging, please remember to revert the settings back. Otherwise it'll create unnecessary logs in your server and waste spaces.

  • To revert the error log settings, open \app\Config\Logger.php line #41 and change the line to:

   public $threshold = 0;

How do I enable development mode?

If you would like to see the errors, you can enable the development mode. It's not recommended in production.

  • Create a.env in the root of your directory and write the following content:

  CI_ENVIRONMENT = development

Note: Once you've completed the debugging, and you don't want the development mode, just delete .env file;

We uses cookies to ensure you get the best experience on our website.