A website in nginx is configured with error_log, but when there is a 500th error in the site, there is no error record in the error log file server { listen 80; server_name www.example.com; error_log logs error_example.log error; location { prox...
$con = new mysqli($servername, $username, $password, $mysqldb); $fineLog = $con->query( "SELECT * FROM `error_report` " ); while ($row = mysqli_fetch_array($fineLog)) { echo $row[ errno ]; } I don t know why this error occurred my...
function myErrorHandler($errno, $errstr, $errfile, $errline) { switch ($errno) { case E_USER_WARNING: $errno = "USER_WARNING"; break; case E_USER_NOTICE: $errno = "USER_NOTICE"; break; case E_NOTICE: $errno = &quo...
some errors are Undefined index: password The category is like this . I have added @ not to report , but it will still be available on set_error_handler. can you skip the @? ...
to put it simply, I can type the word I want to write in php and then import it into a txt file (no files will be written) will write all the time, just like log will automatically how can I do this? (non-frame type) ...
would you like to discuss how to set up a reporting mechanism in the php environment? means to be able to see on the remote machine when there are any errors. 1|x-s | Error: MANAGER_ID_NOT_STRING 1|x-s | at validateRequestManagerId ( root u-server...
Notice: Undefined property: stdClass::$xxx in Applications xxx xxx xxx xxx.php on line 35 Warning: Invalid argument supplied for foreach() in Applications xxx xxx xxx xxx.php on line 35 how can I avoid errors like this in the above ? if I can, I d ...