H
H
Herman Martin2018-07-14 22:32:07
Yii
Herman Martin, 2018-07-14 22:32:07

Why is the module not included in Yii2?

Created str module:
web.php

'modules' => [
        'str' => [
            'class' => 'app\modules\str\module',
            'layout' => 'main'
        ],
    ],

in the module there are several controllers, a bunch of models, views, etc. After transferring all the good stuff to the combat server, I get an error stating that this module was not found:
ReflectionException
Class app\modules\str\module does not exist

After disabling beautiful urls, xt-accessories, it got a little better, the error manifested itself better.
The question is how to debug this moment?
P.S. everything worked initially from under Windows, after the transfer to Linux, this began.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bay, 2018-07-14
@dklight

'modules' => [
        'str' => [
            'class' => 'app\modules\str\Module',
            'layout' => 'main'
        ],
    ],

Welcome to the case sensitive OS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question