exception.CDbException Error

DimitrisFou

New Member
Hello,
I can't save a new template. I have the above error log:
2016/01/18 19:13:43 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away. The SQL statement executed was: SELECT `category`, `key`, `value`, `is_serialized` FROM `mw_option` WHERE `category` = :c.
2016/01/18 19:13:43 [error] [exception.CDbException] exception 'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/admin/web/mailingshow.net/public_html/apps/common/framework/db/CDbCommand.php:543
Stack trace:
#0 /home/admin/web/mailingshow.net/public_html/apps/common/framework/db/CDbCommand.php(396): CDbCommand->queryInternal('fetchAll', Array, Array)
#1 /home/admin/web/mailingshow.net/public_html/apps/common/components/managers/OptionsManager.php(165): CDbCommand->queryAll(true, Array)
#2 /home/admin/web/mailingshow.net/public_html/apps/common/components/managers/OptionsManager.php(73): OptionsManager->loadCategory('system.urls.sch...')
#3 /home/admin/web/mailingshow.net/public_html/apps/common/components/init/SystemInit.php(113): OptionsManager->get('system.urls.sch...', 'http')
#4 /home/admin/web/mailingshow.net/public_html/apps/common/components/init/SystemInit.php(65): SystemInit->checkAppsStoredUrls()
#5 /home/admin/web/mailingshow.net/public_html/apps/common/framework/base/CComponent.php(561): SystemInit->_runOnBeginRequest(Object(CEvent))
#6 /home/admin/web/mailingshow.net/public_html/apps/common/framework/base/CApplication.php(211): CComponent->raiseEvent('onBeginRequest', Object(CEvent))
#7 /home/admin/web/mailingshow.net/public_html/apps/common/framework/base/CApplication.php(182): CApplication->onBeginRequest(Object(CEvent))
#8 /home/admin/web/mailingshow.net/public_html/apps/init.php(219): CApplication->run()
#9 /home/admin/web/mailingshow.net/public_html/customer/index.php(18): require_once('/home/admin/web...')
#10 {main}
REQUEST_URI=/customer/extensions/email-builder/misc/template/
HTTP_REFERER=http://www.mailingshow.net/customer/extensions/email-builder/misc/template/
---
2016/01/18 19:13:43 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away. The SQL statement executed was: SELECT `category`, `key`, `value`, `is_serialized` FROM `mw_option` WHERE `category` = :c.

How I can Solve it?
Thank you
 
Top