Re: SQL Error has occurred... |
Wed, 20 April 2011 22:04 |
|
anthony783 wrote:When I go to core.inc at 219, all I see is the code telling me that there's an error. There is no logging being done:
These errors, in fact, are logged!
You will see them in the Error Log Viewer.
EDIT: If you've enabled the syslog.plugin, check your system's error log.
|
|
SQL Error has occurred... |
Wed, 20 April 2011 15:58 |
|
I am getting periodic "SQL Error has occurred" errors on my forum. I ran the consistency check and table optimizer which has reduced the number of times I"m getting the error but still not totally gone.
Error screenshot is attached.
When I go to core.inc at 219, all I see is the code telling me that there's an error. There is no logging being done:
// ACP may try to catch DB errors, e.g. temp table check in admglobal.php.
throw new Exception($error_msg);
} elseif (defined('forum_debug')) { // Debug mode.
echo '<hr>'. $error_msg .'<hr>';
} else {
trigger_error('SQL Error has occurred, please contact the <a href="mailto:'. $GLOBALS['ADMIN_EMAIL'] .'?subject=SQL%20Error">administrator</a> of the forum and have them review the forum's SQL query log', E_USER_ERROR);
Any ideas on what the issue is or where I can go to find out?
-
Attachment: error.png
(Size: 28.24KB, Downloaded 965 times)
|
|