sys_errors
Purpose: Stores information about PHP warnings and fatal errors. JavaScript and PHP Notice messages are currently not logged.
Joins: users table.
Field | Type | Purpose |
---|---|---|
id | int(11) | Primary Key – auto increment. |
occurred | datetime | Datetime when the error occurred |
userID | int(11) | ID of the user who experienced the error. |
auth_user | varchar(45) | |
errtype | enum('Notice','Warning','Fatal Error','Unknown') | Category of the error |
errstr | text | The error message |
errfile | text | The file where the error occurred |
errline | int(11) | Line number where the error occurred |
fixed | datetime | Datetime when the error occurred |
php_self | text | Value of $_SERVER['PHP_SELF'] |
query_string | text | Value of $_SERVER['QUERY_STRING'] |
request_method | enum('GET','HEAD','POST','PUT','DELETE') | Calling method of the script |
paperID | mediumint(8) unsigned | the paperID from the papers table |
post_data | text | data posted to the script |
variables | longtext | List of variables passed through by the error handler |
backtrace | longtext |
See also: Automatic Error Handling