Welcome Guest, Not a member yet? Register   Sign In
Help with displaying error messages
#1

[eluser]nydeveloper[/eluser]
I made some changes to a very large model file, and didn't back the original up first (stupid, I know)...

At this point I'm getting a blank page (in Firefox) or a server error (in Chrome) when trying to load what were several previously working functions within this model.

How do I get some relevant PHP error messages to display?

Here are some code snippets from my configuration files:

index.php


Code:
/*
*---------------------------------------------------------------
* PHP ERROR REPORTING LEVEL
*---------------------------------------------------------------
*
* By default CI runs with error reporting set to ALL.  For security
* reasons you are encouraged to change this to 0 when your site goes live.
* For more info visit:  http://www.php.net/error_reporting
*
*/
error_reporting(E_ALL);



config.php

|--------------------------------------------------------------------------
Code:
| Error Logging Threshold
|--------------------------------------------------------------------------
|
| If you have enabled error logging, you can set an error threshold to
| determine what gets logged. Threshold options are:
| You can enable error logging by setting a threshold over zero. The
| threshold determines what gets logged. Threshold options are:
|
| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
| your log files will fill up very fast.
|
*/
$config['log_threshold'] = 4;


My log file output is pretty much useless. Any ideas here are appreciated.


Messages In This Thread
Help with displaying error messages - by El Forum - 07-19-2012, 08:46 PM
Help with displaying error messages - by El Forum - 07-19-2012, 11:12 PM
Help with displaying error messages - by El Forum - 07-20-2012, 08:01 AM
Help with displaying error messages - by El Forum - 07-23-2012, 10:06 AM
Help with displaying error messages - by El Forum - 07-23-2012, 10:17 AM
Help with displaying error messages - by El Forum - 07-23-2012, 10:20 AM
Help with displaying error messages - by El Forum - 07-23-2012, 10:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB