1 - Can't create/write to file '#sql_5e4_0.MYD' (Errcode: 17)

SELECT t_persos.persos_id,i_titres.titres_parent_id,i_titres.titres_libelle,concat( t_persos.persos_prenom, if ((persos_nom)<>'', concat(' ', t_persos.persos_nom, ''), ''), if ((persos_surnom)<>'', concat(' - ', t_persos.persos_surnom, ''), '') ) AS persos_libelle,concat( t_persos.persos_prenom, if ((persos_nom)<>'', concat(' ', t_persos.persos_nom, ''), ''), if ((persos_surnom)<>'', concat(' - ', t_persos.persos_surnom, ''), ''), ' (', if ( (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '1' ) where l_persos_events.persos_id = t_persos.persos_id) is not null, if ( (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '1' ) where l_persos_events.persos_id = t_persos.persos_id) = '', '?', if ( (select events_aaaa from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '1' ) where l_persos_events.persos_id = t_persos.persos_id) <>'' AND (select events_mm from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '1' ) where l_persos_events.persos_id = t_persos.persos_id) ='', CONCAT('v. ', (select events_aaaa from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '1' ) where l_persos_events.persos_id = t_persos.persos_id) ), DATE_FORMAT((select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '1' ) where l_persos_events.persos_id = t_persos.persos_id) , '%d/%m/%Y') ) ) , '?') , ' - ', if ( (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '2') where l_persos_events.persos_id = t_persos.persos_id) is not null, if ( (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '2') where l_persos_events.persos_id = t_persos.persos_id) = '', '?', if ( (select events_aaaa from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '2') where l_persos_events.persos_id = t_persos.persos_id) <>'' AND (select events_mm from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '2') where l_persos_events.persos_id = t_persos.persos_id) ='', CONCAT('v. ', (select events_aaaa from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '2') where l_persos_events.persos_id = t_persos.persos_id) ), DATE_FORMAT((select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '2') where l_persos_events.persos_id = t_persos.persos_id) , '%d/%m/%Y') ) ) , '?'), ')' ) AS nom,i_familles.familles_id,i_familles.familles_libelle AS familles_designation,if(i_familles.familles_publiee = 1 , 'Dynasties_Francaises', 'familles_histoire_de_France') AS familles_url,i_familles.familles_libelle,if ( (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '4' ) where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) is not null, if ( (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '4' ) where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) = '', '?', if ( (select events_aaaa from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '4' ) where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) )<>'' AND (select events_mm from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '4' ) where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) )='', CONCAT('v. ', (select events_aaaa from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '4' ) where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) )), DATE_FORMAT((select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '4' ) where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ), '%d/%m/%Y') ) ) , '?') AS debut,if ( (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '6') where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) is not null, if ( (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '6') where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) = '', '?', if ( (select events_aaaa from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '6') where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) <>'' AND (select events_mm from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '6') where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) ='', CONCAT('v. ', (select events_aaaa from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '6') where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) ), DATE_FORMAT((select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '6') where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) , '%d/%m/%Y') ) ) , '?') AS fin FROM t_persos JOIN l_persos_titres ON t_persos.persos_id = l_persos_titres.persos_id JOIN i_titres ON l_persos_titres.titres_id = i_titres.titres_id LEFT JOIN l_persos_familles ON t_persos.persos_id = l_persos_familles.persos_id LEFT JOIN i_familles ON l_persos_familles.familles_id = i_familles.familles_id WHERE persos_publie='1' AND (i_titres.titres_id = '230' OR i_titres.titres_parent_id = '230') ORDER BY (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '4' ) where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) ASC, (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '6') where l_persos_events.persos_id = t_persos.persos_id AND (events_externe_id = i_titres.titres_id) ) ASC, (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '1' ) where l_persos_events.persos_id = t_persos.persos_id) ASC, (select events_date from t_events LEFT JOIN l_persos_events ON (t_events.events_id = l_persos_events.events_id AND t_events.events_types_events_id = '2') where l_persos_events.persos_id = t_persos.persos_id) ASC limit 0, 30

[TEP STOP]