X

How to fix Codeigniter internal server 500 error?

Make sure your index.php ENVIRONMENT is defined as ‘development’.


// in index.php, around line 58.

	define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
	//define('ENVIRONMENT', 'production');

 

This will help to throw out error messages for your to debug the issues.

Bad Joe: