Welcome Guest, Not a member yet? Register   Sign In
How to gracefully degrade SQL errors
#2

I found the answer.  For those who also encounter this problem, you need to change 'development' to 'production' for the environment at the top of your index.php page.  

PHP Code:
*---------------------------------------------------------------
 * 
APPLICATION ENVIRONMENT
 
*---------------------------------------------------------------
 *
 * 
You can load different configurations depending on your
 
current environmentSetting the environment also influences
 
things like logging and error reporting.
 *
 * 
This can be set to anythingbut default usage is:
 *
 * 
    development
 
    testing
 
    production
 
*
 * 
NOTE: If you change thesealso change the error_reporting() code below
 
*/
    
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production'); 
Reply


Messages In This Thread
RE: How to gracefully degrade SQL errors - by colin147 - 12-17-2017, 05:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB