Re: Configure::read() "fetch" depth

2009-08-22 Thread Gwoo
1.3 allows unlimited depth by utilizing Set class --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Release: 1.2.4 and 1.3-dev

2009-08-03 Thread Gwoo
The CakePHP development team is happy to announce the release of two new versions. Firstly, CakePHP 1.2.4[1] is a bug fix release of the latest stable branch. Check the changelog[2] for all the changes. Also, we have made CakePHP 1.3.0-dev[3] available for download. CakePHP 1.2 includes more than

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Gwoo
Look in pages/home.ctp. The debug check was added because too many applications forgot to remove home.ctp. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php

Re: Structure of book.cakephp.org

2009-07-16 Thread Gwoo
Thanks for the feedback. I happen to agree with you. I know the docs team struggles sometimes with where to put things. They try their best to look at it from a new developer's perspective, but that is not an easy thing to do. Please feel free to suggest an alternate structure. If you can get on i

Re: posts not appearing

2009-07-04 Thread Gwoo
Please read the about page: http://groups.google.com/group/cake-php/about --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: Whether cakephp server dependent

2009-07-04 Thread Gwoo
Leaving the salt blank would be bad idea as you would be making hashing less secure. Just change the value to something other than the default because leaving the default would be as insecure as leaving it blank. --~--~-~--~~~---~--~~ You received this message becau

Re: Baking. First day at cake

2009-07-04 Thread Gwoo
You are not supposed to call the scripts directly. Please see the documentation for the proper usage. Also checkout http://cakephp.org/screencasts --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To po

Re: output_buffering FTW (Was: Auth session getting destroyed?)

2009-07-03 Thread Gwoo
you probably have some whitespace somewhere in your files that is killing the session when output buffering is off. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to

Re: Which branch should I work on?

2009-07-01 Thread Gwoo
master is most recent stable version. (1.2.3.8166) 1.2 is the current working branch for master 1.3 is the new development branch 1.3-* are dev branches, and are not considered stable until merged into 1.3 Create a branch off of 1.3 in your fork and start coding. Patches with test cases take pri

Re: Sessions in Components?

2009-06-08 Thread Gwoo
add var $components = array('Session') to your UploaderComponent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

Re: CakePHP + CouchDB

2009-06-06 Thread Gwoo
@Chris I started this code this morning after seeing your article. Two things bothered me...one was the use of "send" and the second was the disregard for the HttpSocket class. Also, the real benefit of a datasource is its integration with the model, which means we need to implement several metho

Re: cakephp dependencies

2009-05-29 Thread Gwoo
http://book.cakephp.org/view/28/Requirements --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email t

Re: why support php-4

2009-05-28 Thread Gwoo
ngless. The questions you need to ask..."Does CakePHP help me solve my problems? What new feature/optimization/etc in CakePHP would better solve my problems? How can I help CakePHP?" I can only answer the last question..."join #cakephp on irc.freenode.net, talk to ot

Re: Blog tutorial - I get a blank page

2009-05-28 Thread Gwoo
anything in the server error logs? #cakephp on irc.freenode.net for some real-time help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com

Re: Possible Bug? $this->find for NULL values uses wrong syntax

2009-05-28 Thread Gwoo
test case? this could be a problem with the proper defaults not being set for the table. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com

Re: How much to donate to CakePHP???

2009-05-21 Thread Gwoo
pizza is good... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@goog

Re: httpsocket and xml

2009-05-18 Thread Gwoo
What have you tried? There a re several examples in the test cases. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from t

Re: Running a Controller Function from the Console

2009-05-18 Thread Gwoo
requestAction should work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsub

Re: validation help

2009-05-06 Thread Gwoo
Are you sure that cake is finding your model? pr($this->Category); inside your controller. If you see an AppModel instance rather than a Category instance then you know cake is unable to find the model. Also, make sure that the form input is correctly sending the fields you are expecting. If you

Release: 1.2.3.8166

2009-05-04 Thread Gwoo
I am happy to announce another release of CakePHP 1.2. CakePHP 1.2.3.8166[1] includes several bug fixes and most importantly a security fix. To understand the security issue please have a look at Ticket #6336[2]. While this may not affect every installation of Cake, we do recommend that everyone t

Re: Complex pages using CakePHP MVC

2009-05-03 Thread Gwoo
http://bakery.cakephp.org/articles/view/creating-reusable-elements-with-requestaction --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To

Re: Cake Bake not in app

