\hypertarget{__000_8debug_8php}{\section{Riferimenti per il file \-\_\-src/\-\_\-config/\-\_\-000.debug.\-php}
\label{d9/d90/__000_8debug_8php}\index{\-\_\-src/\-\_\-config/\-\_\-000.\-debug.\-php@{\-\_\-src/\-\_\-config/\-\_\-000.\-debug.\-php}}
}


configurazioni relative al debug del sistema (corrisponde a \hyperlink{000_8debug_8php}{src/config/000.\-debug.\-php})  


\subsection*{Variabili}
\begin{DoxyCompactItemize}
\item 
\hyperlink{__000_8debug_8php_abba474b1a16e557ce057846e89891246_abba474b1a16e557ce057846e89891246}{\$cf} \mbox{[}'debug'\mbox{]}\mbox{[}'error\-Lvl'\mbox{]}\mbox{[}'report'\mbox{]} = E\-\_\-\-A\-L\-L
\begin{DoxyCompactList}\small\item\em Apache visualizzera' tutti gli errori di gravita' minore o uguale a questo. \end{DoxyCompactList}\item 
\hyperlink{__000_8debug_8php_a6566da41839bc38e9e7caa220c8d30b1_a6566da41839bc38e9e7caa220c8d30b1}{\$cf} \mbox{[}'debug'\mbox{]}\mbox{[}'error\-Lvl'\mbox{]}\mbox{[}'log'\mbox{]} = L\-O\-G\-\_\-\-D\-E\-B\-U\-G
\begin{DoxyCompactList}\small\item\em Glis\-Web loggera' su file tutti gli eventi di livello minore o uguale a questo. \end{DoxyCompactList}\item 
\hyperlink{__000_8debug_8php_a6cc2f4b35ed1579463dd5910d7dfcd37_a6cc2f4b35ed1579463dd5910d7dfcd37}{\$cf} \mbox{[}'debug'\mbox{]}\mbox{[}'error\-Lvl'\mbox{]}\mbox{[}'notify'\mbox{]} = L\-O\-G\-\_\-\-D\-E\-B\-U\-G
\begin{DoxyCompactList}\small\item\em Glis\-Web scrivera' all'inizio della pagina tutti gli eventi di livello minore o uguale a questo. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Descrizione dettagliata}
configurazioni relative al debug del sistema (corrisponde a \hyperlink{000_8debug_8php}{src/config/000.\-debug.\-php}) Per il livello di log si utilizzano le costanti standard di P\-H\-P (\href{http://it2.php.net/manual/en/function.syslog.php}{\tt http\-://it2.\-php.\-net/manual/en/function.\-syslog.\-php}\})\-:

\begin{TabularC}{3}
\hline
\rowcolor{lightgray}{\bf costante }&{\bf valore }&{\bf dettagli}\\\cline{1-3}
L\-O\-G\-\_\-\-E\-M\-E\-R\-G &0 &system is unusable \\\cline{1-3}
L\-O\-G\-\_\-\-A\-L\-E\-R\-T &1 &action must be taken immediately \\\cline{1-3}
L\-O\-G\-\_\-\-C\-R\-I\-T &2 &critical conditions \\\cline{1-3}
L\-O\-G\-\_\-\-E\-R\-R &3 &error conditions \\\cline{1-3}
L\-O\-G\-\_\-\-W\-A\-R\-N\-I\-N\-G &4 &warning conditions \\\cline{1-3}
L\-O\-G\-\_\-\-N\-O\-T\-I\-C\-E &5 &normal, but significant, condition \\\cline{1-3}
L\-O\-G\-\_\-\-I\-N\-F\-O &6 &informational message \\\cline{1-3}
L\-O\-G\-\_\-\-D\-E\-B\-U\-G &7 &debug-\/level message \\\cline{1-3}
\end{TabularC}


Per il livello di gravita' degli errori si utilizzano le costanti standard di php (\href{http://it2.php.net/manual/en/errorfunc.constants.php}{\tt http\-://it2.\-php.\-net/manual/en/errorfunc.\-constants.\-php})\-:

\begin{TabularC}{3}
\hline
\rowcolor{lightgray}{\bf costante }&{\bf valore }&{\bf dettagli}\\\cline{1-3}
E\-\_\-\-E\-R\-R\-O\-R &1 &Fatal run-\/time errors. These indicate errors that can not be recovered from, such as a memory allocation problem. Execution of the script is halted. \\\cline{1-3}
E\-\_\-\-W\-A\-R\-N\-I\-N\-G &2 &Run-\/time warnings (non-\/fatal errors). Execution of the script is not halted. \\\cline{1-3}
E\-\_\-\-P\-A\-R\-S\-E &4 &Compile-\/time parse errors. Parse errors should only be generated by the parser. \\\cline{1-3}
E\-\_\-\-N\-O\-T\-I\-C\-E &8 &Run-\/time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script. \\\cline{1-3}
E\-\_\-\-C\-O\-R\-E\-\_\-\-E\-R\-R\-O\-R &16 &Fatal errors that occur during P\-H\-P's initial startup. This is like an E\-\_\-\-E\-R\-R\-O\-R, except it is generated by the core of P\-H\-P. \\\cline{1-3}
E\-\_\-\-C\-O\-R\-E\-\_\-\-W\-A\-R\-N\-I\-N\-G &32 &Warnings (non-\/fatal errors) that occur during P\-H\-P's initial startup. This is like an E\-\_\-\-W\-A\-R\-N\-I\-N\-G, except it is generated by the core of P\-H\-P. \\\cline{1-3}
E\-\_\-\-C\-O\-M\-P\-I\-L\-E\-\_\-\-E\-R\-R\-O\-R &64 &Fatal compile-\/time errors. This is like an E\-\_\-\-E\-R\-R\-O\-R, except it is generated by the Zend Scripting Engine. \\\cline{1-3}
E\-\_\-\-C\-O\-M\-P\-I\-L\-E\-\_\-\-W\-A\-R\-N\-I\-N\-G &128 &Compile-\/time warnings (non-\/fatal errors). This is like an E\-\_\-\-W\-A\-R\-N\-I\-N\-G, except it is generated by the Zend Scripting Engine. \\\cline{1-3}
E\-\_\-\-U\-S\-E\-R\-\_\-\-E\-R\-R\-O\-R &256 &User-\/generated error message. This is like an E\-\_\-\-E\-R\-R\-O\-R, except it is generated in P\-H\-P code by using the P\-H\-P function trigger\-\_\-error(). \\\cline{1-3}
E\-\_\-\-U\-S\-E\-R\-\_\-\-W\-A\-R\-N\-I\-N\-G &512 &User-\/generated warning message. This is like an E\-\_\-\-W\-A\-R\-N\-I\-N\-G, except it is generated in P\-H\-P code by using the P\-H\-P function trigger\-\_\-error(). \\\cline{1-3}
E\-\_\-\-U\-S\-E\-R\-\_\-\-N\-O\-T\-I\-C\-E &1024 &User-\/generated notice message. This is like an E\-\_\-\-N\-O\-T\-I\-C\-E, except it is generated in P\-H\-P code by using the P\-H\-P function trigger\-\_\-error(). \\\cline{1-3}
E\-\_\-\-S\-T\-R\-I\-C\-T &2048 &Enable to have P\-H\-P suggest changes to your code which will ensure the best interoperability and forward compatibility of your code. Since P\-H\-P 5 but not included in E\-\_\-\-A\-L\-L until P\-H\-P 5.\-4.\-0 \\\cline{1-3}
E\-\_\-\-R\-E\-C\-O\-V\-E\-R\-A\-B\-L\-E\-\_\-\-E\-R\-R\-O\-R &4096 &Catchable fatal error. It indicates that a probably dangerous error occured, but did not leave the Engine in an unstable state. If the error is not caught by a user defined handle (see also set\-\_\-error\-\_\-handler()), the application aborts as it was an E\-\_\-\-E\-R\-R\-O\-R. Since P\-H\-P 5.\-2.\-0 \\\cline{1-3}
E\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D &8192 &Run-\/time notices. Enable this to receive warnings about code that will not work in future versions. Since P\-H\-P 5.\-3.\-0 \\\cline{1-3}
E\-\_\-\-U\-S\-E\-R\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D &16384 &User-\/generated warning message. This is like an E\-\_\-\-D\-E\-P\-R\-E\-C\-A\-T\-E\-D, except it is generated in P\-H\-P code by using the P\-H\-P function trigger\-\_\-error(). Since P\-H\-P 5.\-3.\-0 \\\cline{1-3}
E\-\_\-\-A\-L\-L &32767 &All errors and warnings, as supported, except of level E\-\_\-\-S\-T\-R\-I\-C\-T prior to P\-H\-P 5.\-4.\-0. 32767 in P\-H\-P 5.\-4.\-x, 30719 in P\-H\-P 5.\-3.\-x, 6143 in P\-H\-P 5.\-2.\-x, 2047 previously \\\cline{1-3}
\end{TabularC}


\begin{DoxyRefDesc}{Da fare}
\item[\hyperlink{todo__todo000002}{Da fare}]finire di sistemare il testo della documentazione 

tradurre i testi delle tabelle (o prendere la traduzione dal sito di P\-H\-P)\end{DoxyRefDesc}


\subsection{Documentazione delle variabili}
\hypertarget{__000_8debug_8php_abba474b1a16e557ce057846e89891246_abba474b1a16e557ce057846e89891246}{\index{\-\_\-000.\-debug.\-php@{\-\_\-000.\-debug.\-php}!\$cf@{\$cf}}
\index{\$cf@{\$cf}!_000.debug.php@{\-\_\-000.\-debug.\-php}}
\subsubsection[{\$cf}]{\setlength{\rightskip}{0pt plus 5cm}\$cf\mbox{[}'debug'\mbox{]}\mbox{[}'error\-Lvl'\mbox{]}\mbox{[}'report'\mbox{]} = E\-\_\-\-A\-L\-L}}\label{d9/d90/__000_8debug_8php_abba474b1a16e557ce057846e89891246_abba474b1a16e557ce057846e89891246}


Apache visualizzera' tutti gli errori di gravita' minore o uguale a questo. 

\hypertarget{__000_8debug_8php_a6566da41839bc38e9e7caa220c8d30b1_a6566da41839bc38e9e7caa220c8d30b1}{\index{\-\_\-000.\-debug.\-php@{\-\_\-000.\-debug.\-php}!\$cf@{\$cf}}
\index{\$cf@{\$cf}!_000.debug.php@{\-\_\-000.\-debug.\-php}}
\subsubsection[{\$cf}]{\setlength{\rightskip}{0pt plus 5cm}\$cf\mbox{[}'debug'\mbox{]}\mbox{[}'error\-Lvl'\mbox{]}\mbox{[}'log'\mbox{]} = L\-O\-G\-\_\-\-D\-E\-B\-U\-G}}\label{d9/d90/__000_8debug_8php_a6566da41839bc38e9e7caa220c8d30b1_a6566da41839bc38e9e7caa220c8d30b1}


Glis\-Web loggera' su file tutti gli eventi di livello minore o uguale a questo. 

\hypertarget{__000_8debug_8php_a6cc2f4b35ed1579463dd5910d7dfcd37_a6cc2f4b35ed1579463dd5910d7dfcd37}{\index{\-\_\-000.\-debug.\-php@{\-\_\-000.\-debug.\-php}!\$cf@{\$cf}}
\index{\$cf@{\$cf}!_000.debug.php@{\-\_\-000.\-debug.\-php}}
\subsubsection[{\$cf}]{\setlength{\rightskip}{0pt plus 5cm}\$cf\mbox{[}'debug'\mbox{]}\mbox{[}'error\-Lvl'\mbox{]}\mbox{[}'notify'\mbox{]} = L\-O\-G\-\_\-\-D\-E\-B\-U\-G}}\label{d9/d90/__000_8debug_8php_a6cc2f4b35ed1579463dd5910d7dfcd37_a6cc2f4b35ed1579463dd5910d7dfcd37}


Glis\-Web scrivera' all'inizio della pagina tutti gli eventi di livello minore o uguale a questo. 

