SQL-ERROR

This is the Core-Database class, responsible for database connections and communication between program and database.
I am sorry to inform you that I couldn't exec one of your statements, because it contains errors.
A SQL error has occured within the following SQL-Statement:

 Invalid SQL: SELECT pll_pollid,
								   pll_title,
								   pll_pollcatid,
								   pll_answercount,
								   pll_max_answers,
							       pll_needed_rank_to_vote,
								   pll_needed_rank_to_view,
								   pll_show_results,
								   pll_allow_show_results_before_vote,
								   pll_allow_comments,
								   pll_guestcount + pll_usercount AS votecount,
								   b.plc_pollcatid,
								   b.plc_name,
								   c. *,
								   SUM( d.pla_votecount ) AS total_votecount, # Total count of used answers
								   COUNT( DISTINCT e.plv_answerid ) AS user_voted_answer, # Did this user vote for this answer?
								   COUNT( DISTINCT f.plv_voteid ) AS pollvote # Did this user vote for this poll? 
							  FROM solid_poll_polls a
								LEFT JOIN solid_poll_categories b
								  ON plc_pollcatid = pll_pollcatid
								LEFT JOIN solid_poll_answers c
								  ON c.pla_pollid = pll_pollid
								LEFT JOIN solid_poll_answers d
								  ON d.pla_pollid = pll_pollid
							    LEFT JOIN solid_poll_votes e
								  ON (e.plv_ip = "54.91.159.232"
										 
									 )
							     	 AND e.plv_answerid = c.pla_answerid
							     	 AND e.plv_pollid = a.pll_pollid
								LEFT JOIN solid_poll_votes f
								  ON (f.plv_ip = "54.91.159.232"
									    
									 )
									 AND f.plv_answerid = d.pla_answerid
									 AND f.plv_pollid = pll_pollid
							  WHERE (pll_publish_date < NOW()
								      OR 
									 pll_publish_date IS NULL
									)
							    AND (pll_expire_date >= NOW()
									  OR
									 pll_expire_date IS NULL
									)
								AND (pll_max_votes = 0
									  OR
									 pll_max_votes > pll_guestcount + pll_usercount
									)
								AND pll_show_menu = 1
								AND (FIND_IN_SET("1", pll_needed_rank_to_view)
								 	   	OR
								 	 FIND_IN_SET("-1", pll_needed_rank_to_view)
								 	)
							   GROUP BY c.pla_answerid
							   ORDER BY pll_pollid DESC, c.pla_showorder ASC
						
The mySQL-Server says: Out of resources when opening file './f4u_new/solid_poll_answers.MYD' (Errcode: 24)
SQL error number: 23
SQL-Statements successfully executed before: 14 queries successfully executed
Defective Script: /var/www/fight4u.de/page/modules/poll/show_poll_menu.php (on Line 73)
Error reported by: do_query of class Solid_Database

Referer:
Date: 23.10.2014 - 03:35

Please contact the Administrator.