Re: cake 3 - issue saving null datetime

2014-04-29 Thread Alberto Pagliarini
yep :) 2014-04-29 0:07 GMT+02:00 euromark dereurom...@gmail.com: See - already fixed after not even 1 hour :) Am Montag, 28. April 2014 22:35:02 UTC+2 schrieb bato: I opened an issue https://github.com/cakephp/cakephp/issues/3410 Il giorno lunedì 28 aprile 2014 18:46:28 UTC+2, euromark

Trace request URL on error

2014-04-29 Thread HK
Is it possible to trace the requested url in all errors on error.log? I have a website and occasionally see the error.log. Sometimes I get : 2014-04-23 14:50:07 Error: [MissingControllerException] Controller class Apple-touch-icon-precomposed.png Controller could not be found. Exception

calling all scrape builders!

2014-04-29 Thread Danni Herbertson
does anyone want to give me a quote for building me a scrape to get the data from a website please?? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP

Re: CakePHP 3.x - Schema, Mysql and LONGTEXT

2014-04-29 Thread Thomas von Hassel
Would you add this to 2.x or should i just do it for 3.x ? /thomas On 28 Apr 2014, at 20:10, José Lorenzo jose@gmail.com wrote: In theory you can use whatever text type and cake will still work with it. The problem is at generating tables from fixtures, we don't support that type of

Re: CakePHP 3.x - Schema, Mysql and LONGTEXT

2014-04-29 Thread euromark
It is probably worth adding to 2.6. Am Dienstag, 29. April 2014 13:50:34 UTC+2 schrieb Thomas von Hassel: Would you add this to 2.x or should i just do it for 3.x ? /thomas On 28 Apr 2014, at 20:10, José Lorenzo jose...@gmail.com javascript: wrote: In theory you can use whatever text

CakePHP 3.x - Accesing relations

2014-04-29 Thread Thomas von Hassel
Hey In 2.x when in a Model class you could do something like $this-RelatedModel-find('all'); What's the right way to access related tables in a Table class ? /thomas -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received

Delete only users sites

2014-04-29 Thread Gerculy Robert
Hi there, I'm working on a traffic exchange site and since I'm very new I used this login script : http://miftyisbored.com/a-complete-login-and-authentication-application-tutorial-for-cakephp-2-3/ Everything works nicely. Based on that code I created a few pages ( Add site, List sites, delete

Re: CakePHP 3.x - Accesing relations

2014-04-29 Thread José Lorenzo
You can do exactly the same in cake 3 On Tuesday, April 29, 2014 9:21:18 PM UTC+2, Thomas von Hassel wrote: Hey In 2.x when in a Model class you could do something like $this-RelatedModel-find(‘all’); What’s the “right” way to access related tables in a Table class ? /thomas

Re: CakePHP 3.x - Accesing relations

2014-04-29 Thread Thomas von Hassel
aah, yes when i tried using customer finders it worked, but not calling arbitrary functions that are defined in the Table object. I guess the right way is to use custom finders for everything then ? /thomas On 29 Apr 2014, at 22:06, José Lorenzo jose@gmail.com wrote: You can do exactly

Re: CakePHP 3.x - Accesing relations

2014-04-29 Thread José Lorenzo
Calling custom functions should work, if it does not it is either a bug or a configuration error on your side On Tuesday, April 29, 2014 10:38:10 PM UTC+2, Thomas von Hassel wrote: aah, yes when i tried using customer finders it worked, but not calling arbitrary functions that are defined in

Cakephp and HasMany not returning association

2014-04-29 Thread Paul Josephson
*I have started to play around with *3.0. *I have taken one of our models from *2.x *and **moving to *3.0 *for **practice **and **testing*. *I have come across **and **issue when calling a Model*/*Table **and **attempting to **include **an hasMany association*. *But*, *even though I **use

Re: Delete only users sites

2014-04-29 Thread Stephen S
Quite a few ways to go around it, for example you can create something like this in your Site model (or even App Model if using $this-alias) public function belongsToUser($siteId = null, $userId = null) { $site = $this-find('count', array( 'conditions' = array( 'Site.id' =

CakePHP 2.4.9 released

2014-04-29 Thread mark_story
The CakePHP core team is happy to announce the immediate availability of 2.4.9[1]. This releases contain a bug fix related to the security fix in 2.4.8. A short list of changes you can expect in 2.4.9 are: * FormHelper::postLink() now works correctly with SecurityComponent. In 2.4.8 a mistake

un

2014-04-29 Thread ZAky
un -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: CakePHP 3.x - Accesing relations

2014-04-29 Thread Thomas von Hassel
Ok, auto correct messed that up. Custom finder methods like this one on the related table don't work either: public function findSome(Query $query, array $options) { } when calling: From inside the Table class: $this-Related-find('some'); The finder method itself works when called like