samuel toh
samuel toh

Reputation: 7076

Codeigniter display blank page and no errors

When I access my application, browser display blank page like this :

enter image description here

There is no error

My application using codeigniter

Any help much appreciated

Cheers

Upvotes: 0

Views: 2921

Answers (2)

mayconfsbrito
mayconfsbrito

Reputation: 2413

Probably your environment is not displaying errors. This can be because your php.ini configuration or because the definition of the constant ENVIRONMENT in spsubagent/index.php.

If your php.ini are configured correctly, so you 'ENVIROMENT' constant must be defined with 'development' value to display errors, because the 'production' value must hide errors.

Bad practice:

You can force the exibition of the error defining the error_reporting(E_ALL); in the construct of your controller.

Upvotes: 1

safin chacko
safin chacko

Reputation: 1390

Check your .htaccess file or replace your htaccess file with new htaccess file for codeigniter.

Upvotes: 0

Related Questions