Logs for #cakephp

Page 25 of 36,922, showing 100 records out of 3,692,143 total, starting on record 2,401, ending on 2,500

# At Username Text
# Aug 7th 2008, 05:33 batcoder-7 alkemann: that can only do soo much
# Aug 7th 2008, 05:34 alkemann primeminister: eh.. makes no sense to me.. the id field is unique
# Aug 7th 2008, 05:34 primeminister alkemann: you are right. that is. so... :) my bad
# Aug 7th 2008, 05:34 alkemann heh ok
# Aug 7th 2008, 05:34 primeminister alkemann: no need for extra security in query
# Aug 7th 2008, 05:34 primeminister sorry, was a bit off
# Aug 7th 2008, 05:49 zeen anyone got a jaiku account so they can invite me?
# Aug 7th 2008, 05:59 poluta1 wewww... :D it is so difficult creating custom model validation for captcha
# Aug 7th 2008, 05:59 poluta1 yeaaaa back to old way :D
# Aug 7th 2008, 06:02 alkemann poluta1: http://bakery.cakephp.org/articles/view/integrate-cakephp-with-kcaptcha
# Aug 7th 2008, 06:02 alkemann http://bakery.cakephp.org/articles/view/captcha-component-with-phpcaptcha
# Aug 7th 2008, 06:02 alkemann http://bakery.cakephp.org/articles/view/improved-captcha-component
# Aug 7th 2008, 06:03 alkemann rtfm <3
# Aug 7th 2008, 06:03 stevieboy you mean rtfb
# Aug 7th 2008, 06:03 alkemann yea
# Aug 7th 2008, 06:03 stevieboy ;)
# Aug 7th 2008, 06:05 poluta1 woyoo... thx everybody... :)
# Aug 7th 2008, 06:07 trueaxe what's the right find condition for this sql satement: WEEK(created,1) = WEEK(CURRENT_DATE, 1)??
# Aug 7th 2008, 06:07 alkemann honestly i dont demend that ppl read manuals, but putting your key word in a search field?
# Aug 7th 2008, 06:07 trueaxe me?
# Aug 7th 2008, 06:07 alkemann no
# Aug 7th 2008, 06:10 stevieboy alkemann: i agree
# Aug 7th 2008, 06:11 stevieboy trueaxe: maybe it'd be better if you dont use mysql-specific functions in cake
# Aug 7th 2008, 06:12 trueaxe stevieboy: hmm, might be a good idea
# Aug 7th 2008, 06:12 stevieboy cakephp is all about being db-independent
# Aug 7th 2008, 06:12 stevieboy mvc ftw
# Aug 7th 2008, 06:13 stevieboy you better should,bot
# Aug 7th 2008, 06:13 trueaxe well, it's so much easier with the mysql functions
# Aug 7th 2008, 06:13 trueaxe if it works
# Aug 7th 2008, 06:13 stevieboy i know
# Aug 7th 2008, 06:13 stevieboy but your app would be glued to mysql
# Aug 7th 2008, 06:14 trueaxe yeah
# Aug 7th 2008, 06:15 trueaxe still, it's a small app and the db will be mysql. Maybe I will change it sometimes later
# Aug 7th 2008, 06:16 stevieboy then at least leave a comment with TODO there explaining the "problem"
# Aug 7th 2008, 06:16 stevieboy i'd suggest
# Aug 7th 2008, 06:17 trueaxe WEEK(created,1) = WEEK(CURRENT_DATE, 1) matches 'WEEK(Game.created,1)' => '-!WEEK(CURRENT_DATE, 1)'
# Aug 7th 2008, 06:17 trueaxe thanks I will do that
# Aug 7th 2008, 06:18 trueaxe though -! is deprecated
# Aug 7th 2008, 06:18 trueaxe damn
# Aug 7th 2008, 06:18 stevieboy <>
# Aug 7th 2008, 06:18 stevieboy ?
# Aug 7th 2008, 06:18 alkemann achew22: u still here?
# Aug 7th 2008, 06:18 achew22 yeah
# Aug 7th 2008, 06:18 alkemann i have a new version of step one of logging
# Aug 7th 2008, 06:19 trueaxe -! is an escape flag which tells cake that WEEK(..) is not a string
# Aug 7th 2008, 06:19 achew22 ooh
# Aug 7th 2008, 06:19 alkemann saves a in a text field like this :colour (Greenish) => (Green) description (Its good and green and moist!) => (Its good and green) country_id (219) => (221)
# Aug 7th 2008, 06:19 alkemann space expensive, but if u really need to know changes
# Aug 7th 2008, 06:20 achew22 space is cheap
# Aug 7th 2008, 06:21 alkemann cant figure out how to update the file on the google code
# Aug 7th 2008, 06:21 achew22 2.2TB of file storage free on one computer in my house
# Aug 7th 2008, 06:21 achew22 not too worried
# Aug 7th 2008, 06:22 alkemann achew22: http://code.google.com/p/alkemann/downloads/detail?name=logable.php
# Aug 7th 2008, 06:23 achew22 looks good
# Aug 7th 2008, 06:23 zeen isn't it loggable?
# Aug 7th 2008, 06:24 alkemann possibly :P
# Aug 7th 2008, 06:24 zeen 36,900 for Loggable, 4,180 for Logable :P
# Aug 7th 2008, 06:24 alkemann i name my cake assets with spelling errors. its my thing :P
# Aug 7th 2008, 06:24 alkemann like MenyHelper
# Aug 7th 2008, 06:25 alkemann u know there are more accurate web spell checks than what has most hits right? :P
# Aug 7th 2008, 06:25 zeen ah you're not native English :)
# Aug 7th 2008, 06:25 alkemann nope
# Aug 7th 2008, 06:25 zeen well that theory works different with code :)
# Aug 7th 2008, 06:26 zeen that works with populated search results
# Aug 7th 2008, 06:35 zeen what's that commercial licence called?
# Aug 7th 2008, 06:35 zeen e.g. free for anyone using it not using it for a business but if you're a business you need to pay
# Aug 7th 2008, 06:36 Flxr how can I use a HAVING condition with find('all', .....) ?
# Aug 7th 2008, 06:41 alkemann Flxr: for what purpose?
# Aug 7th 2008, 06:41 Flxr filtering resultset
# Aug 7th 2008, 06:41 Flxr after group by
# Aug 7th 2008, 06:41 Flxr I need: HAVING COUNT(*) = 2
# Aug 7th 2008, 06:44 alkemann afaik that is database specific? mysql? cake tries to be db_source ignorant, so maybe you have to use custom query for such a call?
# Aug 7th 2008, 06:44 alkemann achew22: u tested it?
# Aug 7th 2008, 06:46 Flxr alkemann: HAVING is not MySQL specific, it's a valid SQL DML function
# Aug 7th 2008, 06:46 alkemann i see
# Aug 7th 2008, 06:46 alkemann well what does the api for find say about it?
# Aug 7th 2008, 06:49 Flxr only referance is this: http://api.cakephp.org/dbo__source_8php-source.html#l01704
# Aug 7th 2008, 06:50 alkemann dunno then
# Aug 7th 2008, 06:51 Kitara how can you allow users to have access to a several pages with ACL by default without logging in ?
# Aug 7th 2008, 06:59 zeen google code seems a little foobared atm, lots of 404/500s
# Aug 7th 2008, 06:59 alkemann yea :(
# Aug 7th 2008, 06:59 trueaxe Kitara: $this->Auth->allowedActions = array('index', 'view');
# Aug 7th 2008, 07:08 Kitara trueaxe: so i have to place that in all the controllers where i want people to have full access in the beforeFilter ?
# Aug 7th 2008, 07:08 Kitara you already answered that ;)
# Aug 7th 2008, 07:08 Kitara usualy i dont see my PM's :)
# Aug 7th 2008, 07:09 jonathan_ hi, got a quick question if anyones got time
# Aug 7th 2008, 07:10 Lion30 I hate this way of organizing things :S.... I am making a protal with many modules and I am having 20+controllers all in one directory (even If I frequently use only 3 or 4 of them)... the same goes with models and views driectories
# Aug 7th 2008, 07:10 shockzZ hey guys .. i copied my cake/app (from windows Xampp) to a linux with lampp to do further work on linux .. and now it seems like cake can't find it's views (i dumped the variables at the end of the controller function and on beginning of the view, i only receive it once and then an "exhaust" error or a blank page) -> wtf!?
# Aug 7th 2008, 07:10 Lion30 I hope someday there will be a way to organize controllers and models in someking of groups / subdirectories
# Aug 7th 2008, 07:11 jonathan_ @lion30 if you edited the main controller class you could in theory do this
# Aug 7th 2008, 07:12 stevieboy shockzZ: check the cake_include_dir in webroot/index.php
# Aug 7th 2008, 07:12 shockzZ k mom
# Aug 7th 2008, 07:13 jonathan_ Whats the syntax to render a view from a different controller?
# Aug 7th 2008, 07:14 shockzZ @stevieboy it's the same as the ROOT path and i haven't changed that since windows
# Aug 7th 2008, 07:14 shockzZ donno what's wrong there but a view pages give a view and others do not
# Aug 7th 2008, 07:15 stevieboy shockzZ: ok, i wanted you to check cause the cake bake-console app adds an absolute path there
# Aug 7th 2008, 07:15 Lion30 Ok, I exagerated a bit... I didn't realized :S I don't have only 20 controllers but 43 of them!! :S :S :S
# Aug 7th 2008, 07:15 shockzZ ah k (haven't ever used that)
# Aug 7th 2008, 07:15 Caceres i use a generatelist(); but i have one error Warning (512): SQL Error: 1064:, anyboy whats know this?
# Aug 7th 2008, 07:15 alkemann achew22: u seen this http://www.google.no/search?q=cakephp+shadowtablesandie=utf-8andoe=utf-8andaq=tandrls=org.mozilla:nb-NO:officialandclient=firefox-a ?