2009-05-03 Thread Gwoo
how are you trying to create it? Did you setup the console properly? you can also use -app whatever but in general you should always be "working" from the application directory. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Buggy radio buttons using Form Helper?

2009-04-30 Thread Gwoo
Check the test cases, hopefully there is one that covers your issues. If not, add one and submit a ticket. Drop by #cakephp if you want to discuss. Happy Baking. -GwooBot :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: Latest CakePHP build 8120 Warning

2009-04-29 Thread Gwoo
Cache::write() does not take the duration. http://api.cakephp.org/class/cache#method-Cachewrite --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegrou

Re: Plugin for MySQL Workbench: Who to contact?

2009-04-24 Thread Gwoo
The plugin is very new, seeing as how i finished it last week. It was working fine for me and jperras, but it was only tested on OSX. Maybe you are referring to the save to file, which requires more work since workbench has not open the API to the save dialog. When they add that it will be updated

Re: Using Cake

2009-04-15 Thread Gwoo
Never hurts to try. See if you can get Cake setup and go through the blog tutorial. If that makes sense then you are on the right track. http://book.cakephp.org/view/219/Blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: setDataSource bug?

2009-04-15 Thread Gwoo
it throws a cakeError which renders and exits so the return value is always null. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsu

Re: app location/name

2009-04-14 Thread Gwoo
cd mysitename or use the -app param --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-

Re: Just me?

2009-04-13 Thread Gwoo
Are you saying the bug should be reopend? Looks like it was marked as fixed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscri

Re: cakephp.org homepage

2009-04-13 Thread Gwoo
Jquery --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.c

Re: CAKE_ADMIN

2009-04-09 Thread Gwoo
You probably downloaded 1.2 but are reading about 1.1. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, se

Re: DB2 and integer ids!

2009-04-09 Thread Gwoo
You will have to look at the driver for DB2. If you need to override it you can place it in app/models/datasources or submit a patch. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this gr

Re: Setting Layout for Scaffolding?

2009-04-01 Thread Gwoo
use the _beforeScaffold callback in your controller --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: CakePHP on Hiawatha web server

2009-03-31 Thread Gwoo
Did you uncomment App.baseUrl in core.php? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Release: 1.2.2.8120

2009-03-19 Thread Gwoo
CakePHP still rising! We are excited to announce the release of CakePHP 1.2.2.8120[1]. The latest stable release fixes several bugs including a security issue with paginator links. While this issue should only affect a small number of people, we highly recommend everyone upgrade to this stable ve

Re: CakePHP in Google Summer of Code

2009-03-18 Thread Gwoo
Thank you for submitting "CakePHP" organization application to Google Summer of Code 2009. Unfortunately, we were unable to accept your organization's application at this time. We received many more applications for the program than we are able to accommodate, and we would encourage you to reapply

Re: changing $useDbConfig 'on-the-fly' ?

2009-03-16 Thread Gwoo
http://api.cakephp.org/class/model#method-ModelsetDataSource --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this gro

Re: CakePHP in Google Summer of Code

2009-03-13 Thread Gwoo
Nice ideas everyone. I submitted the organization application two days ago, so now we just have to wait until monday when they announce the accepted orgs. I should also say that everyone in #gsoc on freenode was very helpful and had great appreciation for CakePHP. So, we got that going for us, whi

Re: Class dispatcher not found - Solved, bug maybe?

2009-03-13 Thread Gwoo
Can you run the Inflector tests? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+

Re: Class dispatcher not found - Solved, bug maybe?

2009-03-13 Thread Gwoo
On Mar 12, 1:48 pm, Brett Wilton wrote: > We managed to track down why the class Dispatcher was failing to load. > > What we found was that the Inflector::underscore() function called > from the bootstrap.php App::import('Core', array('Dispatcher')); was > converting 'Dispatcher' to _dispatcher

Re: CakePHP in Google Summer of Code

2009-03-11 Thread Gwoo
Hi Diego, I have been thinking a lot about GSOC. Here is a (short) list of ideas http://bin.cakephp.org/saved/43627 Please expand on it. I will submit an application and hopefully we will be accepted. --~--~-~--~~~---~--~~ You received this message because you a

Join us at MySQL conference, April 20-23, Santa Clara, CA

2009-03-10 Thread Gwoo
We are excited that CakePHP was invited to the DotOrg pavilion for the MySQL conference, April 20-23, Santa Clara, CA. Gwoo and Mark Story will be attending and there are two other booth openings that need to be filled. So, now we have the first ever CakePHP booth pass give away. All community

