当前位置:网站首页>如何解决tp6控制器不存在:app\controller\Index
如何解决tp6控制器不存在:app\controller\Index
2022-07-27 18:11:00 【刘杨造梦程序开发建站】
tp6需要用到多应用模块的时候,并不能像tp5那样直接创建一个模块即可,需要composer安装对应的think-multi-app扩展才能够使用。
单应用访问是没有问题的,但是多应用就会出现问题
安装多应用模块扩展:composer require topthink/think-multi-app,特别注意:安装的时候一定要是在项目的根目录下安装,不然安装了以后也是用不了报单应用(app\controller\index不存在)的问题
如果安装后还是报错,需要配置’auto_multi_app’ => true,不知道是不是版本问题,我下载的这个稳定版本没有设置这个,照样可以访问成功!
边栏推荐
- 说透缓存一致性与内存屏障
- People call this software testing engineer. You're just making a living (with HR interview Dictionary)
- 2022.07.11
- Session attack
- 【阿里安全 × ICDM 2022】20万奖金池!大规模电商图上的风险商品检测赛火热报名中!...
- Flask-MDict搭建在线Mdict词典服务
- Oracle Xe installation and user operation
- 关于栈迁移的那些事儿
- 用户和权限创建普通用户
- 金仓数据库 Oracle 至 KingbaseES 迁移最佳实践 (4. Oracle数据库移植实战)
猜你喜欢

vi工作模式(3种)以及模式切换(转换)

【Dart】一门为跨端开发而生的编程语言

Interviewer: what is the abstract factory model?
![[hierarchical reinforcement learning] HAC paper and code](/img/f5/d5f791d0f9da749eafa912be9dfbb5.png)
[hierarchical reinforcement learning] HAC paper and code

Nailing development document

海康设备接入EasyCVR,出现告警信息缺失且不同步该如何解决?

People call this software testing engineer. You're just making a living (with HR interview Dictionary)

One week activity express | in simple terms, issue 8; Meetup Chengdu station registration in progress
![[deep learning] video classification technology sorting](/img/bf/422d4ef342199966bbdaae06977699.png)
[deep learning] video classification technology sorting

2022-07-19 advanced network engineering (XX) BGP route optimization, route optimization analysis one by one
随机推荐
Using dataX to realize efficient synchronization of MySQL data
MySQL learning record (III) multi table query, sub query, paging query, case statement, single line function
It is said that Intel will stop the nervana chip manufactured by TSMC at 16nm
金仓数据库 KingbaseES 异构数据库移植指南 (4. 应用迁移流程)
(manual) [sqli labs38, 39] stack injection, error echo, character / number type
Linked list~~~
Can tonghuashun open an account on weekends? Is it safe to open an account
2022-07-19 网工进阶(二十)BGP-路由优选、路由优选逐条分析
MySQL基本查询和运算符
Software test interview question: string "axbyczdj", if you get the result "ABCD"
2022.07.11
Lennix Lai, OKx financial market director: Web3 is a revolution
金仓数据库 Oracle 至 KingbaseES 迁移最佳实践 (4. Oracle数据库移植实战)
leetcode:1498. 满足条件的子序列数目【排序 + 二分 + 幂次哈希表】
JVS私有化部署启动失败处理方案
Arduino开发(二)_基于Arduino UNO开发板的RGB灯光控制方法
【深度学习】视频分类技术整理
[hierarchical reinforcement learning] HAC paper and code
Injection attack
Download of MySQL driver jar package -- nanny tutorial