SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bmm1213.staffeln' doesn't existSELECT staffel.*, REPLACE(REPLACE(staffel.staffel, " ",""), ".","") AS staff, LOWER(REPLACE(REPLACE(Liga.liga, " ",""), ".","")) AS league FROM (SELECT * FROM bmm1213.staffeln UNION SELECT * FROM bmm.staffeln) staffel JOIN (SELECT * FROM bmm1213.ligen UNION SELECT * FROM bmm.ligen) Liga ON (staffel.Liga) IN ((Liga.ID)) ORDER BY LOCATE(league, ?)=0, LOCATE(league, ?), LENGTH(REPLACE(REPLACE(?, league, ""), LOWER(staff), "")), LOCATE(staff, REPLACE(?, league, "")) DESC, staffel.IDArray ( [0] => klasse13 [1] => klasse13 [2] => klasse13 [3] => klasse13 ) #0 Bdaw_Pdo::abfrage(SELECT staffel.*, REPLACE(REPLACE(staffel.staffel, " ",""), ".","") AS staff, LOWER(REPLACE(REPLACE(Liga.liga, " ",""), ".","")) AS league FROM (SELECT * FROM bmm1213.staffeln UNION SELECT * FROM bmm.staffeln) staffel JOIN (SELECT * FROM bmm1213.ligen UNION SELECT * FROM bmm.ligen) Liga ON (staffel.Liga) IN ((Liga.ID)) ORDER BY LOCATE(league, ?)=0, LOCATE(league, ?), LENGTH(REPLACE(REPLACE(?, league, ""), LOWER(staff), "")), LOCATE(staff, REPLACE(?, league, "")) DESC, staffel.ID, Array ([0] => klasse13,[1] => klasse13,[2] => klasse13,[3] => klasse13)) called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/classes/bdaw/sql/query.php:71] #1 Bdaw_Sql_Query->execute(Array ([0] => klasse13,[1] => klasse13,[2] => klasse13,[3] => klasse13)) called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/classes/dao/abstract.php:212] #2 DAO_Abstract::fetchOne(Bdaw_Sql_Select Object ([*prefix] => staffel.,[*distinct] => ,[*group] => ,[*order] => ORDER BY LOCATE(league, ?)=0, LOCATE(league, ?), LENGTH(REPLACE(REPLACE(?, league, ""), LOWER(staff), "")), LOCATE(staff, REPLACE(?, league, "")) DESC, staffel.ID,[*joins] => Array ([0] => Bdaw_Sql_Join Object ([joinColumns] => Array ([0] => Liga),[foreignColumns] => Array ([0] => ID),[*prefix] => Liga.,[*distinct] => ,[*group] => ,[*order] => ,[*joins] => Array (),[*leftJoins] => Array (),[*subJoins] => Array (),[*allJoins] => Array (),[*alias] => Liga,[*selectColumns] => Array (),[*limit] => ,[*tableName] => (SELECT * FROM bmm1213.ligen UNION SELECT * FROM bmm.ligen),[*conditions] => Array (),[*in] => Array (),[*inColumns] => Array (),[*now] => ,[*subs] => Array ())),[*leftJoins] => Array (),[*subJoins] => Array (),[*allJoins] => Array ([0] => Bdaw_Sql_Join Object ([joinColumns] => Array ([0] => Liga),[foreignColumns] => Array ([0] => ID),[*prefix] => Liga.,[*distinct] => ,[*group] => ,[*order] => ,[*joins] => Array (),[*leftJoins] => Array (),[*subJoins] => Array (),[*allJoins] => Array (),[*alias] => Liga,[*selectColumns] => Array (),[*limit] => ,[*tableName] => (SELECT * FROM bmm1213.ligen UNION SELECT * FROM bmm.ligen),[*conditions] => Array (),[*in] => Array (),[*inColumns] => Array (),[*now] => ,[*subs] => Array ())),[*alias] => staffel,[*selectColumns] => Array ([0] => *,[staff] => REPLACE(REPLACE(staffel.staffel, " ",""), ".",""),[league] => LOWER(REPLACE(REPLACE(Liga.liga, " ",""), ".",""))),[*limit] => ,[*tableName] => (SELECT * FROM bmm1213.staffeln UNION SELECT * FROM bmm.staffeln),[*conditions] => Array (),[*in] => Array (),[*inColumns] => Array (),[*now] => ,[*subs] => Array ()), Array ([0] => klasse13,[1] => klasse13,[2] => klasse13,[3] => klasse13)) called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/classes/dao/id.php:53] #3 DAO_Staffel::prefetchOne(Bdaw_Sql_Select Object ([*prefix] => staffel.,[*distinct] => ,[*group] => ,[*order] => ORDER BY LOCATE(league, ?)=0, LOCATE(league, ?), LENGTH(REPLACE(REPLACE(?, league, ""), LOWER(staff), "")), LOCATE(staff, REPLACE(?, league, "")) DESC, staffel.ID,[*joins] => Array ([0] => Bdaw_Sql_Join Object ([joinColumns] => Array ([0] => Liga),[foreignColumns] => Array ([0] => ID),[*prefix] => Liga.,[*distinct] => ,[*group] => ,[*order] => ,[*joins] => Array (),[*leftJoins] => Array (),[*subJoins] => Array (),[*allJoins] => Array (),[*alias] => Liga,[*selectColumns] => Array (),[*limit] => ,[*tableName] => (SELECT * FROM bmm1213.ligen UNION SELECT * FROM bmm.ligen),[*conditions] => Array (),[*in] => Array (),[*inColumns] => Array (),[*now] => ,[*subs] => Array ())),[*leftJoins] => Array (),[*subJoins] => Array (),[*allJoins] => Array ([0] => Bdaw_Sql_Join Object ([joinColumns] => Array ([0] => Liga),[foreignColumns] => Array ([0] => ID),[*prefix] => Liga.,[*distinct] => ,[*group] => ,[*order] => ,[*joins] => Array (),[*leftJoins] => Array (),[*subJoins] => Array (),[*allJoins] => Array (),[*alias] => Liga,[*selectColumns] => Array (),[*limit] => ,[*tableName] => (SELECT * FROM bmm1213.ligen UNION SELECT * FROM bmm.ligen),[*conditions] => Array (),[*in] => Array (),[*inColumns] => Array (),[*now] => ,[*subs] => Array ())),[*alias] => staffel,[*selectColumns] => Array ([0] => *,[staff] => REPLACE(REPLACE(staffel.staffel, " ",""), ".",""),[league] => LOWER(REPLACE(REPLACE(Liga.liga, " ",""), ".",""))),[*limit] => ,[*tableName] => (SELECT * FROM bmm1213.staffeln UNION SELECT * FROM bmm.staffeln),[*conditions] => Array (),[*in] => Array (),[*inColumns] => Array (),[*now] => ,[*subs] => Array ()), Array ([0] => klasse13,[1] => klasse13,[2] => klasse13,[3] => klasse13)) called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/classes/dao/staffel.php:29] #4 DAO_Staffel::suche(klasse13) called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/classes/bmm/status.php:69] #5 Bmm_Status->fetchStaffel() called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/classes/controller/bmm.php:142] #6 Controller_Bmm->init() called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/classes/controller/bmm.php:115] #7 Controller_Bmm->dispatch() called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/classes/bootstrap.php:64] #8 Bootstrap->__construct(bmm, Controller_Bmm) called at [/var/customers/webs/bdaw/mattzug.de/bmm/php/bmm.php:5]