The log: Sep 29 19:48:45 symfony [info] {sfDoctrine Query} executeQuery : SELECT COUNT(DISTINCT g.id) AS num_results, COUNT(g2.gallery_id) AS g2__0 FROM gallery g LEFT JOIN gallery_picture g2 ON g.id = g2.gallery_id GROUP BY g2.gallery_id Sep 29 19:48:45 symfony [info] {sfDoctrine Query} executeQuery : SELECT DISTINCT g3.id FROM gallery g3 GROUP BY g4.gallery_id LIMIT 5 Sep 29 19:48:45 symfony [err] {Doctrine_Connection_Mysql_Exception} SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g4.gallery_id' in 'group statement'
Thanks Bertrand Le 29 sept. 08 à 19:34, Jonathan Wage a écrit : > You will need to use mysql query logging or the doctrine connection > profiler to view the sql it executes. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---