Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

Enable error log (for v5.3.1 and earlier versions)

Author: Edward Hardin Reference Number: AA-00544 Views: 13886 Last Updated: 11/22/2010 10:51 AM 0 Rating/ Voters

Old article

This article applies to v5.2.0 - v5.3.1 versions of KMP. If you're using v5.4 or higher, please follow the most updated guide.

To enable error log in KMP, you need to open the admin/application/config/config.php file and find the following line:

$config['log_threshold'] = 0;

and turn log_threshold on

$config['log_threshold'] = 1;

After that, run the function that seems to be broken - press a faulty button, click on a menu item, etc.

A log file will be generated in the admin/tmp directory. Its name will include current date and ".log" extension.

If you cannot see the log file, there could be several reasons:

  • There are no PHP/MySQL errors to be logged. You can try to set log_treshold to 2 or 3, and try again. Please note that in these modes it generates lots of output besides errors.
  • KMP is unable to create the log file. Please check write permissions to the admin/tmp folder. You can also try to change log_treshold  to 4 and click something in KMP. In this mode, it writes numerous records to the log file, so if you still cannot see a log file, it is 100% write permissions issue.

Custom Fields
This article applies to the following versions of Knowledgebase Manager Pro:5.2.1, 5.2.2, 5.3.*