Part of the EllisLab Network
   
 
Why i cant see errors messages?
Posted: 09 July 2008 10:14 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  229
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 07:34 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRank
Total Posts:  2827
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 09:54 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  229
Joined  06-04-2007

Thanks again smile

 Signature 

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

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120201 Total Logged-in Users: 66
Total Topics: 126330 Total Anonymous Users: 3
Total Replies: 664389 Total Guests: 487
Total Posts: 790719    
Members ( View Memberlist )