# |
Aug 9th 2008, 16:29 |
markstory |
COREcakeCORElibsCOREconfigure.php? |
# |
Aug 9th 2008, 16:29 |
Bloc |
ok..but dispatcher wasn't found... |
# |
Aug 9th 2008, 16:29 |
wojt |
mod_rewrite is ok |
# |
Aug 9th 2008, 16:29 |
markstory |
whats going on with your paths. |
# |
Aug 9th 2008, 16:29 |
wojt |
without mod_rewrite it would display the site anyway but with no styles attached |
# |
Aug 9th 2008, 16:27 |
Bloc |
wojt no mod_rewrite? |
# |
Aug 9th 2008, 16:19 |
acidicbase |
The first argument should be an array |
# |
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 |