# |
Aug 9th 2008, 06:28 |
skua |
it's will set debug to 2 |
# |
Aug 9th 2008, 06:27 |
skua |
no cause cakephp read your core.php |
# |
Aug 9th 2008, 06:27 |
Mickey689 |
skua, thanks, but will it affect the whole site though? |
# |
Aug 9th 2008, 06:27 |
Mickey689 |
skua, thanks, but will it affect the whole site after that statement? |
# |
Aug 9th 2008, 06:26 |
skua |
in your foo action for example |
# |
Aug 9th 2008, 06:26 |
skua |
where you need the debug to 0 :) |
# |
Aug 9th 2008, 06:26 |
skua |
Configure::write('debug', 0); |
# |
Aug 9th 2008, 06:26 |
Mickey689 |
anyone knows how to do this? |
# |
Aug 9th 2008, 06:25 |
Mickey689 |
let i have my whole site debug mode set to 2 but..for some reason, i need to set the debug page on foo.ctp to be 0 |
# |
Aug 9th 2008, 06:25 |
Mickey689 |
anyone knows how to set the debug mode on a particular page? |
# |
Aug 9th 2008, 06:24 |
Mickey689 |
hi everyone :).. |
# |
Aug 9th 2008, 06:09 |
TheBig |
is there a way to have a $javascript->codeBlock() be shown in HEAD section? |
# |
Aug 9th 2008, 06:08 |
foxmask |
except simpletest what can we use with cakephp ? |
# |
Aug 9th 2008, 06:07 |
foxmask |
the link of sf.net is broken ; cant dl it |
# |
Aug 9th 2008, 06:07 |
foxmask |
does someone use SimpleTest ? |
# |
Aug 9th 2008, 05:55 |
skua |
ye :) |
# |
Aug 9th 2008, 05:55 |
Howard`` |
not sure what you mean achew22 |
# |
Aug 9th 2008, 05:55 |
Howard`` |
if you're running RC2, a lot of the model stuff has been reformed and the former items which only performed queries on 1 row handle everything now |
# |
Aug 9th 2008, 05:55 |
achew22 |
is it possible to get some kind of SQL out from a shell task? |
# |
Aug 9th 2008, 05:54 |
skua |
D |
# |
Aug 9th 2008, 05:54 |
skua |
I thinked that del was only for one item |
# |
Aug 9th 2008, 05:54 |
Howard`` |
yw :D |
# |
Aug 9th 2008, 05:54 |
skua |
thank a lot ! |
# |
Aug 9th 2008, 05:54 |
skua |
ah yeah that work's ! |
# |
Aug 9th 2008, 05:54 |
Howard`` |
should delete those ids |
# |
Aug 9th 2008, 05:54 |
Howard`` |
then just $this->Model->del |
# |
Aug 9th 2008, 05:54 |
Howard`` |
well you can just set the model ID in cake with $this->Model->id = $ids |
# |
Aug 9th 2008, 05:53 |
skua |
you mean Model->del($ids) ? |
# |
Aug 9th 2008, 05:53 |
Howard`` |
you could just use $this->Model->del actually i think |
# |
Aug 9th 2008, 05:53 |
Howard`` |
I've never done it with an array but i'd imagine it would work the same |
# |
Aug 9th 2008, 05:53 |
Howard`` |
I think you can just save a headache and write $this->Model->id = $ids; then $this->Model->deleteAll |
# |
Aug 9th 2008, 05:52 |
skua |
that should work not ? |
# |
Aug 9th 2008, 05:51 |
skua |
$this->Model->deleteAll(array('id' => $ids) ); |
# |
Aug 9th 2008, 05:51 |
skua |
$ids = array('2','3','4','5'); |
# |
Aug 9th 2008, 05:50 |
Howard`` |
ok take care, AD7six |
# |
Aug 9th 2008, 05:50 |
Howard`` |
Thanks |
# |
Aug 9th 2008, 05:50 |
AD7six |
bbl |
# |
Aug 9th 2008, 05:49 |
Howard`` |
alright then |
# |
Aug 9th 2008, 05:49 |
AD7six |
or rather make it work then make it work better.678 |
# |
Aug 9th 2008, 05:48 |
AD7six |
Howard``: if not don't over think - forget sharding, forget everything. make it owrk and then just add indexes - which make finding info (find all messages to this user) faster |
# |
Aug 9th 2008, 05:48 |
Howard`` |
the idea can work i just need to figure out how to put everything together |