Re: Cake Cheatsheet.pdf 1.1 - Anyone still have it?

2009-02-25 Thread Gwoo
http://groups.google.com/group/cake-php/files?hl=en --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send

Re: Core Models not loading at all

2009-02-24 Thread Gwoo
check permissions, turn debug on 2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-ph

Re: Core Models not loading at all

2009-02-24 Thread Gwoo
check you file names. make sure they are lowercase and underscored. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from t

Re: Distributing a translation memory of the CookBook

2009-02-24 Thread Gwoo
Hi Nuto, Thank you very much for asking. The use you are describing would be supported and allowed by Cake Software Foundation. Please, feel free to distribute the xml to help with the translations. Also, if there is anything we can do to help, stop by #cakephp. --~--~-~--~~--

Re: Where is Cakephp 1.1.x API Documentation?

2009-02-23 Thread Gwoo
http://api.cakephp.org/1.1/ (make sure you use a trailing slash) The 1.1 is back for the time being. It is still using the old doxygen generated html, so it may not work perfectly, but hopefully your old bookmarks will be accessible. I also uploaded a zip, http://groups.google.com/group/cake-php/

Re: Where is Cakephp 1.1.x API Documentation?

2009-02-23 Thread Gwoo
The API is generated from the source code. So, you have all of the information already. You can use various documentation tools to generate an html version of this documenation. Doxygen and PhpDocumentor are two commonly used tools. We are working on updates to the api generator plugin used on api

Re: linux->no, windows->yes

2009-02-16 Thread Gwoo
your model filenames are capitilized --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-

Re: validating email_confirm field

2009-02-10 Thread Gwoo
http://api.cakephp.org/class/validation#method-ValidationequalTo Also, we have no idea why you get the error because we cannot see the code. http://bin.cakephp.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cak

Re: International validation messages in a contact form

2009-02-10 Thread Gwoo
Supply your validation rules. It looks to me that you are trying to key the error messages off of the "rule", which would be incorrect. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this

Re: Auth error when integrate with ACL in CakePHP 1.2.1.8004

2009-02-10 Thread Gwoo
Actually you should probably use Auth->allow('logout') in your users controller. Also, if you want to add to the actionMap then use Auth::mapActions(); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group.

Re: ClassRegistry::init vs loadModel

2009-02-10 Thread Gwoo
Yes the old loadModel() function from basics was deprecated. However the loadModel() method in Controller is still used. http://api.cakephp.org/class/controller#method-ControllerloadModel --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Fatal error: App::require() - Trying to run through the Example Blog App

2009-02-10 Thread Gwoo
"Permission denied" Check the permissions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: ClassRegistry::init vs loadModel

2009-02-09 Thread Gwoo
Ok hopefully this will be the last time we need to explain this... App::import() only includes the file. So you would new to create a new instance every time. This is not recommended ClassRegistry::init() loads the file, adds the instance to the a object map and returns the instance. This is an

Re: Call to undefined method IniAcl::allow()

2009-02-07 Thread Gwoo
Now, that i think about it about it..IniAcl::allow() was never implemented because Ini was intended to be written first so only check was needed. Feel free to submit an enhancement ticket. If you want to work test case and a patch that would be great. --~--~-~--~~~---~-

Re: DebugKit plugin: not available for Windows users?

2009-02-06 Thread Gwoo
You can download the Debug Kit from: http://thechaw.com/debug_kit/versions Comments about Chaw can be posted on: http://groups.google.com/group/chaw --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. T

Re: New Paypal NVP Component in the Bakery

2009-02-06 Thread Gwoo
Please, do not post both to the bakery and the google group, it is just noise. I am sure that you are proud of the work you did, but a better approach has already been posted. http://bakery.cakephp.org/articles/view/paypal-datasource --~--~-~--~~~---~--~~ You recei

Re: Call to undefined method IniAcl::allow()

2009-02-05 Thread Gwoo
try Configure::write('Acl.classname', 'INI_ACL'); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send em

Re: Quick Question about Chaw

2009-02-05 Thread Gwoo
http://groups.google.com/group/chaw --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-p

Re: Auth component not working in 1.2.1.8004

2009-02-03 Thread Gwoo
sounds like you have the wrong fields. Everything works just fine. Please see the AuthComponent test cases in the nightly build or svn version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post

Re: nice new API layout

2009-01-29 Thread Gwoo
So...your two options are to generate the old style using doxygen or contribute to the api_generator project. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-

