search

Home  >  Q&A  >  body text

Only page errors are displayed before template separation

base.php

<?php
namespace app\index\controller;
use think\Controller;

class Base extends Controller;
{
 
}

##index.php

<?php

namespace app\index\controller;
use app\index\controller\Base;

class Index extends Base

{
public function index()
{
return $this -> view -> fetch( );
}
}

An error occurred before the template separation step was reached. Tip:

Page error, please try again later~




phpcn_u33089phpcn_u330892520 days ago1509

reply all(2)I'll reply

  • 想不出写啥

    想不出写啥2018-01-15 09:11:49

    You can change app_debug and app_trace from false to true in the configuration file config.php to clearly see the error content

    reply
    0
  • 韦小宝

    韦小宝2018-01-09 08:54:15

    The fetch() of your library does not indicate that view! E((3L8_BVMCC{`B3A1~TYP0.png

    reply
    0
  • Cancelreply