# |
Sep 13th 2009, 09:49 |
mr_pinc |
i guess not |
# |
Sep 13th 2009, 09:48 |
savant |
mr_pinc: do you have debug_kit? |
# |
Sep 13th 2009, 09:48 |
mr_pinc |
But it's weird because it only happens with some records not all |
# |
Sep 13th 2009, 09:47 |
mr_pinc |
Hey guys I'm having a weird issue when I read a Models data and populate form info in my Edit view, for some records the form does not display the currently set data, even though I know the correct info has been entered into the view |
# |
Sep 13th 2009, 09:38 |
nini |
nice |
# |
Sep 13th 2009, 09:38 |
HardPhuck |
with unset |
# |
Sep 13th 2009, 09:38 |
HardPhuck |
doing two saves now |
# |
Sep 13th 2009, 09:38 |
HardPhuck |
nini, thanks got it working |
# |
Sep 13th 2009, 09:35 |
Miroslav_Vojtu |
ok thx :-D |
# |
Sep 13th 2009, 09:34 |
nini |
Miroslav_Vojtu: just try it and debug it, u will see then |
# |
Sep 13th 2009, 09:34 |
Miroslav_Vojtu |
normaly $this->Option->find..... ? |
# |
Sep 13th 2009, 09:33 |
Miroslav_Vojtu |
and how to acces hero to Option model?: |
# |
Sep 13th 2009, 09:33 |
nini |
Miroslav_Vojtu: Configure::write(); sets also arrays |
# |
Sep 13th 2009, 09:32 |
Miroslav_Vojtu |
I need to set it from DB.... i have options table and i need to preset (in appController beforeFilter() or somewhere on application start) them to def constants |
# |
Sep 13th 2009, 09:30 |
markstory |
or constants |
# |
Sep 13th 2009, 09:30 |
nini |
Miroslav_Vojtu: then read it with Configure::read('defColor'); |
# |
Sep 13th 2009, 09:29 |
nini |
Miroslav_Vojtu: use Configure::write('defColor', 'blue'); in your bootstrap.php |
# |
Sep 13th 2009, 09:28 |
Miroslav_Vojtu |
please how to set global wariables like $this->deafaultColor = blue.... accesable in every model and controller |
# |
Sep 13th 2009, 09:26 |
GustavoRamos |
yep, markstory: i've noted it too |
# |
Sep 13th 2009, 09:25 |
markstory |
it still says 1.2.4 |
# |
Sep 13th 2009, 09:25 |
markstory |
the console version number is wrong on 1.2.5 |
# |
Sep 13th 2009, 09:22 |
winegoddess |
okay - so i will updgrade! :) |
# |
Sep 13th 2009, 09:22 |
winegoddess |
nini: i see this: Welcome to CakePHP v1.2.4.8284 Console |
# |
Sep 13th 2009, 09:21 |
nini |
winegoddess: cake/VERSION |
# |
Sep 13th 2009, 09:20 |
GustavoRamos |
mmm |
# |
Sep 13th 2009, 09:20 |
winegoddess |
GustavoRamos: sorry to be clueless, but how can I quickly tell? the comments talk of modified dates, but not a version |
# |
Sep 13th 2009, 09:19 |
winegoddess |
GustavoRamos: its not far into the code |
# |
Sep 13th 2009, 09:19 |
winegoddess |
GustavoRamos: it seems to look okay |
# |
Sep 13th 2009, 09:18 |
nini |
ignore it then |
# |
Sep 13th 2009, 09:18 |
GustavoRamos |
you have 1.2.5 ? |
# |
Sep 13th 2009, 09:18 |
GustavoRamos |
strange |
# |
Sep 13th 2009, 09:18 |
winegoddess |
i have tried looking back and dont see anything wrong |
# |
Sep 13th 2009, 09:17 |
winegoddess |
its not my code, its cake code i downloaded |
# |
Sep 13th 2009, 09:17 |
GustavoRamos |
yup |
# |
Sep 13th 2009, 09:17 |
GustavoRamos |
•Antoniete• check query |
# |
Sep 13th 2009, 09:17 |
Antoniete |
brasileiro? |
# |
Sep 13th 2009, 09:17 |
Antoniete |
ops |
# |
Sep 13th 2009, 09:17 |
GustavoRamos |
it happens alot here |
# |
Sep 13th 2009, 09:17 |
Antoniete |
GustavoRamos: |
# |
Sep 13th 2009, 09:17 |
GustavoRamos |
•winegoddess• maybe your missin ; is somewhere up in the code |
# |
Sep 13th 2009, 09:16 |
winegoddess |
nini: i cant find a missing semicolon, and I know sometimes errors arent quite accurate - just wished i could make the red x go away |