- Affected App
- WoltLab Suite Filebase
98% of the time such things are caused by internal server issues. However, 2% of the time its an underlying issue with code. The fact that I get this instantly (less than 1 second) makes me suspect code. This happens anytime you move an item to the trash or attempt to delete. Trash completes, but delete does not.
PHP
WCF::destruct() Unhandled exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
#0 /public_html/wcf/lib/data/DatabaseObjectEditor.class.php(68): wcf\system\database\Database->prepareStatement('UPDATE\twcf1_ses...')
#1 /public_html/wcf/lib/data/acp/session/ACPSessionEditor.class.php(42): wcf\data\DatabaseObjectEditor->update(Array)
#2 /public_html/wcf/lib/system/session/SessionHandler.class.php(857): wcf\data\acp\session\ACPSessionEditor->update(Array)
#3 /public_html/wcf/lib/system/WCF.class.php(175): wcf\system\session\SessionHandler->update()
#4 [internal function]: wcf\system\WCF::destruct()
#5 {main}
Display More
edit: Above is what was displayed in an overlay. Below is the full error log in AdminCP.
PHP
Thu, 03 Sep 2015 15:03:50 +0000
Message: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
File: /public_html/wcf/lib/system/database/Database.class.php (231)
PHP version: 5.6.12
WCF version: 2.1.6 (Typhoon)
Request URI: /filebase/index.php?ajax-proxy/&
Referrer: https://woltlabdev.com/filebase/file/1-test-1/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36
Information: ""
Stacktrace:
#0 /public_html/wcf/lib/data/language/LanguageEditor.class.php(70): wcf\system\database\Database->prepareStatement('SELECT\tlanguage...')
#1 /public_html/wcf/lib/data/language/LanguageEditor.class.php(52): wcf\data\language\LanguageEditor->writeLanguageFiles(Array)
#2 /public_html/wcf/lib/data/language/Language.class.php(161): wcf\data\language\LanguageEditor->updateCategory(Object(wcf\data\language\category\LanguageCategory))
#3 /public_html/wcf/lib/data/language/Language.class.php(97): wcf\data\language\Language->loadCategory('wcf.ajax')
#4 /public_html/wcf/lib/system/exception/AJAXException.class.php(110): wcf\data\language\Language->get('wcf.ajax.error....')
#5 /public_html/wcf/lib/action/AJAXInvokeAction.class.php(169): wcf\system\exception\AJAXException->__construct('SQLSTATE[HY000]...', 503, '#0 /home/qvkgaf...', Array, 'da122da85c054eb...')
#6 /public_html/wcf/lib/action/AJAXInvokeAction.class.php(99): wcf\action\AJAXInvokeAction->throwException(Object(wcf\system\database\DatabaseException))
#7 /public_html/wcf/lib/action/AbstractAction.class.php(49): wcf\action\AJAXInvokeAction->execute()
#8 /public_html/wcf/lib/action/AJAXInvokeAction.class.php(63): wcf\action\AbstractAction->__run()
#9 /public_html/wcf/lib/system/request/Request.class.php(58): wcf\action\AJAXInvokeAction->__run()
#10 /public_html/wcf/lib/system/request/RequestHandler.class.php(139): wcf\system\request\Request->execute()
#11 /public_html/filebase/index.php(10): wcf\system\request\RequestHandler->handle('filebase')
#12 {main}
Display More