# |
Sep 13th 2009, 15:06 |
ionas82 |
Do what? |
# |
Sep 13th 2009, 15:06 |
ionas82 |
Hedz, what? |
# |
Sep 13th 2009, 15:06 |
ionas82 |
everything works when not specifing function __construct |
# |
Sep 13th 2009, 15:06 |
Hedz |
ionas82 why do you do that? |
# |
Sep 13th 2009, 15:06 |
ionas82 |
on calling http://www.sna.dev/messages/send/4a93f845-c860-40d4-81ec-00e68784ca84 which essientally calls just the send method with two UUIDs |
# |
Sep 13th 2009, 15:06 |
ionas82 |
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1097 bytes) in /Users/xxxxxx/Sites/sna/www/cake/libs/model/datasources/datasource.php on line 367 |
# |
Sep 13th 2009, 15:05 |
ionas82 |
http://bin.cakephp.org/view/494329031 |
# |
Sep 13th 2009, 15:05 |
ionas82 |
Hedz, this is my Messages Model |
# |
Sep 13th 2009, 15:05 |
ionas82 |
~bin |
# |
Sep 13th 2009, 15:05 |
ionas82 |
∫in |
# |
Sep 13th 2009, 15:05 |
ionas82 |
few |
# |
Sep 13th 2009, 15:05 |
ionas82 |
view dozen pages at least |
# |
Sep 13th 2009, 15:04 |
ionas82 |
NoReGreT, I recommend you to read the BOOK page by page |
# |
Sep 13th 2009, 15:04 |
NoReGreT |
ionas82: when I have a specific question, I don't know what to search for |
# |
Sep 13th 2009, 15:03 |
ionas82 |
Hedz, sorry :/ |
# |
Sep 13th 2009, 15:03 |
Hedz |
ionas82 that was not clear |
# |
Sep 13th 2009, 15:01 |
ionas82 |
(seems to loop internally) |
# |
Sep 13th 2009, 15:01 |
ionas82 |
memory exhaustion |
# |
Sep 13th 2009, 15:01 |
ionas82 |
I have issues overwriting function __construct($id = false, $table = null, $ds = null) { } in my messages model to specify $this->validate = array() supplying __text() stuff |
# |
Sep 13th 2009, 15:00 |
ionas82 |
its awesome for a free and open source project documentation |
# |
Sep 13th 2009, 15:00 |
ionas82 |
if you print it as pdf in safari its over 200 pages |
# |
Sep 13th 2009, 14:59 |
ionas82 |
NoReGreT, please read the book thanks |
# |
Sep 13th 2009, 14:59 |
ionas82 |
yes |
# |
Sep 13th 2009, 14:58 |
NoReGreT |
is it the POST data ? |
# |
Sep 13th 2009, 14:57 |
NoReGreT |
what about $this->data in the controller ? |
# |
Sep 13th 2009, 14:55 |
ionas82 |
$this->here of the URL (afaik) |
# |
Sep 13th 2009, 14:54 |
ionas82 |
$this->name (in controller context) of the controller |
# |
Sep 13th 2009, 14:54 |
ionas82 |
NoReGreT, yes |
# |
Sep 13th 2009, 14:49 |
HardPhuck |
i solved it thanx |
# |
Sep 13th 2009, 14:49 |
Hedz |
HardPhuck did you try setAction()? |
# |
Sep 13th 2009, 14:48 |
NoReGreT |
$this->action contains teh name of the function, right ? |
# |
Sep 13th 2009, 14:44 |
HardPhuck |
to render a custom view |
# |
Sep 13th 2009, 14:41 |
ionas82 |
question is why you want to do that |
# |
Sep 13th 2009, 14:41 |
ionas82 |
http://book.cakephp.org/view/57/Controller-Methods#render-428 |
# |
Sep 13th 2009, 14:40 |
HardPhuck |
$this->render will do the job i think |
# |
Sep 13th 2009, 14:40 |
HardPhuck |
use different view files based on params in action |
# |
Sep 13th 2009, 14:40 |
ionas82 |
HardPhuck, what do you want to do |
# |
Sep 13th 2009, 14:40 |
ionas82 |
reconfigure router, use elements |
# |
Sep 13th 2009, 14:40 |
HardPhuck |
lol |
# |
Sep 13th 2009, 14:40 |
ionas82 |
HardPhuck, rename the action? |
# |
Sep 13th 2009, 14:37 |
HardPhuck |
how can i assign a different view to the action |