-------- DB ERROR ERRNO: 1135 --------

 ERROR: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

 LINE: 137

 FILE:/var/www/joga-joga.pl/admin/includes/functions/db.func.php

 QUERY:

 
			SELECT 
				s.name, s.alternate_name, s.url_title, s.meta_title, s.meta_keywords, s.meta_desc, s.access, s.place_in, s.template, s.obiekt_ID, s.start_page, s.place_on_start_page, s.stat, s.content, 
				f.in_column, f.el_order,  
				m.modul_name, 
				s.name, s.alternate_name, s.url_title, s.meta_title, s.meta_keywords, s.meta_desc, s.access, s.place_in, s.template, s.obiekt_ID, s.start_page, s.place_on_start_page, s.stat, 
				f.in_column, f.el_order, 
				m.modul_name, 
				( CASE 
					WHEN sm.submodul_name IS NULL 
						THEN f.submodul_ID 
						ELSE sm.submodul_name 
					END  
				) AS submodul_name, 
				( CASE 
					WHEN sm.submodul_ID IS NULL 
						THEN f.submodul_ID 
						ELSE sm.submodul_ID 
					END  
				) AS submodul_ID  
			FROM
				joga_struktura s 
				LEFT OUTER JOIN joga_struktura_frame AS f ON (s.page_ID = f.page_ID) 
				LEFT OUTER JOIN joga_site_moduly AS m ON (m.site_modul_ID = f.site_modul_ID) 
				LEFT OUTER JOIN joga_site_submoduly AS sm ON (m.site_modul_ID = sm.site_modul_ID AND sm.submodul_ID = f.submodul_ID) 
			WHERE 
				s.page_ID = 9 AND 
				s.lang LIKE "pl" AND 
				s.status = 1
			ORDER BY 
				f.in_column, f.el_order ASC

-------- DB ERROR END --------