请详细描述问题
PHP版本、系统版本、模块版本等
1模块开发助手新建了普通模块xc_demo
2本地模块里安装显示 错误
file: "I:\\phpstudy_pro\\WWW\\www.xconesys.com\\module\\Xc_demo\\Migrate\\2022_06_27_000000_xc_demo_category_create.php"
line: 6
message: "Cannot declare class Xc_demoCategoryCreate, because the name is already in use"
trace: []
3
1
2
已经给出错误原因了,类名不存在
迁移文件中的类型名要和文件名对应。
如
2022_06_27_000000_xc_demo_category_create
对应的类名为
XcDemoCategoryCreate
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
|Archiver|手机版|小黑屋|迩鎏鎈论坛 ( 闽ICP备19021048号 )|站点地图
GMT+8, 2025-8-28 20:42 , Processed in 0.113139 second(s), 14 queries , Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.