Log message #109531

# At Username Text
# Aug 7th 2008, 11:14 loki_racer it's something about the pages_controller used to render www.domain.com/
# Aug 7th 2008, 11:14 tbranyen Quick question, I just checked the API and source code to try and figure this out on my own. How can I check if an entry exists in the DB? Model doesn't seem to have any exists function.
# Aug 7th 2008, 11:14 _psychic_ oh that *is* the layout
# Aug 7th 2008, 11:13 loki_racer ADmad is doesn't work in any of the elements from /index page, but from /forums /polls, etc it does
# Aug 7th 2008, 11:13 ADmad loki_racer:calling $javascript->link in the layout with inline false wont work
# Aug 7th 2008, 11:13 loki_racer look at the pastebin link http://pastebin.com/d447729f0
# Aug 7th 2008, 11:12 _psychic_ loki_racer: can I see the layout file?
# Aug 7th 2008, 11:12 jYeckel hey wondering about complex queries http://pastie.org/249274 wondering how i can get cake not to put '' around my betweens
# Aug 7th 2008, 11:12 loki_racer tomas, the file is in the helper and is actually given to the view class, but it is never echo'd in the head
# Aug 7th 2008, 11:12 loki_racer yes psychic
# Aug 7th 2008, 11:12 tomas- i would just start putting in debugging code (ie 'error_log()' etc) into the core helper at that point to debug it
# Aug 7th 2008, 11:11 _psychic_ loki_racer: got $scripts_for_layout in your layout?
# Aug 7th 2008, 11:11 loki_racer therefore no echo, and the false param should put that file in the head
# Aug 7th 2008, 11:11 _psychic_ ^
# Aug 7th 2008, 11:11 loki_racer i am testing for non inline
# Aug 7th 2008, 11:11 _psychic_ got $scripts_for_layout in your layout?
# Aug 7th 2008, 11:11 loki_racer it doesn't put that js in the head, I know, I know, I can put it in the head, but it's a test.......for some reason on this page, my index page, javascript help can't do not inline
# Aug 7th 2008, 11:10 _psychic_ yeah
# Aug 7th 2008, 11:10 tomas- with the 'echo'?
# Aug 7th 2008, 11:10 tomas- echo $javascript->link ?
# Aug 7th 2008, 11:10 _psychic_ loki_racer: ?
# Aug 7th 2008, 11:09 loki_racer http://pastebin.com/d447729f0 come on, someone has to know what line 58 doesn't do anything
# Aug 7th 2008, 11:09 tomas- (this) cake is sweet.....
# Aug 7th 2008, 11:05 tomas- I like cake.
# Aug 7th 2008, 11:04 _psychic_ ACTION just made a shell that does that
# Aug 7th 2008, 11:04 franko great, thanks!
# Aug 7th 2008, 11:04 _psychic_ franko: clear your app/tmp/cache/*/* files
# Aug 7th 2008, 11:03 franko Fatal error: Cannot redeclare class Set in /var/www/.... on line 0
# Aug 7th 2008, 11:03 franko I'm deploying cake onto a server, getting this error suddenly - has anyone encountered it?
# Aug 7th 2008, 11:03 _psychic_ haha
# Aug 7th 2008, 11:01 tomas- that i can just read it as documentation
# Aug 7th 2008, 11:01 tomas- damned cake code base being so clean
# Aug 7th 2008, 11:01 tomas- gah, $this->paginate('Model',array('cond1 = ...'))
# Aug 7th 2008, 10:57 tomas- is it possible to tell $this->paginate() some conditions parameters? I am doing a FULLTEXT search and need to pass "MATCH(cols) AGAINST ('phrase')" to the WHERE
# Aug 7th 2008, 10:57 Matt1 like if I have english as locale, how would I get 'EN' ?
# Aug 7th 2008, 10:56 Matt1 is there some array/object I can echo out when debugging the language setting for the site language ?
# Aug 7th 2008, 10:52 _psychic_ and this: http://bakery.cakephp.org/articles/view/ldap-datasource-for-cakephp
# Aug 7th 2008, 10:51 webpigeon mmm, i'll have a look
# Aug 7th 2008, 10:51 _psychic_ you can look at the core datasource(s) for an idea though
# Aug 7th 2008, 10:51 webpigeon damn, thought so, Thanks anyway :)
# Aug 7th 2008, 10:51 _psychic_ still in the works