Welcome Guest, Not a member yet? Register   Sign In
Need help print errors and enabling debug mode
#1

[eluser]João Ramos[/eluser]
1) I'm using Code Igniter on the Apache2 natively shipped with Mac OS, but it seems it's not printing errors at all. What do I have to do to enable proper debugging and have Code Igniter (or is it Apache? or MySQL?) print me all possible errors?

2) Is there any console.log-like solution for Code Igniter / PHP? I'm looking for something that may give me more feedback about what I'm doing (e.g. usually I check the database to see if a certain insert query was successful, instead of having something printed out on the screen like "Something happened during this loop" or "This insert query didn't work" or something like this).
#2

[eluser]Bhashkar Yadav[/eluser]
1) look into index.php of root set for ENVIRONMENT.

2) set the value of $config['log_threshold'] into application/config/config.php




Theme © iAndrew 2016 - Forum software by © MyBB