Erreur SQL !
select *, date_format(a.date,'%d/%m/%Y') as vdate, a.date as order_date from sessions a, riders r where id_session=229297 and a.id_rider=r.id_rider and (profil_public=1 or r.session='52465c601def589d7b8c932300cd03a9') order by order_date desc
Lost connection to MySQL server during query