How To Grip Errors Inwards Codeigniter?
CodeIgniter lets you lot construct error reporting into your applications using the functions such as.. show_error('message' [, int $status_code= 500 ] ) This role volition display the error message supplied to it using the next error template: application/errors/error_general.php show_404('page' [, 'log_error']) This role volition display the 404 error message supplied to it using the next error template: application/errors/error_404.php log_message('level', 'message') This role lets you lot write messages to your log files. You tin 3 degree options: error, debug in addition to info. By default, on a fix clean install, CI volition display ALL php errors of all severity. So if you lot brand a fault inwards your PHP coding, you'll encounter the errors inwards your browser.. CI uses PHP's error_reporting() role to define the degree of error reporting, in addition to you lot tin notice this inwards the principal index.php file ...