P
P
PPilot2019-10-30 15:08:07
Yii
PPilot, 2019-10-30 15:08:07

YII2 When transferring from a local PC to a hosting, one model does not see the other. What could be the reasons?

Good afternoon. I started to transfer a working project from a local machine to a hosting and problems appeared. The first and most important thing is that one model refers to another and does not see it.
Two models are in the same folder. Mistake:

Error
Class 'app\models\user' not found

Please tell me what could be causing this? If you need more information on an issue, please let me know.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2019-10-30
@PPilot

Do you have user , not User ? Register problem!
Change 'app\models\user'to'app\models\User'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question