# |
Sep 20th 2019, 15:57 |
admad |
@neon1024 that's been fixed in 4.0, param also defaults to null |
# |
Sep 20th 2019, 15:55 |
admad |
@luizcmarin unless you have enough experience with Cake I suggest you stick with stable release |
# |
Sep 20th 2019, 15:33 |
rochasmarcelo |
I tested with a new 'chrome user' profile and it worked |
# |
Sep 20th 2019, 15:33 |
rochasmarcelo |
It also could be some browser extension |
# |
Sep 20th 2019, 15:32 |
rochasmarcelo |
we could debug it more, it seems that google chrome is making additional requrest while typing the URL and posting |
# |
Sep 20th 2019, 15:15 |
luizcmarin |
Following the guidelines of https://book.cakephp.org/4.0/en/installation.html could not install or upgrade to cake 4. How to proceed? |
# |
Sep 20th 2019, 15:15 |
ron.rattie |
that's what she said |
# |
Sep 20th 2019, 15:08 |
henri.mjr |
i'm developing an escort site.. biggest project i've worked |
# |
Sep 20th 2019, 15:05 |
henri.mjr |
cleared cache and same thing.. i dunno what it was |
# |
Sep 20th 2019, 15:02 |
henri.mjr |
i've tried icognito and same thing |
# |
Sep 20th 2019, 15:01 |
ricksaccous |
@henri.mjr maybe browser caching? |
# |
Sep 20th 2019, 14:59 |
henri.mjr |
something with my chrome, worked fine in firefox |
# |
Sep 20th 2019, 14:46 |
henri.mjr |
witchcraft |
# |
Sep 20th 2019, 14:45 |
henri.mjr |
I don't get the missing controller message, apache gives me segmantation fault in the log, but only if the action name is the original: "add" if I rename it for anything else, it works. Strange that with the name "add" it worked until yesterday. |
# |
Sep 20th 2019, 14:43 |
daniel.upshaw |
Yay :slightly_smiling_face: |
# |
Sep 20th 2019, 14:43 |
neon1024 |
Then use starred items in the top right |
# |
Sep 20th 2019, 14:43 |
daniel.upshaw |
Perfect |
# |
Sep 20th 2019, 14:42 |
daniel.upshaw |
Thanks :slightly_smiling_face: |
# |
Sep 20th 2019, 14:42 |
neon1024 |
You could star the message |
# |
Sep 20th 2019, 14:40 |
henri.mjr |
Hello, I was working yesterday in an app and everything was OK, today I went back to work and I'm getting an empty response when I try to access a specific action, I renamed the action and it worked, but even accessing this action that no longer exists, I I get the empty response .. it looks like a cache, I've used cake cache clear_all but no luck .. What else can it be? |
# |
Sep 20th 2019, 14:39 |
neon1024 |
All I can think of |
# |
Sep 20th 2019, 14:39 |
neon1024 |
If it’s got an id it won’t be new |
# |
Sep 20th 2019, 14:39 |
neon1024 |
If the entity has no dirty fields it will not be saved, and thus skip all these bits |
# |
Sep 20th 2019, 14:37 |
jotpe |
status_id is a field of Table talks |
# |
Sep 20th 2019, 14:37 |
jotpe |
No it's Talkstable and I'm doing `if ($this->Talks->save($talk)) {` |
# |
Sep 20th 2019, 14:36 |
neon1024 |
Cake often kicks data off to the various tables, so if you’re in Posts but validating Tags, you should be in TagsTable |
# |
Sep 20th 2019, 14:35 |
jotpe |
yes |
# |
Sep 20th 2019, 14:35 |
neon1024 |
Are you in the right table? |
# |
Sep 20th 2019, 14:35 |
neon1024 |
Erm with a param |
# |
Sep 20th 2019, 14:35 |
jotpe |
hm. beforeRules isn't even triggered |
# |
Sep 20th 2019, 14:34 |
neon1024 |
Create a `protected function _setStatus () { return 1; }` |
# |
Sep 20th 2019, 14:34 |
neon1024 |
If you want to set a default, use a function in the entity |
# |
Sep 20th 2019, 14:33 |
jotpe |
o.O |
# |
Sep 20th 2019, 14:33 |
jotpe |
When I debug the entity in the controller, the status is not set |
# |
Sep 20th 2019, 14:32 |
daniel.upshaw |
We could reach out to them? I don't mind trying that myself and looping you in |
# |
Sep 20th 2019, 14:32 |
ricksaccous |
you're setting status |
# |
Sep 20th 2019, 14:32 |
luizcmarin |
=>composer require --update-with-dependencies "cakephp/cakephp:4.0.*" result = Installation failed, reverting ./composer.json to its original content. |
# |
Sep 20th 2019, 14:32 |
ricksaccous |
you aren't setting status_id in beforeRules |
# |
Sep 20th 2019, 14:31 |
jotpe |
it's a int |
# |
Sep 20th 2019, 14:31 |
jotpe |
status_id |
# |
Sep 20th 2019, 14:31 |
daniel.upshaw |
It looks like dereuromark, markstory, and admad have done some stuff with SecurityComponent.php recently |