当前位置:网站首页>如何解决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,不知道是不是版本问题,我下载的这个稳定版本没有设置这个,照样可以访问成功!
边栏推荐
- 用户组织架构的管理
- 技术博客及教程
- vi工作模式(3种)以及模式切换(转换)
- Introduction to JVs Foundation
- Interviewer: what is the abstract factory model?
- 2022.07.11
- 2022-07-19 advanced network engineering (XX) BGP route optimization, route optimization analysis one by one
- JVS基础框架功能列表
- Mongodb learning notes: bson structure analysis
- [efficiency] abandon notepad++, this open source substitute is more awesome!
猜你喜欢

Preprocessing and macro definition
![[deep learning] video classification technology sorting](/img/bf/422d4ef342199966bbdaae06977699.png)
[deep learning] video classification technology sorting

JVS公众号登陆配置

【深度学习】视频分类技术整理
![(manual) [sqli labs38, 39] stack injection, error echo, character / number type](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
(manual) [sqli labs38, 39] stack injection, error echo, character / number type

征服所有程序员的3件IT装备 →

JVS私有化部署启动失败处理方案

You can understand it at a glance, eslint

推荐一款强大的搜索工具Listary

学术分享 | 清华大学 康重庆:电力系统碳计量技术与应用(Matlab代码实现)
随机推荐
浅析即时通讯移动端 IM 开发中登录请求的优化
洋葱集团携手OceanBase实现分布式升级,全球数据首次实现跨云融合
【Dart】一门为跨端开发而生的编程语言
How bad can a programmer be?
RK3399平台入门到精通系列讲解(导读篇)21天学习挑战介绍
How to solve the problem of missing alarm information and synchronization when Haikang equipment is connected to easycvr?
Using dataX to realize efficient synchronization of MySQL data
人家这才叫软件测试工程师,你那只是混口饭吃(附HR面试宝典)
EasyCVR平台添加RTSP设备时,出现均以TCP方式连接的现象是什么原因?
从0开始写bootloader
力扣解法汇总592-分数加减运算
JVS公众号登陆配置
Why are TS slice files generated when easycvr platform turns off video recording?
学术分享 | 清华大学 康重庆:电力系统碳计量技术与应用(Matlab代码实现)
【深度学习】视频分类技术整理
JVS基础框架功能列表
openresty lua-resty-dns 域名解析
People call this software testing engineer. You're just making a living (with HR interview Dictionary)
Understand │ what is cross domain? How to solve cross domain problems?
做测试, 就得去大厂,内部披露BAT大厂招聘“潜规则”