Log message #114009

# At Username Text
# Aug 9th 2008, 16:16 wojt PHP Version 5.2.1
# Aug 9th 2008, 16:15 adj what php version
# Aug 9th 2008, 16:15 wojt 2 tables in db and nothing fancy
# Aug 9th 2008, 16:15 wojt I created a simple application to manage links
# Aug 9th 2008, 16:15 wojt do you know what could be causing that error? http://thecolumbiahotel.co.uk/
# Aug 9th 2008, 16:15 acidicbase does throw errors or what?
# Aug 9th 2008, 16:14 acidicbase what is cakephp doing on your server
# Aug 9th 2008, 16:12 wojt at least I know it is possible to run it on freebsd
# Aug 9th 2008, 16:12 wojt I've spent a couple of hours trying to configure webroot/index.php and I couldn't fix that
# Aug 9th 2008, 16:09 wojt a friend of mine suggested to check directory separators but he was actually guessing
# Aug 9th 2008, 16:09 linked_ night guys
# Aug 9th 2008, 16:08 wojt cpierce: yes, I have php installed but I'm facing serious problems with paths
# Aug 9th 2008, 16:08 ADmad wojt: cakephp is a php framework.. so it will run fine on anything that can run php scripts
# Aug 9th 2008, 16:08 cpierce ADmad: thanx
# Aug 9th 2008, 16:07 ADmad cpierce: then use find with field like "MAX(id) as max_id"
# Aug 9th 2008, 16:07 cpierce wojt: yes if you can get php running
# Aug 9th 2008, 16:07 cpierce ADmad: in other words it won't be during a save
# Aug 9th 2008, 16:07 wojt is it possible to run cakephp on freebsd server??
# Aug 9th 2008, 16:07 wojt hi
# Aug 9th 2008, 16:06 cpierce i don't want to save i just wanna get the highest one
# Aug 9th 2008, 16:06 ADmad cpierce: after a save $this->Model->id will contain the new id
# Aug 9th 2008, 16:06 ADmad TonkaTruck: yes.. the router already sets all params there so there's so there's no need to explicity call router functions
# Aug 9th 2008, 16:05 cpierce like if i have id autoincrement and i want the highest value set?
# Aug 9th 2008, 16:05 cpierce is there a way to get the last id out of a table with cake
# Aug 9th 2008, 16:05 TonkaTruck ADmad: I see. Probably better to use $this->params like you say.
# Aug 9th 2008, 16:02 TonkaTruck Oh I see. I been using var_dump.
# Aug 9th 2008, 16:01 ADmad TonkaTruck: its a general func... short for print_r
# Aug 9th 2008, 16:00 TonkaTruck ADmad: I do not know how to implement that. Is pr() a function in the controller class?
# Aug 9th 2008, 15:58 ADmad TonkaTruck: did u check what i suggested ?
# Aug 9th 2008, 15:57 TonkaTruck ADmad: this is what I did, it seems to work nicely, too: http://bin.cakephp.org/view/946036934
# Aug 9th 2008, 15:50 TonkaTruck ADmad: I was just noticing Router::getParams() has a current argument. Let me try that.
# Aug 9th 2008, 15:49 ADmad TonkaTruck: pr($this->params)
# Aug 9th 2008, 15:49 VolVE flash just seems a bit limited, at least in 1.1
# Aug 9th 2008, 15:49 VolVE jaredhoyt: hmm, perhaps that was it... curiopus
# Aug 9th 2008, 15:49 jaredhoyt *haven't
# Aug 9th 2008, 15:49 jaredhoyt VolVE: you may be referring to Controller::flash() ... and i have "heard" people recommend using Session->setFlash() and session->flash() over Controller::flash() but have seen any deprecation plans documented
# Aug 9th 2008, 15:47 TonkaTruck What might be a good way to detect the current prefix route prefix? I can think of a hackish way but all I see in Router:: is prefixes() which returns an array of existing prefixes regardless of which prefix is currently in use.
# Aug 9th 2008, 15:37 mukesh The FileEngine is being used for caching. To change the config edit APP/config/core.php waht to edit here???
# Aug 9th 2008, 15:36 mukesh not able to install on wamp geting errors..
# Aug 9th 2008, 15:30 VolVE thanks :D
# Aug 9th 2008, 15:30 VolVE well, ok then