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=98016 and a.id_rider=r.id_rider and (profil_public=1 or r.session='58f5f9dcb3bf95da407c7e46451b5863') order by order_date desc
Lost connection to MySQL server during query