Part of the EllisLab Network
   
 
Why i cant see errors messages?
Posted: 09 July 2008 11:14 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  225
Joined  06-04-2007

Hi, i want to know why i cant see php errors , just CI errors

i need to do some settings?

Thanks

 Signature 

http://www.asinox.net
CodeIgniter code and more.

Profile
 
 
Posted: 10 July 2008 08:34 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  3097
Joined  01-07-2008

CI registers it’s own error handler.  So you are seeing PHP errors.  They just have some pretty html around them.

If you want sytnax errors and such, make sure display_errors is turned on.  Adding this to your index.php file works on a lot of setups:

ini_set('display_errors'1); 
 Signature 
Profile
MSG
 
 
Posted: 10 July 2008 10:54 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  225
Joined  06-04-2007

Thanks again smile

 Signature 

http://www.asinox.net
CodeIgniter code and more.

Profile