Re: Simple HABTM find results in SQL Error; Where's the problem?

2006-07-16 Thread gwoo
What version of mysql? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Re: missing Ajax parameters

2006-07-16 Thread Daniel Hofstetter
Please open an Enhancement ticket on https://trac.cakephp.org with some details. Thanks. -- Daniel Hofstetter http://cakebaker.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To

Re: CakePHP 1.1.6.3264 Released

2006-07-16 Thread Shunro Dozono
Hello,2006/7/15, Larry E. Masters aka PhpNut [EMAIL PROTECTED]: In other news, some new articles were published on Sitepoint [3] and in the International PHP magazine [4]. Fabio Cevasco [5] is the man behind these articles. Together with Fabio, we will be writing a book that will be published by

Re: Simple HABTM find results in SQL Error; Where's the problem?

2006-07-16 Thread [EMAIL PROTECTED]
3.26 something. I was checking requirements and it looks like this is version of MySQL isn't supported. I'm on Media Temple by the way. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

Session Problem on save data?

2006-07-16 Thread Gallax
I created a base project with Scaffold function and it's all right. Great! My platform is Win Xp Apache/1.3.24 PHP Version 4.3.3 cakePHP 1.1.6.3264 I updated my system to Apache/2.0.58 (Win32) PHP Version 5.2.0-dev I maintened the configuration more similar as possible but my project does not

Re: Bug: using multiple models in controller

2006-07-16 Thread invincible
I've just again looked into cake/libs/controller/controller.php Controller::$modelClass (not modelName) is used in GenerateFieldNames() and cleanUpFields(). Tough Controller::ConstructClasses populates the array Controller::$modelNames[] (from Controller::$uses). the 'bug' seems to be

Re: CakePHP 1.1.6.3264 Released

2006-07-16 Thread Gustavo Carreno
On 7/16/06, Shunro Dozono [EMAIL PROTECTED] wrote: If you need a translator for Japanese, I'm glad to help! At the moment, there are only a few information about CakePHP in Japanese, so I'm trying to produce some. In Japan, there are many engineers who speak Japanese only, so it is important

Bootstrap.php

2006-07-16 Thread Langdon Stevenson
I am trying to understand what the intended use is for bootstrap.php I have searched the various Cake resource sites and documentation and have only been able to find the briefest explanation. Would anyone be able to elaborate? It would be greatly appreciated, and perhaps could form the

Re: Bug: using multiple models in controller

2006-07-16 Thread John Zimmerman [gmail]
You might want to jump on the IRC channel and see if you can chat PHPNut up quick.If not then I would probably open a ticket and if nothing else they will explain a reason for it to work the way it does. On 7/16/06, invincible [EMAIL PROTECTED] wrote: I've just again looked into

Web Developer Training

2006-07-16 Thread bobj
I am currently working on putting together a project plan (for my grad project) to create training on how to use web 2.0 frameworks (specifically CakePHP). Does anyone think there is a need for such training? The training would include video and consist of interactive modules. The training would

Re: Web Developer Training

2006-07-16 Thread Daniel Hofstetter
Good idea. I think there can't be too much material to get people started using CakePHP. So go for it, and good luck :) -- Daniel Hofstetter http://cakebaker.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Problems with OthAuth - unintended recursion in model?

2006-07-16 Thread M
Ok, to start with I am very new to CakePHP so forgive me if I am missing something obvious. I am trying to implement OthAuth and running into trouble. Would be nice to have a skeleton working cake/othAuth app to start with, but since there is none I followed othAuth docs (and what I found on

Re: Problems with OthAuth - unintended recursion in model?

2006-07-16 Thread M
Actually, I was not looking at that, I assumed somewhere there was something that was breaking recursion since I do get a page returned. Debug output is not exactly most readable as it is not seem to be of much use unless you know exactly what you are looking for. :-/ (Which I guess is the

Re: Turn off Cake processing for a file via view

2006-07-16 Thread John Zimmerman [gmail]
You can put the file in the /app/webroot directory and then just reference the file's url directly.For example when I am developing I usually keep a phpinfo.php file that just executes the phpinfo() command in the webroot. When I want to link to it I just use

Re: Using cake to serve files

2006-07-16 Thread Chris Lamb
Don't forget that using PHP to serve up lots of files is very slow.. if you're using Lighttpd, check out: http://blog.lighttpd.net/articles/2006/07/02/x-sendfile Lamby On Sat, 15 Jul 2006 01:41:20 -0700 georgeL [EMAIL PROTECTED] wrote: Other file serving php scripts do this by putting the

Re: Problems with OthAuth - unintended recursion in model?

2006-07-16 Thread AD7six
M wrote: But back to the point - to check on othAuth's storage of login info, I SNIP This may well be a question for the author then. Still, this brings me back to my original issue - when I go to a page that requires a login, i get redirected to login page, but when I login, I do not get

Re: Bug: using multiple models in controller

2006-07-16 Thread invincible
Thanks man. I've found that GenerateFieldNames() is only used in scaffold and bake.php. The only real bugger seems to be cleanUpFields(). K i'll have to install a ircclient on debian here then. And it is weekend of course (just came back from diner myself). Thanks again.

Re: Bug: using multiple models in controller

2006-07-16 Thread John Zimmerman [gmail]
http://irc.cakephp.org/irc.htmlIf you have a java plugin installed for your web browser you can just go to the link above and login to the irc channel via the java applet. On 7/16/06, invincible [EMAIL PROTECTED] wrote: Thanks man.I've found that GenerateFieldNames() is only used in scaffold

Lighttpd rewrite config for Cake

2006-07-16 Thread Darian Anthony Patrick
Hey Chris, I'm unfamiliar with rewriting in lighty. Can you post your rewrite config? Thanks! -- Darian Anthony Patrick [EMAIL PROTECTED] -Original Message- From: Chris Lamb [EMAIL PROTECTED] Date: Sunday, Jul 16, 2006 4:35 pm Subject: Re: Using cake to serve files Don't forget that

cakePHP and Train Wrecks

2006-07-16 Thread Sonic Baker
Hi there, I've was reading an article (www.jmock.org/oopsla2004.pdf) the other day and came across an section in which there was a warning about code which goes along the lines of the following: dog.getBody().getTail().wag(); This is known as a "Train Wreck". It said that this

Re: cakePHP and Train Wrecks

2006-07-16 Thread Gustavo Carreno
On 7/17/06, Sonic Baker [EMAIL PROTECTED] wrote: Any comments will be greatly appreciated. You can access directly any of the models in the associations you've set. The QUOTE Train Wreck UNQUOTE scenario is just a means of readability. If you have Users hasMany Posts you can call $this-Post or

Re: Is del() recursive?

2006-07-16 Thread nate
Only if the 'dependent' association key is set to true, i.e.: class Post extends AppModel { var $hasMany = array( 'Comment' = array('dependent' = true) ); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: cakePHP and Train Wrecks

2006-07-16 Thread nate
You have to look at it in context. The article is providing a general rule of thumb for good object-oriented development, as evidenced by the very general code snippet representing a dog and it's tail. This is known as a Train Wreck. It said that this was bad because this one line depends on