Quick links: Content - sections - sub sections
EN FR
Quick Search Advanced search
 
Page

  [Opened] Error handling

Posted by aeiaco on 11/12/2009 18:12

newbie question:

I am developing an application with jelix but I would like mode information about some errors in my code. I set (in defaultconfig.ini.php):

 use_error_handler = on
 ...
 [error_handling]
 messageLogFormat = "%date%\t[%code%]\t%msg%\t%file%\t%line%\n"
 logFile = error.log
 email = root@localhost
 ...
 default      = TRACE EXIT
 error        = TRACE EXIT
 ...

But nothing special happens; only the usual "Fatal error: Call to a member ..." appears.

  [Opened] Re: Error handling

Reply #1 Posted by laurentj on 11/14/2009 11:37

Hello,

the version 1.2 fix these kind of thing.

However, with the current stable release, you can have details in log files. so to see the stack traces, add the LOGFILE keyword. then you will have all details in the var/log/error.log file. If you are under mac or linux, you can open a console, and run the command tail -f error.log , so you will see all details in realtime :-)

  [Opened] Re: Error handling

Reply #2 Posted by foxmask on 12/05/2009 21:50

or open the log file with notepad++ which, when a file is modified in liev, ask you to reload it


@GitHub - Forum HaveFnuBB! powered by Jelix - Le Booster Jelix !

 
Page
  1. Error handling