0

按照这个主题https://github.com/hiromi2424/CakePHP-Kcaptcha-Plugin,我复制我下载的文件夹,将其粘贴到插件文件夹中并将名称更改为 Kcaptcha。然后,将此代码添加CakePlugin::load('Kcaptcha', array('bootstrap' => false, 'routes' => false))到引导文件。之后,我在 UsersController 中添加了一些代码var $components = array('Kcaptcha.Captcha');。我收到错误缺少组件

错误:找不到 Kcaptcha.CaptchaComponent。错误:在文件中创建下面的类 CaptchaComponent:C:\xampp\htdocs\zik\app\Plugin\Kcaptcha\Controller\Component\CaptchaComponent.php

我不知道为什么,你知道吗?

4

0 回答 0