# |
Sep 22nd 2011, 18:08 |
NetersLandreau |
i thought it would |
# |
Sep 22nd 2011, 18:06 |
ujjain |
save($this->data) works |
# |
Sep 22nd 2011, 18:06 |
ujjain |
NetersLandreau: thanks, it works when I try to save something |
# |
Sep 22nd 2011, 18:06 |
NetersLandreau |
scoutmstershke: he has this - if($this->Privatemessage->save) |
# |
Sep 22nd 2011, 18:05 |
scoutmstershke |
i've had problems like that then use SaveAll and it works fine |
# |
Sep 22nd 2011, 18:05 |
scoutmstershke |
try SaveAll |
# |
Sep 22nd 2011, 18:05 |
NetersLandreau |
please read the manual on saving data |
# |
Sep 22nd 2011, 18:04 |
NetersLandreau |
ujjain: you have to save some data.. Model::save is not a property! |
# |
Sep 22nd 2011, 18:04 |
ujjain |
Yeah, but why not? How to find out the error? |
# |
Sep 22nd 2011, 18:04 |
scoutmstershke |
if it returns false then it wasn't saved |
# |
Sep 22nd 2011, 18:03 |
NetersLandreau |
then i have no clue |
# |
Sep 22nd 2011, 18:03 |
ujjain |
http://www.codepad.eu/view/12328589 |
# |
Sep 22nd 2011, 18:03 |
ujjain |
NetersLandreau: false. |
# |
Sep 22nd 2011, 18:02 |
NetersLandreau |
ujjain: what does $this->Privatemessage->save() return? |
# |
Sep 22nd 2011, 18:01 |
scoutmstershke |
!seen TheWarden |
# |
Sep 22nd 2011, 18:01 |
ujjain |
NetersLandreau: is empty. |
# |
Sep 22nd 2011, 18:01 |
ujjain |
thanks |
# |
Sep 22nd 2011, 18:00 |
NetersLandreau |
$this->Privatemessage->invalidFields() |
# |
Sep 22nd 2011, 18:00 |
scoutmstershke |
if($var) |
# |
Sep 22nd 2011, 18:00 |
ujjain |
How can I find the error message for $this->Privatemessage->save? |
# |
Sep 22nd 2011, 18:00 |
scoutmstershke |
your my Cakephp bitches |
# |
Sep 22nd 2011, 18:00 |
scoutmstershke |
no im back from lunch and all of you are my bitches |
# |
Sep 22nd 2011, 17:59 |
EtRiGaN |
you became bitches again? |
# |
Sep 22nd 2011, 17:59 |
scoutmstershke |
k im back bitches |
# |
Sep 22nd 2011, 17:45 |
kidtangerine |
Ok, so i need to bind a model |
# |
Sep 22nd 2011, 17:45 |
cakenoob |
like with bindModel |
# |
Sep 22nd 2011, 17:45 |
cakenoob |
and also on the fly associations |
# |
Sep 22nd 2011, 17:45 |
cakenoob |
containable is used with pre-defined associations |
# |
Sep 22nd 2011, 17:43 |
kidtangerine |
If I want to use Containable behavior, and contain a model, do I have to have a pre-defined associate with that model? |
# |
Sep 22nd 2011, 17:38 |
ujjain |
sorry, wrong window. |
# |
Sep 22nd 2011, 17:38 |
ujjain |
the requests should not hit cake, but just redirect. Above. |
# |
Sep 22nd 2011, 17:37 |
ujjain |
the requests should not hit cake, but just redirect. Above. |
# |
Sep 22nd 2011, 17:37 |
cakenoob |
below or above? |
# |
Sep 22nd 2011, 17:37 |
ujjain |
put the 3 lines above the cakephp content. |
# |
Sep 22nd 2011, 17:37 |
ujjain |
Yes. |
# |
Sep 22nd 2011, 17:37 |
cakenoob |
in the .htaccess I put this below the above the cakephp RewriteCond %{REQUEST_FILENAME} !-d? |
# |
Sep 22nd 2011, 17:37 |
ujjain |
or else <directory... > |
# |
Sep 22nd 2011, 17:36 |
ujjain |
You can edit your httpd.conf? I am not sure to be honest where you can place it. Maybe in the <virtualhost ...> |
# |
Sep 22nd 2011, 17:35 |
ujjain |
http://www.web-portfolio.be/seo/301-redirect-none-www.php |
# |
Sep 22nd 2011, 17:35 |
cakenoob |
yes, what lines do I put |
# |
Sep 22nd 2011, 17:35 |
ujjain |
alternative => httpd.conf editing. |