contao/import — Issue #3122: plötzliches Problem / Could not connect to database
Author: importer
Created: 2011-11-29 20:55:50+00:00
State: open
Labels: Defect, frontend, Invalid

Hallo,
gestern habe beim Arbeiten im contao-backend plötzlich nur noch eine fehlermeldung beim aufrufen des frontends oder backends bekommen. Ich habe lediglich ein Artikel einstellen wollen und mit einem mal war es mir nicht mehr möglich irgendwas zu erreichen.

ich wurde aufgefordert
$GLOBALS['TL_CONFIG']['displayErrors'] = true;
in die localconfig datei zu pasten.

daraufhin bekomme ich folgende fehlermeldung:

Fatal error: Uncaught exception Exception with message Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2)) thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
#0 /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php(136): Database->__construct()
#1 [internal function]: Database::getInstance()
#2 /homepages/2/d304990522/htdocs/contao/system/libraries/System.php(147): call_user_func(Array)
#3 /homepages/2/d304990522/htdocs/contao/system/libraries/Model.php(86): System->import('Database')
#4 /homepages/2/d304990522/htdocs/contao/system/modules/frontend/FrontendUser.php(91): Model->__construct()
#5 /homepages/2/d304990522/htdocs/contao/system/modules/frontend/FrontendUser.php(173): FrontendUser->__construct()
#6 [internal function]: FrontendUser::getInstance()
#7 /homepages/2/d304990522/htdocs/contao/system/libraries/System.php(147): call_user_func(Array)
#8 /homepages/2/d304990522/htdocs/contao/index.php(59): System->import('FrontendUser', 'User')
#9 /homepages/2/d304990522/htdocs/contao/index.php(332): Index->__construct()
#10 {main}

der errorlog sagt folgendes:
[01-Jun-2011 21:07:30] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'ce_flash_size' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, ce_flash_size, com_order, com_template, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, '200', 'ascending', 'com_default', 16, 256, 0))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 642
[01-Jun-2011 21:07:35] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'ce_flash_size' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, ce_flash_size, com_order, com_template, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, '200', 'ascending', 'com_default', 16, 256, 0))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 642
[01-Jun-2011 21:07:40] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'ce_flash_size' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, ce_flash_size, com_order, com_template, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, '200', 'ascending', 'com_default', 16, 64, 0))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 642
[01-Jun-2011 21:07:56] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Unknown column 'ce_flash_size' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, ce_flash_size, com_order, com_template, pid, sorting, tstamp) VALUES ('text', 'ascending', 'start', 4, '200', 'ascending', 'com_default', 16, 256, 0))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 642
[01-Jun-2011 21:09:38] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:09:39] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:09:57] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:10:00] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:10:01] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:10:41] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:10:45] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:11:56] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:12:58] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:13:00] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:13:13] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:13:44] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:13:51] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:13:53] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78
[01-Jun-2011 21:13:53] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/2/d304990522/htdocs/contao/system/libraries/Database.php on line 78

Hilfe!

--- _Originally created by thomas_korf on June 2nd, 2011, at 10:31am (ID 3122)_