Skip to content

Latest commit

 

History

History
executable file
·
25 lines (16 loc) · 662 Bytes

COMMON-ERRORS.md

File metadata and controls

executable file
·
25 lines (16 loc) · 662 Bytes

Common errors :

The service "yosimitso_workingforum_base_controller" has a dependency on a non-existent service "templating"

Sf 4 : add to config/framework.yaml :

You have to define your templating engine to Symfony, ex for Twig :

framework:
    templating:
        engines: ['twig']

SQLSTATE[42000]: Syntax error or access violation : 1071 Specified key was too long; max key length is 767 bytes

This error occurs on old versions of MySQL (< 5.6)

  • upgrade MySQL

or :

  • dump the SQL queries with php bin/console doctrine:schema:update --dump-sql
  • lower keys length of the concerned table
  • execute SQL queries