douliedu335997 2014-12-06 16:58
浏览 144
已采纳

未找到类'yii \ jui \ DatePicker'(yii2 basic)

I downloaded the yii2-jui in this link

yii2-jui

After that I put it under yiisoft folder

yiisoft\yii2-jui

when I run my application it gives me this error

PHP Fatal Error – yii\base\ErrorException Class 'yii\jui\DatePicker' not found

How can I fixed this.where should I put the yii2-jui folder ?

Thank you in advance

  • 写回答

4条回答 默认 最新

  • doucheng3811 2014-12-06 21:49
    关注

    Stop creating duplicate questions.

    And you do not just download something and copy it in a folder. Use composer to install it. the Yii2 that you copied is just a shell, you have to use composer to install the rest of it. Composer does more then just copy the files it creates an autoloader that tells yii where everything is.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 luckysheet
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误