Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home3/fenicja/public_html/fenicjanie/admin/includes/functions/db.func.php on line 31

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home3/fenicja/public_html/fenicjanie/admin/includes/functions/db.func.php on line 34

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home3/fenicja/public_html/fenicjanie/admin/includes/functions/db.func.php on line 34

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home3/fenicja/public_html/fenicjanie/admin/includes/functions/db.func.php on line 35

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home3/fenicja/public_html/fenicjanie/admin/includes/functions/db.func.php on line 35

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home3/fenicja/public_html/fenicjanie/admin/includes/functions/db.func.php on line 54

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home3/fenicja/public_html/fenicjanie/admin/includes/functions/db.func.php on line 54
-------- DB ERROR ERRNO: 2002 --------

 ERROR: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

 LINE: 41

 FILE:/home3/fenicja/public_html/fenicjanie/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
				fenic_struktura s 
				LEFT OUTER JOIN fenic_struktura_frame AS f ON (s.page_ID = f.page_ID) 
				LEFT OUTER JOIN fenic_site_moduly AS m ON (m.site_modul_ID = f.site_modul_ID) 
				LEFT OUTER JOIN fenic_site_submoduly AS sm ON (m.site_modul_ID = sm.site_modul_ID AND sm.submodul_ID = f.submodul_ID) 
			WHERE 
				s.page_ID = 5 AND 
				s.lang LIKE "pl" 
			ORDER BY 
				f.in_column, f.el_order ASC

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