错误位置

FILE: D:\wamp\www\tinkphp\Application\Come\Controller\IndexController.class.php  LINE: 5

 

问题出现在Tink,文件路径不对,把它换成Come就可以了。

显示Class 'Think\Controller\FuController' not found和Call to a member function assign() on a non-object 的错误问题

 

 

显示Class 'Think\Controller\FuController' not found和Call to a member function assign() on a non-object 的错误问题

问题出现在控制器里面的__construct()方法覆盖掉了父类的构造方法,加上红方框里面的那句话就解决了。

显示Class 'Think\Controller\FuController' not found和Call to a member function assign() on a non-object 的错误问题

 

相关文章:

  • 2021-05-30
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2021-09-25
猜你喜欢
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
相关资源
相似解决方案