Re: AuthComponent doesn't work with scaffolding!

2009-01-29 Thread Gwoo
the best way to solve it definitely to add more ! something likeSCAFFOLD IS NOT FOR PRODUCTION USE --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php

Re: nice new API layout

2009-01-29 Thread Gwoo
the previous version used Doxygen, http://www.stack.nl/~dimitri/doxygen/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe

Re: svn or git?

2009-01-28 Thread Gwoo
> Why does CakePHP use SVN. Because when we started CakePHP 3 years ago, Git did not exist. > while The Chaw appears to use GIT? Because now Git exists and we like it. But as was said Chaw supports both, so if you have a new project you can choose based on your preference. > Will CakePHP event

Re: nice new API layout

2009-01-28 Thread Gwoo
Api Generator is open source. Feel free to fork the project and add the features you want to see. http://thechaw.com/api_generator --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this grou

Re: nice new API layout

2009-01-27 Thread Gwoo
check it out now. routes have been added. search is working better. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from t

Re: nice new API layout

2009-01-27 Thread Gwoo
Api Generator is a plugin. Thats why for now we have it in the url. I will be adding routes so it will be removed. For now we are testing out in the real world and everyone should expect things to change. So, don't update your bookmarks just yet, but also do not expect us to rewrite all the old ur

Re: nice new API layout

2009-01-27 Thread Gwoo
Darn you guys are fast :) Mark Story and I have been working hard to get a truly functional API up for everyone. Yes, this means that old bookmarks have moved. However, we are happy to have working solution written in Cake. Meaning, you can use this plugin for your own projects too. There are st

Re: Cheatsheet & API discrepancies

2009-01-21 Thread Gwoo
There are other posts on the list about the API generation. Doxygen is not helping us anymore so we are working on the solution. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group,

Re: problem with the API?

2009-01-19 Thread Gwoo
Doxygen is not helping us anymore. We are working on the issues, but it's not pretty. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To

Re: Rails 2 CakePHP

2009-01-19 Thread Gwoo
I don't think there are any pure guides for rails->cake, but it sounds like a good idea if someone wanted to take on the task. As for cheatsheets, we have one for 1.2, http://cakephp.org/downloads/Resources Comparing the blog tutorials might be helpful too, http://book.cakephp.org/view/219/Blog

Re: Rails 2 CakePHP

2009-01-19 Thread Gwoo
I don't think there are any pure guides for rails->cake, but it sounds like a good idea if someone wanted to take on the task. As for cheatsheets, we have one for 1.2, http://cakephp.org/downloads/Resources Comparing the blog tutorials might be helpful too, http://book.cakephp.org/view/219/Blog

Re: Security Notice for 1.2.0.7962, Using AuthComponent without SecurityComponent

2009-01-19 Thread Gwoo
@mlix changeset 7979 fixed the issue. Security prevents CSRF and ensures that form inputs properly match the values being submitted. @Pyrite im so sorry. I don't really have a way around your IE7 problem, short of storming the castle and demanding your work installs FF. --~--~-~--~~--

Security Notice for 1.2.0.7962, Using AuthComponent without SecurityComponent

2009-01-16 Thread Gwoo
After the release of 1.2 Final, we received a lot of attention. Some of this came in the form of a security concern. The issue could affect sites relying on the AuthComponent for user authentication, without the use of the SecurityComponent. Essentially, an attacker may be able to obtain credentia

Release: 1.2.1.8004

2009-01-16 Thread Gwoo
The response to CakePHP 1.2 Final has been amazing. In less than a month, we have seen over 40, downloads. These numbers go along nicely with the 2000+ users who grab the svn version. We cannot thank everyone enough for continuing to support the project. As a little reward, we worked hard to

Re: Two alphaNumeric validation on model, but I get a preg_match error on line 187, [CORE/cake/libs/validation.php]

