Laravel 5 and php display_errors

Laravel 5 do not display php errors. Fatal, Warning and even Notice are hidden, and will result in a blank page. Avoid the « blank page » syndrom You have to update your environment to « testing ». So please edit your « .env » file at the root of your project and add : APP_ENV=testing You may find some tips on varius internet forums...

août 10th, 2017 by Benoit Bonneville 

Symfony2-Doctrine2: unknown column type XXXX requested

Vous avez l’erreur suivante : [Doctrine\DBAL\DBALException] Unknown column type "mytype" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType()... Lors de l’execution de la commande : php app/console doctrine:schema:update Si vous avez mappez un « enum » en « mytype » et un deuxieme enum en...

janvier 15th, 2014 by Benoit Bonneville 

Doctrine 1.2, i18n : Column not found: 1054 Unknown column ‘h.translated_field’ in ‘field list’

Dans Doctrine 1.2, généralement sous le framework symfony 1.4. Vous utilisez i18n et vous avez l’erreur suivante : SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘h.translated_field’ in ‘field list’   Doctrine:  Unknown column in ‘field list’ pour I18N Behaviors    Mise en situation : Vous utilisez Doctrine 1.2 l’ORM PHP. Votre...

mai 30th, 2012 by Benoit Bonneville