title: yii2 framework applying a new theme
body: <p>I've gone through the steps in the <a href="https://github.com/yiisoft/yii2/blob/master/docs/guide/output-theming.md" rel="nofollow">guide</a>, however my request to index.php gives me "Object not found!"</p>
  
  <p>I have created dirs:</p>
  
  <ul>
  <li>themes/ directory in /web/</li>
  <li>basic/ directory in /web/themes/</li>
  <li>moved all files from /web/* to /web/themes/basic/</li>
  <li>moved views/ directory to /web/themes/basic/</li>
  <li><p>have the web.php changed to</p>
  
  <pre><code>'components' =&gt; [
      'view' =&gt; [
          'theme' =&gt; [
              'pathMap' =&gt; ['@app/views' =&gt; '@app/themes/basic/views'],
              'baseUrl' =&gt; '@web/themes/basic/views',
          ]
      ],
  </code></pre></li>
  </ul>
  
  <p>and my AppAsset.php is like</p>
  
  <pre><code>public $basePath = '@webroot';
  public $baseUrl = '@web';
  </code></pre>
  
  <p>Where I could go wrong?
  Also, in cases like this, how can I use debugging?</p>