base.php
##index.php<?php
namespace app\index\controller;
use think\Controller;class Base extends Controller;
{
}
<?phpAn error occurred before the template separation step was reached. Tip: Page error, please try again later~namespace app\index\controller;
class Index extends Base
use app\index\controller\Base;{
public function index()
{
return $this -> view -> fetch( );
}
}
You can change app_debug and app_trace from false to true in the configuration file config.php to clearly see the error content
The fetch() of your library does not indicate that view!![1515459251971890.png E((3L8_BVMCC{`B3A1~TYP0.png](http://img.php.cn//upload/image/783/484/837/1515459251971890.png)