Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не работает админка #9

Open
alekserok opened this issue Sep 13, 2017 · 2 comments
Open

Не работает админка #9

alekserok opened this issue Sep 13, 2017 · 2 comments

Comments

@alekserok
Copy link

Invalid Configuration – yii\base\InvalidConfigException

UrlRule::pattern must be set.

Конфиг добавил:

'admin' =>
[
'class' => '\skeeks\cms\modules\admin\components\settings\AdminSettings',

            'languageCode' => 'ru',
        ],

    'urlManager' =>
        [
            'rules' =>
                [
                    'cms-admin' => [
                        "class" => 'skeeks\cms\modules\admin\components\UrlRule',
                        'adminPrefix' => '', //Префикс админки, то есть путь к админке сайта может быть любой
                    ],
                ]
        ]
@skeeks-semenov
Copy link
Member

А какой базовый проект ставили?
Какая версия cms?

@alekserok
Copy link
Author

"skeeks/cms": "^4.0",
устанавливал по документации https://docs.cms.skeeks.com/ru/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants