Only page errors are displayed before template separation
phpcn_u33089
phpcn_u33089 2018-01-08 19:46:52
0
2
1460

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_u33089
phpcn_u33089

reply all(2)
想不出写啥

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

lge

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!