title: Yii2 Kartik Extension File Not Found
body: <p>I'm new to <code>Yii</code> and I have installed the Kartik export extension. When I click on export in any format, I get the following error:</p>
  
  <blockquote>
    <p>File not found</p>
    
    <p>Firefox can't find the file at
    <a href="http://localhost/basic/web/index.php?r=industrial/index&amp;page=1" rel="nofollow noreferrer">http://localhost/basic/web/index.php?r=industrial/index&amp;page=1</a>.</p>
    
    <p>Check the file name for capitalization or other typing errors. Check
    to see if the file was moved, renamed or deleted.</p>
  </blockquote>
  
  <p>When I run this path mentioned, the page opens normally. Am I missing something here?</p>
  
  <p>Please check my code:</p>
  
  <p>IndustrialController.php:</p>
  
  <pre><code>&lt;?php 
  
  namespace app\controllers; 
  use yii\web\Controller; 
  use yii\data\Pagination; 
  use app\models\industrial; 
  use yii\data\ActiveDataProvider; class IndustrialController extends Controller {
  
  public function actionIndex()
  {
        $query = industrial::find();
      $pagination = new Pagination([
          'defaultPageSize' =&gt; 20,
          'totalCount' =&gt; $query-&gt;count(),
      ]);
  
      $industrials = $query-&gt;orderBy('Company_Name')
          -&gt;offset($pagination-&gt;offset)
          -&gt;limit($pagination-&gt;limit)
          -&gt;all();
  
  
       $dataProvider=new ActiveDataProvider([
          'query' =&gt; industrial::find(),
  'pagination'=&gt;['pageSize'=&gt;20],
      ]);
  
      //return $this-&gt;render('index', ['dataProvider'=&gt;$dataProvider]);
               return $this-&gt;render('index', [
          'dataProvider'=&gt;$dataProvider,
          'industrials' =&gt; $industrials,
          'pagination' =&gt; $pagination,
      ]);
  }
  }
  </code></pre>
  
  <p>Views/industrial/index.php:</p>
  
  <pre><code> &lt;?php 
  
  
  use yii\helpers\Html; 
  use kartik\export\ExportMenu; 
  use kartik\grid\GridView; 
  use yii\widgets\LinkPager; 
  
  $gridColumns = [ ['class' =&gt; 'yii\grid\SerialColumn'],
  
  'Company_Name',
  'Category',
  'Phone',
  'EMail',
  ];
  ?&gt;
  
  
  
  &lt;?= ExportMenu::widget([
  'dataProvider' =&gt; $dataProvider,
  'columns' =&gt; $gridColumns,
  'fontAwesome' =&gt; true,
  'dropdownOptions' =&gt; [
  'label' =&gt; 'Export All',
  'class' =&gt; 'btn btn-default'
  ]
  ]) ?&gt;
  &lt;?= GridView::widget([
  'dataProvider' =&gt; $dataProvider,
  'columns' =&gt; $gridColumns,
  'export' =&gt; [
  'fontAwesome' =&gt; true,
  ]
  ]); ?&gt;
  </code></pre>
  
  <p>What is the action I need to add to the controller to download the extracted file?</p>