@Ceeram: Thanks for your help in IRC (I guess I just had to get used to IRC)
I fully intend to post my working example, hopefully later today :)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
Hi, Moiz.
I have had the same problem and I don't how to fix this.
I edited the method validates in lib/Cake/Model/Model.php, but I don't
had success.
I'm using last version of cake (2.0.x too).
Regards!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Hi, Euromark.
Unfortunately, assign value true in param last not worked for me.
I think this error is strange and I'm trying understand if it have
relation with PHP version.
My test server runs Ubuntu server 11.0 and
PHP 5.3.6-13ubuntu3.3 with Suhosin-Patch (cli) (built: Dec 13 2011
18:18:37)
I'm trying to understand the use of the request-is method in the
CakePHP 2.0.4 baked actions. I have reduced the generated add and edit
functions from a controller baked with CakePHP 1.3.4 and 2.0.4 to
pseudo-code below to demonstrate my question. I am basing my
expectations on the opinion I
AFAIK, PUT is the POST HTTP Request version of edit action... when you
send data that u want to change something (not insert) you send a PUT
request.
Att.,
--
***Thiago Belem*
Desenvolvedor
Rio de Janeiro - RJ - Brasil
+55 (21) 8865.9250
thiagobelem.net
cont...@thiagobelem.net
*Skype / gTalk
Hello!
I modified the invalidFields method. In the line 3019 (lib/Cake/Model/
Model.php):
$this-validate = $_validate
TO
$this-validate = array_unique($_validate)
and seems work.
Regards
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
Seems like you got it working. Just need to make a controller.
On Jan 31, 3:46 pm, ahmed fakher spcial...@gmail.com wrote:
something wrong it is not work
look at this linkhttp://alashera.3owl.com/testproject/
you will see this error
Warning: include(cake/bootstrap.php) [function.include]:
Hi,
I realize this solution is not good and I try understand cake code
to can contribute in bug resolution.
Sorry by my english.
Regards,
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and
how about reading first before playing the wise guy?
i know the reason. i caused it on purpose!! it is a simulated database
saving failure.
i did that to see how cake behaves. and it prevents sending json data
from my controller to my view.
and since there are dozens of possible reasons why a
On Feb 1, 9:21 pm, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:
how about reading first before playing the wise guy?
You misunderstand.
set debug to 0 - your production app will not be running with display
errors on. You don't Fix development-only errors, you avoid them.
Catchable errors
How to load plugins using custom order with CakePlugin::load ? By
default it is alphabetical order
ps.
http://stackoverflow.com/questions/9101722/cakephp-2-0-custom-order-plugin-loading
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
You misunderstand.
ok then. no harm done... :)
i will try this. thanks for your help. appreciate it!
--tw--
On 1 Feb., 21:37, AD7six andydawso...@gmail.com wrote:
On Feb 1, 9:21 pm, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:
how about reading first before playing the wise guy?
ok, that scares mei set debug to 0 and none of my pages load. its
all empty
weird...?!
On 1 Feb., 21:37, AD7six andydawso...@gmail.com wrote:
On Feb 1, 9:21 pm, Tomfox Wiranata tomfox.wiran...@gmail.com wrote:
how about reading first before playing the wise guy?
You misunderstand.
I need *NOT TO *fire before callbacks when using model read method.
Is there a way to achieve that or do I need to change my model-read() by
model-find('first')
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
If you do model-find('first') you can disable callbacks in the second
parameter.
model-find('first',array('callbacks'=false))
On Feb 1, 9:44 pm, ceap80 cea...@gmail.com wrote:
I need *NOT TO *fire before callbacks when using model read method.
Is there a way to achieve that or do I need to
15 matches
Mail list logo