2p2r / velobs_web

Application web permettant aux cyclistes de signaler les problèmes sur les aménagements cyclables.
GNU General Public License v3.0
22 stars 14 forks source link

error while creating an observation sent by email from time to time #194

Closed gerald2545 closed 5 years ago

gerald2545 commented 5 years ago

email content :

Sujet : [VelObs] Erreur méthode createPublicPoi

Mon, 19 Nov 2018 21:45:00 +0100

Sujet : [VelObs] Erreur méthode createPublicPoi

Mon, 19 Nov 2018 21:45:00 +0100 Erreur = Erreur lors du traitement de la photo. Repere : Piste le long de l\'AFPA Mail : xxx Tel : xxx Rue : AFPA Description : La piste n\'est pas du tout éclairée (voir photo prise à 18h30) sachant qu\'elle est utilisée à la fois par des piétons (étudiant INP) et des cyclistes. Dans le noir total une collision piéton cycliste peut arriver à tout moment. Proposition : Aménagement d\'un éclairage par énergie solaire. Nom : xxx Latitude : 43.556162985226 Longitude : 1.4973205944073 Categorie : 2

gerald2545 commented 5 years ago

when adding a picture to a new observation I get the error message today : image

Another person told me yesterdy that he had the problem : he believed his picture was too heavy (7Mo). Mine is 3Mo...

gerald2545 commented 5 years ago

log of velobs : image

gerald2545 commented 5 years ago

max_upload_filesize was set to 2MB, and max_post_size was 8MB added .htaccess file setting max_upload_filesize to 8MB > no more problem.