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