N
N
Nikolai Kovalevsky2016-06-14 03:48:10
Yii
Nikolai Kovalevsky, 2016-06-14 03:48:10

Gii does not see the model when creating CRUD, what should I do?

I recently discovered Yii2 and auto-generation of code using the Gii utility. However, I encountered such a problem that when generating CRUD Gii gives an error "Class 'frontend\models\Orders' does not exist or has syntax error." However, it exists and was generated by the same Gii. 7cddc15006724070a79de394e7d1cb3c.PNG
Advanced version. The test example in the tutorial (which is with Country) reacts in the same way. I would be grateful for help in this matter.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question