# |
Sep 12th 2009, 15:37 |
dogmatic69 |
can i call clearCache like $this->clearCache() in app_controller, tried looking it up but Error: The requested address '/api_generator/api_classes/view_file/basics.php' was not found on this server. |
# |
Sep 12th 2009, 15:36 |
dogmatic69 |
ye the host |
# |
Sep 12th 2009, 15:36 |
AD7six |
heh - I assume you meant the host :) |
# |
Sep 12th 2009, 15:35 |
AD7six |
if you have no app, there is no such problem |
# |
Sep 12th 2009, 15:35 |
dogmatic69 |
lol... im in south africa... no such thing |
# |
Sep 12th 2009, 15:35 |
AD7six |
dogmatic69: you could trigger clearCache from your app |
# |
Sep 12th 2009, 15:34 |
PhpNut |
get a real host with shell access ;) |
# |
Sep 12th 2009, 15:34 |
dogmatic69 |
im using filezilla... dont think there is such luxuries |
# |
Sep 12th 2009, 15:34 |
PhpNut |
rm this-\>params.log |
# |
Sep 12th 2009, 15:34 |
PhpNut |
comment the > |
# |
Sep 12th 2009, 15:33 |
dogmatic69 |
no root |
# |
Sep 12th 2009, 15:33 |
dogmatic69 |
its shared hosting and i only got ftp access |
# |
Sep 12th 2009, 15:33 |
dogmatic69 |
Command: RNFR this->params.log Response: 550 this->params.log: Forbidden filename |
# |
Sep 12th 2009, 15:33 |
dogmatic69 |
i created a log "this->params.log" by mistake... |
# |
Sep 12th 2009, 15:32 |
dogmatic69 |
or delete |
# |
Sep 12th 2009, 15:32 |
dogmatic69 |
it was a mistake... i cant open or edit or rename it |
# |
Sep 12th 2009, 15:32 |
AD7six |
also what do youmean you can't delete them |
# |
Sep 12th 2009, 15:32 |
AD7six |
dogmatic69: why would you request an invalid filename, as your filename |
# |
Sep 12th 2009, 15:31 |
dogmatic69 |
to strip > and others out |
# |
Sep 12th 2009, 15:31 |
dogmatic69 |
would that be a worthwile enhancement? |
# |
Sep 12th 2009, 15:31 |
dogmatic69 |
AD7six: when you use ->log you can create files like abc->xyz and then you cant delete them |
# |
Sep 12th 2009, 15:29 |
AD7six |
Laureano: np :) |
# |
Sep 12th 2009, 15:28 |
Laureano |
Will look at that then. Thanks AD7six! |
# |
Sep 12th 2009, 15:28 |
Laureano |
Oh, an existing test from the core test cases. Now I get the whole idea. Thanks! |
# |
Sep 12th 2009, 15:28 |
dogmatic69 |
with the $this->log() |
# |
Sep 12th 2009, 15:28 |
dogmatic69 |
i think i got a bit of a inhancemet for cake |
# |
Sep 12th 2009, 15:27 |
AD7six |
Laureano: which core test cases have you already looked at |
# |
Sep 12th 2009, 15:27 |
Laureano |
AD7six, could you provide me with a little more information about that? I'm a novice at TDD and CakePHP test suite. |
# |
Sep 12th 2009, 15:20 |
AD7six |
Laureano: use an existing test as a template |
# |
Sep 12th 2009, 15:03 |
Laureano |
Any advice to test shells and tasks with the test suite? |
# |
Sep 12th 2009, 14:06 |
jaysonsantos |
AD7six Thank you |
# |
Sep 12th 2009, 14:05 |
AD7six |
jaysonsantos: why would I create anything ;)? |
# |
Sep 12th 2009, 14:04 |
jaysonsantos |
AD7six I wil use a simple query. To reproduce this try to create a table without a identity (auto increment) pk. |
# |
Sep 12th 2009, 14:04 |
AD7six |
jaysonsantos: that's an invite for you to clarify |
# |
Sep 12th 2009, 14:02 |
AD7six |
jaysonsantos: unfortuantely I don't know what that means. |
# |
Sep 12th 2009, 14:02 |
jaysonsantos |
AD7six If i set a pk without identity cake do a mess again |
# |
Sep 12th 2009, 14:01 |
AD7six |
or just use query |
# |
Sep 12th 2009, 14:01 |
AD7six |
jaysonsantos: to treat it as a model, you need to give it a single field primary key |
# |
Sep 12th 2009, 14:01 |
jaysonsantos |
AD7six 2, they are a multiple pk without identity |
# |
Sep 12th 2009, 14:00 |
AD7six |
jaysonsantos: how many fields are in your db table |
# |
Sep 12th 2009, 14:00 |
jaysonsantos |
Hello people, I'm trying to delete all elements from a table with two conditions however that table don't have a PK and cake do a mess. How can I get that working ? |