Yii2 And Advanced App Template

Hi all.

I’m trying to install Yii2 advanced app example.

First of all, seems like there’s a little bug: after executing ./init, config files and index.php are created under backstage folder, not under backend. Not a big deal, but should be fixed I suppose.

The bigger problem is some weird issue with autoload. Everything works fine until I go to /site/contact or /site/login.

In this case I get exception ‘yii\\base\\ErrorException’ with message ‘Class ‘common\\models\\LoginForm (or ContactForm)’ not found’ in /.../frontend/controllers/SiteController.php

Seems like I’ve missed something in config, but there’s no information on that in docs.

Can anyone tell me where’s my mistake?

PS. Sorry if I’m posting to wrong place, but there’s still no subforum on YII2 questions.

No mistake, it’s just not ready yet.