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

wiki for yii2 advanced app installation #23

Open
paskuale75 opened this issue Mar 28, 2018 · 1 comment
Open

wiki for yii2 advanced app installation #23

paskuale75 opened this issue Mar 28, 2018 · 1 comment

Comments

@paskuale75
Copy link

It's possible to have a wiki for the installation of this extension on advanced yii app ? I'm a bit of confusion by reading the two issues # 13 and # 14 thanks

@paskuale75
Copy link
Author

paskuale75 commented Mar 28, 2018

After reading issue #13 and opened http://myBackendSite/admin it return this :
Invalid Configuration – yii\base\InvalidConfigException
Object configuration must be an array containing a "class" element.

Seems to be here the problem:

'modules' => [
        'admin' => [
            'controllerMap' => [
                'cms' => 'yii2mod\cms\controllers\CmsController',
            ],
        ]
]

If I add the class:

'modules' => [
        'admin' => [
            'class' => 'yii2mod\cms\Module',
            'controllerMap' => [
                'cms' => 'yii2mod\cms\controllers\CmsController',
            ],
        ]
]

it return me 403 Forbidden

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

1 participant