Hello everybody, I'm using Phalcon 1.3.4. I create a project test in multiple mode using this command line:
phalcon create-project test --type=modules
and i generate crud with this command line :
phalcon scaffold --table-name=users
And when i execute 127.0.0.1/test/users i got this error : Fatal error: Class 'ControllerBase' not found in C:\xampp\htdocs\test\apps\frontend\controllers\UsersController.php on line 7
There is a probleme with namespaces. I change command line for generating crud by this :
phalcon scaffold --table-name=users --ns-controllers=Test\Frontend\Controllers --ns-models=Test\Frontend\Models
Now 127.0.0.1/test/users work but when i clic on serach i got this message error : Fatal error: Class 'Users' not found in C:\xampp\htdocs\test\apps\frontend\controllers\UsersController.php on line 26
I thins that the probleme came from model namespace ! Anyone know how tu resolve this problem ?
Thank you.