Error in query: SELECT * FROM pages, sections WHERE page_section=section_id AND page_id='847' . Too many connections