Closed kuter closed 11 years ago
Hi everyone,
i'm trying to setup ZfcUser with DoctrineORM .. i've already installed modules:
Doctrine works fine with Album app from official tutorial .. but i can't run ZfcUser module .. when i'm trying to register/sign in i get this error:
Fatal error: Call to a member function getEmail() on a non-object in /project/vendor/zf-commons/zfc-user/view/zfc-user/user/index.phtml on line 1
EDIT: Solution is to set up db tables correctly, good way is to use this:
$ ./vendor/bin/doctrine-module orm:schema-tool:update --dump-sql
to get proper sql command.
Somebody can help me ? i'm new in ZF2 and Doctrine.
Hi everyone,
i'm trying to setup ZfcUser with DoctrineORM .. i've already installed modules:
Doctrine works fine with Album app from official tutorial .. but i can't run ZfcUser module .. when i'm trying to register/sign in i get this error:
Fatal error: Call to a member function getEmail() on a non-object in /project/vendor/zf-commons/zfc-user/view/zfc-user/user/index.phtml on line 1
EDIT: Solution is to set up db tables correctly, good way is to use this:
$ ./vendor/bin/doctrine-module orm:schema-tool:update --dump-sql
to get proper sql command.
Somebody can help me ? i'm new in ZF2 and Doctrine.