Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
OrmAuth Mysql error
  • Anyone already had this error ?
    this is the code test :


    Capture screen error :

    http://host.electroheadfx.fr/efxbox/laurent/Capturedecran2014-01-14a21.00.19.jpg


    Fuel\Core\Database_Exception [ Error ]:
    SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.id' in 'field list' with query: "SELECT `t0`.`actions` AS `t0_c0`, `t0`.`id` AS `t0_c1`, `t0`.`group_id` AS `t0_c2`, `t0`.`perms_id` AS `t0_c3` FROM `users_group_permissions` AS `t0` WHERE `t0`.`group_id` = '4'"

    thanks
  • Thanks WanWizzard.

    Fixed with auth migration update :

    oil r migrate --all
    Already on the latest migration for app:default.
    Performed migrations for package:auth:
    010_auth_fix_jointables

    I dont know what is it, but at each new permission added I should update auth ?

    thanks
  • What do you mean by "I should update Auth"?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion