SELECT pages.id as id,
							pages_text.name as title,
							pages_text.text as text, field1, field2, text_2, text_3
					FROM pages INNER JOIN pages_text  
					ON pages.id = pages_text.page_id
					WHERE pages_text.slug = 'referencii'
					AND pages_text.language_id = 
					

Too many connections

file - /home/partnerjspbg/public_html/application/controllers/pages.php
line - 51