exception 'BaseException' with message '
			SELECT 
				SQL_CALC_FOUND_ROWS
				`e`.`id`, `e`.`id_parent`, `e`.`locked`
				, `ml`.`name`,
`ml`.`slogan1_content`, `ml`.`slogan1_url`, `ml`.`slogan2_content`, `ml`.`slogan2_url`, `ml`.`contact_left`, '0' AS selected,
`img`.`filename` AS mainImageFilename,
`imgl`.`name` AS mainImageName				
			FROM `a_Element` AS e
			INNER JOIN `a_MainPageModule` AS m ON (`m`.`id_element`=`e`.`id`)
			INNER JOIN `a_MainPageModule_lang` AS ml ON (`ml`.`id_element`=`e`.`id` AND `ml`.`id_lang`='297')
			LEFT JOIN `a_Position` AS p ON (`p`.`id_element`=`e`.`id` AND `p`.`id_parent` IS NULL)

LEFT JOIN `a_RepositoryModule` AS img ON (`img`.`id_linked`=`m`.`id_element` AND `img`.`field`='imageList' AND `img`.`main`='1')
LEFT JOIN `a_RepositoryModule_lang` AS imgl ON (`imgl`.`id_element`=`img`.`id_element` AND `imgl`.`id_lang`=`ml`.`id_lang`)
			WHERE	`e`.`module` = 'MainPageModule'
			 AND `m`.`active` = '1' AND `m`.`deleted_at` IS NULL AND `e`.`id_parent` IS NULL 
			 GROUP BY `e`.`id` 
			
			ORDER BY position asc
			LIMIT 0, 20

		
#1021 Disk full (/var/tmp/#sql_628_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' in /home/atomadmin/www.emapa.pl/class/MySQL.class.php:86
Stack trace:
#0 /home/atomadmin/www.emapa.pl/class/MySQL.class.php(127): MySQL->query('\r\n\t\t\tSELECT \r\n\t...')
#1 /home/atomadmin/www.emapa.pl/class/SiteList.class.php(296): MySQL->fetchQueryResults('\r\n\t\t\tSELECT \r\n\t...', false)
#2 /home/atomadmin/www.emapa.pl/index.php(241): SiteList->elementsList(NULL, Array, false, 'MainPageModule')
#3 {main}
exception 'SmartyException' with message 'Unable to load template file 'errors/exception.html'' in /home/atomadmin/www.emapa.pl/includes/Smarty-3.1.10/libs/sysplugins/smarty_internal_templatebase.php:127
Stack trace:
#0 /home/atomadmin/www.emapa.pl/includes/Smarty-3.1.10/libs/sysplugins/smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('errors/exceptio...', NULL, NULL, NULL, true)
#1 [internal function]: Smarty_Internal_TemplateBase->display('errors/exceptio...')
#2 /home/atomadmin/www.emapa.pl/class/View.class.php(107): call_user_func_array(Array, Array)
#3 /home/atomadmin/www.emapa.pl/class/Exceptions.class.php(15): View->display('errors/exceptio...')
#4 /home/atomadmin/www.emapa.pl/index.php(320): BaseException->display()
#5 {main}