Part of the EllisLab Network
   
 
1.51: Fatal error: Class declarations may not be nested in C:\server\xampp\htdocs\ci\system\libraries\Exceptions.php on line 27
Posted: 04 November 2006 03:21 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  99
Joined  03-16-2006

Funny,

I was having (stll do) problems that somehow, nothing is showed on screen when i have a error or bug in ons of my scripts. The logfile still produces logfiles but thats no enough for me to track the bug.

So when playing around to get some output to screen, i placed a //  inside the common.php class in the function _exception_handler like this:

if ($severity == E_STRICT)
    
{
        
//return;
    
}

Right after that it showed on screen:

Fatal error: Class declarations may not be nested in C:\server\xampp\htdocs\ci\system\libraries\Exceptions.php on line 27

So E_STRICT is not so useless as you might think.

ps running 5.02 on apache

 Signature 

——-
Marco

Profile
 
 
Posted: 04 November 2006 04:02 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
RankRankRank
Total Posts:  970
Joined  04-13-2006

starbbs, you should join us here. We don’t seem to have quite a sufficient pool of information to nail this one down. The more, the merrier.

Profile
 
 
Posted: 07 November 2006 01:46 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  99
Joined  03-16-2006

Got it..thnks

 Signature 

——-
Marco

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 719, on June 06, 2008 10:16 AM
Total Registered Members: 64452 Total Logged-in Users: 22
Total Topics: 80957 Total Anonymous Users: 0
Total Replies: 435675 Total Guests: 179
Total Posts: 516632    
Members ( View Memberlist )