Closed yangqiao closed 10 years ago
Ca m'a l'air pas mal y a juste un petit truc. Je teste ça dès que je peux et je merge.
I've deleted the comment. BTW the issue #150 and #116 are the same.
I have a problem with the migration of the database (the migration file don't work on my computer).
@yangqiao You can't just edit an old migration file, you have to create a new one with a newer timestamp in the name and with your updates in it.
what's the problem? You cantry this:
Or you can change the relationships in database with phpmyadmin. tables "assos_event" "event_photo"'s foreign keys should be on a relationship "onDelete: CASCADE"
If it doesn't work , try to tell me more specifically where and what's the problem.
Qiao YANG
Université de Technologie de Compiègne
在 2014年3月20日,18:53,Corentin notifications@github.com 写道:
I have a problem with the migration of the database (the migration file don't work).
— Reply to this email directly or view it on GitHub.
Ok.. I see... Thanks!
Qiao YANG
Université de Technologie de Compiègne
在 2014年3月20日,19:00,Arthur Puyou notifications@github.com 写道:
@yangqiao You can't just edit an old migration file, you have to create a new one with a newer timestamp in the name and with your updates in it.
— Reply to this email directly or view it on GitHub.
The most important problem is that on the production server we can't drop the database.
Yes you are right . I should have thought about that :) . Thanks for reminding , I'll fix it tonight.
I've now added a migration file. If there is still any mistakes, tell me . I'm new to symfony... now I'm getting to understand a bit more about doctrine migration , thanks guys! @apuyou @Zicouto
Excuse moi de te répondre aussi tard @yangqiao . Je comprends pas trop l'utilité des exif dans le showSuccess. Quelle est l'utilité de récupérer un tableau que l'on n'affiche pas?
En fait, il y avait des codes qui voulait recupérer et afficher des infos exif de photo. Mais ils fonctionnent pas parce que ce qu'on a recuperer c'est un tableau(on peut pas afficher un tableau directement avec echo... On aura "array") et la fonction peut d'etre appliquer que sur des images "jpeg et tiff" qui contient des info exif. Donc j'ai ajouter quelques lignes pour qu'il soit fonctionne. Si on es d'accord qu'il sert à rien, on peut l'enlever( J'ai fait juste une correction, c'est des ancien codes qui voulait l'afficher).
Après avoir discuter avec @apuyou on a décidé qu'il valait mieux l'enlever. Cela va consommer pas mal de ressources pour rien.
fix the redirection problem after deleting an event, and some related gallery issues.