G
G
Greg Popov2016-05-13 14:30:44
Yii
Greg Popov, 2016-05-13 14:30:44

Why doesn't the console work after adding multilanguage to Yii2?

Sweat this post implemented multilingualism. I do
php yii migrate/create catalog_item
and I get:

Exception 'yii\base\InvalidConfigException' with message 'Unable to determine the request URI.'

advanced template.
What is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-05-13
@Gregpopov

Most likely, the fact is that you ruled the common config, but it was necessary to add multilingualism to the frontend config and backend config. Since the common config is used by the console controller.
Common config is common, but do not forget that it is common not only for frontend and backend, but also for console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question