Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Cakephp 图像 - 无法确定 mimetype
蛋糕PHP 2 3 我正在上传图像 但出现错误 Can not determine the mimetype Error An Internal Error Has Occurred 在我的模型上 这是我的 validation 的一部分
cakephp
cakephp20
cakephp23
在 cakephp 2.0.2 中使用 shell 类的插件组件
我想使用我的 shell 类中的插件组件 我正在尝试使用 App import Component Myplugin Mycomponent this gt Mycomponent new MycomponentComponent 不幸的是
cakephp
cakephp20
CakePHP 无法写入某些文件
我开始使用 CakePHP 为我的框架开发一个网站 我实际上刚刚开始并且已经遇到了错误 我无法理解它们的含义 Warning cake core cache was unable to write cake dev en us to Fil
php
cakephp
cakephp20
在 CakePHP 中向 Containable 添加条件
以前我依赖递归 但我没有得到一些解决方案 然后我发现 Containable 对于这些问题工作得很好 我正在开发一个电影评论网站 我需要显示与特定类型相关的电影列表 我有下面的代码 example genre drama options a
cakephp
recursion
cakephp20
conditionalstatements
containable
CakePHP 2.0 中的错误处理。转义 viewVars [关闭]
很难说出这里问的是什么 这个问题是含糊的 模糊的 不完整的 过于宽泛的或修辞性的 无法以目前的形式得到合理的回答 如需帮助澄清此问题以便重新打开 访问帮助中心 help reopen questions 我在 Cake 2 中遇到了一个奇怪
cakephp
errorhandling
cakephp20
CakePHP TwigView 插件缺少视图错误
我正在使用 CakePHP 2 4 2 和this https github com predominant TwigView插件由主导 我想将 TwigView 与 CakePHP 一起使用 发现上面的插件与 CakePHP 2 0 兼容
php
cakephp
cakephp20
Twig
cakephp24
Cakephp REST API 消除了 .format 的必要性
我正在努力创建一个仅获取和返回 JSON 数据的 REST api 我正在遵循蛋糕指南 我的默认路线是这样的 GET recipes format GET recipes 123 format POST recipes format PUT
json
API
REST
cakephp20
Cakephp 2.0 和基本身份验证
我已将我的应用程序从 CakePHP 1 3 升级到 2 0 4 以前 我只能在一个控制器中使用安全组件来模拟基本 HTTP 身份验证 我曾经做过这样的事情 this gt Auth gt allow array this gt Secur
php
cakephp
cakephp20
CakePHP-cakeDC搜索插件实现
我目前正在尝试找出一种在我的应用程序中实现 cakeDC 搜索插件的方法 但我发现很难理解在我可以让它在我的应用程序中 很好地 工作之前需要完成的管道工作 需要考虑的事项 搜索必须是 实时搜索 检索到的记录需要分页 搜索将使用选定的条件 i
php
cakephp
cakephp20
cakedc
测试重定向 CakePHP 2.0
我一直在看食谱上的一些例子 但我不明白 http book cakephp org 2 0 en development testing html a more complex example http book cakephp org 2
unittesting
cakephp
Testing
redirect
cakephp20
如何使子目录中的cakePHP 2.x出现在根目录中(在htaccess中使用mod_rewrite)? [关闭]
Closed 这个问题是无关 help closed questions 目前不接受答案 我正在开发一个位于子目录内的蛋糕应用程序 因为我需要与同一域上的另一个应用程序一起运行它 我希望由 cake 提供支持的页面看起来就像是顶级的 所以而
apache
htaccess
cakephp
modrewrite
cakephp20
CakePHP Cache::clear 不起作用
我的 bootstrap php 文件中有一个缓存配置 Cache config long array engine gt File duration gt 1 week probability gt 100 mask gt 0666 pa
php
cakephp
caching
cakephp20
CakeEmail 如何在堆栈跟踪之前确定失败?
我试图捕获电子邮件失败的时间 以便我可以将所需的数据保存在我的数据库中 并且可以尝试稍后发送 我认为以下内容应该像使用时一样工作save if email gt send success works else fail never gets
php
cakephp
cakephp20
在 View(CakePHP) 中,获取当前控制器的正确方法?
在视图中 我可以通过使用来采取行动 this gt action 但是 我无法通过以下方式获取控制器名称 this gt controller 在视图中获取当前控制器的正确方法是什么 Use this gt params controlle
cakephp20
在 cakephp 2.0 中运行插件的 shell
我创建了一个新的 CakePHP 2 0 应用程序 并且想要运行插件的 shell
shell
cakephp
Plugins
cakephp20
CakePHP:创建新的 HABTM 行而不是更新其他行
我有两个具有 HABTM 具有且属于多个 关系的模型 Qsets 和 Questions 以下操作 在 QsetsController php 中 应该会在 qsets questions 表中产生一个新行 新问题出现在新的 qset 中
php
mysql
cakephp
cakephp20
cakephp21
CakePHP 2.0 判断哪个提交按钮被点击
在 CakePHP 1 3 中 您可以创建具有多个提交按钮的表单 echo this gt Form gt submit Submit 1 array name gt submit echo this gt Form gt submit S
Forms
cakephp
cakephp20
何时不在 CakePhp 2.x 中使用可包含行为
在将 Containable Behaviour 添加到我的各种模型类中几次后 我决定简单地将该行放入 AppModel 中 从而使每个模型都可包含 这让我想知道 是否有任何情况下 特定模型具有可控制行为是不理想的或适得其反的 我想说太少了
cakephp20
containable
在cakephp的AppController中调用AppModel函数
我有一个希望所有控制器都能够使用的函数 因此我在 AppController 中定义了它 现在 此函数将执行的部分操作与控制器无关 因此它应该在模型中 但由于这是通用操作 因此它在 AppModel 中似乎才是正确的 我的函数如下所示 cl
php
cakephp
cakephp20
使用 SSL 取消强制方法后 CakePHP Authcomponent 会话过期
我在注册期间使用了 5 个页面的 SSL https www example com step1 https www example com step1 https www example com step2 https www examp
cakephp
SSL
cakephp20
1
2
3
4
»