search

Home  >  Q&A  >  body text

Page error! Please try again later~

index.php

<?php

namespace app\index\controller;

use app\index\controller\base;

class Index extends Base

{

public function index()

{

return $this -> view -> fetch();

}

}


##base.php

<?php

namespace app\ index\controller;

use think\controller;

class Base extends Controller

{

}

Please give me some guidance. I followed the step-by-step instructions in the video. The file codes are exactly the same. However, after I refreshed the page, the webpage prompted SYSTEM ERROR. I was struggling and couldn’t learn anymore. Please give me some guidance.

****2370 days ago1548

reply all(2)I'll reply

  • 花开,若相惜

    花开,若相惜2018-08-30 09:11:05

    Also, there must be a corresponding template

    reply
    0
  • 花开,若相惜

    花开,若相惜2018-08-30 09:10:12

    First turn on the debugging mode of the entry file, it will tell you that there is a problem in the above place

    reply
    0
  • Cancelreply