Hello, i'm using jpspan and I don't know why, the error
handling doesn't work:
for example: if i forgot a ';' in the server script, i
get a javascript alert but the filename and the line
number always miss.
However, I set to TRUE the JPSPAN_ERROR_DEBUG in
ErrorHandler.php:
(...)
/**
* If defined as TRUE, errors transmitted to Javascript
will include
* the PHP filename and line number where the error /
exception occurred
* By default this is switched off as it represents a
potential security leak
*/
if ( !defined('JPSPAN_ERROR_DEBUG') ) {
define ('JPSPAN_ERROR_DEBUG',TRUE);
}
(...)
Maybe someone can help me.
Best regards,
Jérémy
Logged In: YES
user_id=849068
There is a PHP ini setting that you can change to get this
information. I wonder if that could be your problem?
Check out display_errors and display_startup_errors in
http://php.net/ini_set (appendix).
Hope that helps.
JP (a different one ;-)