# |
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 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:09 |
jonathan_ |
hi, got a quick question if anyones got time |
# |
Aug 7th 2008, 07:08 |
Kitara |
usualy i dont see my PM's :) |
# |
Aug 7th 2008, 07:08 |
Kitara |
you already answered that ;) |
# |
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, 06:59 |
trueaxe |
Kitara: $this->Auth->allowedActions = array('index', 'view'); |
# |
Aug 7th 2008, 06:59 |
alkemann |
yea :( |
# |
Aug 7th 2008, 06:59 |
zeen |
google code seems a little foobared atm, lots of 404/500s |
# |
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:50 |
alkemann |
dunno then |
# |
Aug 7th 2008, 06:49 |
Flxr |
only referance is this: http://api.cakephp.org/dbo__source_8php-source.html#l01704 |
# |
Aug 7th 2008, 06:46 |
alkemann |
well what does the api for find say about it? |
# |
Aug 7th 2008, 06:46 |
alkemann |
i see |
# |
Aug 7th 2008, 06:46 |
Flxr |
alkemann: HAVING is not MySQL specific, it's a valid SQL DML function |
# |
Aug 7th 2008, 06:44 |
alkemann |
achew22: u tested it? |
# |
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:41 |
Flxr |
I need: HAVING COUNT(*) = 2 |
# |
Aug 7th 2008, 06:41 |
Flxr |
after group by |
# |
Aug 7th 2008, 06:41 |
Flxr |
filtering resultset |
# |
Aug 7th 2008, 06:41 |
alkemann |
Flxr: for what purpose? |
# |
Aug 7th 2008, 06:36 |
Flxr |
how can I use a HAVING condition with find('all', .....) ? |
# |
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:35 |
zeen |
what's that commercial licence called? |
# |
Aug 7th 2008, 06:26 |
zeen |
that works with populated search results |
# |
Aug 7th 2008, 06:25 |
zeen |
well that theory works different with code :) |
# |
Aug 7th 2008, 06:25 |
alkemann |
nope |
# |
Aug 7th 2008, 06:25 |
zeen |
ah you're not native English :) |
# |
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:24 |
alkemann |
like MenyHelper |
# |
Aug 7th 2008, 06:24 |
alkemann |
i name my cake assets with spelling errors. its my thing :P |
# |
Aug 7th 2008, 06:24 |
zeen |
36,900 for Loggable, 4,180 for Logable :P |
# |
Aug 7th 2008, 06:24 |
alkemann |
possibly :P |
# |
Aug 7th 2008, 06:23 |
zeen |
isn't it loggable? |
# |
Aug 7th 2008, 06:23 |
achew22 |
looks good |
# |
Aug 7th 2008, 06:22 |
alkemann |
achew22: http://code.google.com/p/alkemann/downloads/detail?name=logable.php |
# |
Aug 7th 2008, 06:21 |
achew22 |
not too worried |
# |
Aug 7th 2008, 06:21 |
achew22 |
2.2TB of file storage free on one computer in my house |
# |
Aug 7th 2008, 06:21 |
alkemann |
cant figure out how to update the file on the google code |
# |
Aug 7th 2008, 06:20 |
achew22 |
space is cheap |
# |
Aug 7th 2008, 06:19 |
alkemann |
space expensive, but if u really need to know changes |