2009-01-14 Thread Gwoo
try a different key name. 'alpha_numeric'=>array( > 'rule'=>'alphaNumeric', --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com

Re: Router maps named params incorrectly on custom route

2009-01-13 Thread Gwoo
Router::connectNamed(array('show_all')); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to c

Re: Quick help in starting to understand Cake's unit tests?

2009-01-12 Thread Gwoo
Probably best to paste your test case. Are you using the ClassRegistry to create the instance of your test model? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to c

Re: /index.php killing session

2009-01-12 Thread Gwoo
This usually happens when you have extra whitespace after a ?> in one of the class files. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com

Re: Cakesheet.pdf 1.2

2009-01-12 Thread Gwoo
Fixed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.co

Re: Problems with using set()

2009-01-08 Thread Gwoo
You are setting the paginate data. Not your restructured data. Btw, you should do this kind of thing in the model. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to

Re: Form Helper in 1.2.0.7962 Does not Hide Id's

2009-01-08 Thread Gwoo
Can you pinpoint where the change happened? I am not aware of any changes to form between RC3 and Final that would affect the usage. Perhaps you were using form->hidden() before? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Associating 2 foreign keys with same table?

2009-01-08 Thread Gwoo
Use aliases. var $hasMany = array( 'HomeGame' => array( 'className' => 'Game', 'foreignKey' => 'games_home_teams_id' ), 'AwayGame' => array( 'className' => 'Game', 'foreignKey' => 'games_away_teams_id' ) ); --~--~-~--~~~---~--~---

Re: really simple authentication

2009-01-08 Thread Gwoo
Authorization (ACL) is not the same as Authentication (Auth). So, yes you can use the Auth component without using ACL. In fact, for Auth, the default setting is to base access completely off of authentication without regards to authorization. http://book.cakephp.org/view/172/Authentication --~--

Re: Baking

2009-01-08 Thread Gwoo
Because there is no way to tell if a relationship is 1-1 or 1-many in this context since in both cases the ingredient_lists table would have a measurement_type_id. Choose the one that fits your application. --~--~-~--~~~---~--~~ You received this message because you

Re: Cakephp on MAMP, Mac OSX

2008-12-26 Thread Gwoo
mod_rewrite needs to be enabled and AllowOverride All in the httpd.conf --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe fr

the Gift of 1.2 Final

2008-12-25 Thread Gwoo
oel Perras has put in a great amount of work and coding CakePHP in TextMate just got a lot easier thanks to him. For all these great resources and more, head on over to the downloads[12] page. We hope you enjoy the big present and the few goodies. Have a great holiday season. - Gwoo, Nate, PhpN

Re: cake_1.1.20.7692.zip console missing?

2008-12-23 Thread Gwoo
Cake 1.1 did not have a console :) Try 1.2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: rss reader

2008-12-22 Thread Gwoo
majna, very close. syntax is slight different App::import('Core', 'Xml'); $wordpress = new XML('http://wordpres_rss_url_here); pr($wordpress->toArray()); //notice toArray instead of Set::reverse() --~--~-~--~~~---~--~~ You received this message because you are su

Re: exclude form helper markup?

2008-12-21 Thread Gwoo
http://live.cakephp.org/shows/view/4 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-

Re: Model : Find : Conditions not working properly?

2008-11-10 Thread Gwoo
> Current Code:: > return $this->find( > 'all', > array( > 'conditions'=>array( > 'DATE(Post.date)' => '>= '.$date, > 'DA

Re: A way to lost your session in Cake 1.2RC3 :-)

2008-11-10 Thread Gwoo
You may want to try setting Security.level to medium in config/core.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe fr

Re: Question about Data Sanitation in CAKEPHP

2008-10-30 Thread Gwoo
The DBO layer handles proper escaping of your data to prevent SQL injection. You do not need to use Sanitize unless you are doing something out of the ordinary. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP

Re: Cake roadmap - Gwoo's Japan talk

2008-10-30 Thread Gwoo
The focus right now is on finalizing 1.2 and we'd like to keep it that way until there is an official "stable" release. At that point the roadmap for 1.3 and 2.0 will be discussed and put into place. The basics are there and anyone is free to contribute ideas in the form of RFC or enhancement tic

Re: Cake RC3 error messages

2008-10-27 Thread Gwoo
Turn off E_STRICT. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mo

Re: How to use Components in Views?

2008-10-25 Thread Gwoo
Actually, it is not simple because it would be wrong to use a component in the view. This is why you cannot find the information in the docs. If you need some data you can set it in the beforeRender callback. --~--~-~--~~~---~--~~ You received this message because y

Re: Disabling Cake's error handling for CLI commands.

2008-10-25 Thread Gwoo
you can use Debugger::output('txt') --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: Is the cookbook broken, or is it just me?

2008-10-25 Thread Gwoo
We are working on fix. Should be back up soon. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email

Re: book.cakephp is down

2008-10-25 Thread Gwoo
#cakephp on irc.freenode.net is the place to report. We are working on the problem. Should be back up very soon. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to c

  1   2   3   4   5   6   7   >