# |
Apr 16th 2018, 19:04 |
meder |
I disabled cakedc config/routes.php $routes->connect('/Users' from using the fallback routes and removed the default /login and /logout routes. is there a reason why i can still access /users/users/login ? |
# |
Apr 16th 2018, 18:54 |
wyrihaximus |
Might be something in the database layer |
# |
Apr 16th 2018, 18:52 |
wyrihaximus |
Issue is no errors what so ever xD |
# |
Apr 16th 2018, 18:47 |
meder |
nice |
# |
Apr 16th 2018, 18:29 |
wyrihaximus |
Yay spent most of this evening updating to 3.6, just one route that is acting up =X |
# |
Apr 16th 2018, 17:05 |
jfranger |
Is it possible to do hasMany or belongsToMany associations using complex join conditions. I have a many-to-many table that has foreign keys that could be 0 (representing a match of all records of the table it's related to), so I need to do a something like JOIN ON (Table1.id IN (0, Table2.table1_id)) |
# |
Apr 16th 2018, 16:41 |
_Schlaefer |
s/preferred/preconfigured/ 8-) ;-) |
# |
Apr 16th 2018, 16:39 |
veeetle |
It’s a bit bigger than I’d like it, but whatever, it works pretty well |
# |
Apr 16th 2018, 16:39 |
veeetle |
I couldn’t get any of the standard PHP images working for us, so I created my own based on the Ubuntu-image |
# |
Apr 16th 2018, 16:35 |
_Schlaefer |
Hi. Is there a preferred docker imager for CakePHP 3 testing (contributing to the core and test changes before PR)? |
# |
Apr 16th 2018, 16:11 |
obinoob |
How can I register the recaptcha helper? |
# |
Apr 16th 2018, 16:06 |
obinoob |
I already used a gazillion of plugins I'm pretty sure I'm doing everything right, I can only blame this line https://github.com/agiletechvn/Recaptcha/blob/master/src/Controller/Component/RecaptchaComponent.php#L40 |
# |
Apr 16th 2018, 16:02 |
obinoob |
Anyone ever used https://github.com/agiletechvn/Recaptcha I'm getting Missing Helper Cake\View\Exception\MissingHelperException |
# |
Apr 16th 2018, 15:26 |
meder |
http://dpaste.com/3HZ61YM how do I make these optional? i also tried 'on' => function($context) { return !empty($context['data']['alias']); } |
# |
Apr 16th 2018, 15:03 |
neon1024 |
Some good points @dereuromark :thumbsup: |
# |
Apr 16th 2018, 14:52 |
neon1024 |
@dereuromark Thanks I’ll take a read |
# |
Apr 16th 2018, 14:47 |
glanceded |
Do you know anything about this error? |
# |
Apr 16th 2018, 14:47 |
slackebot2 |
the details again it will get you a csrf error |
# |
Apr 16th 2018, 14:47 |
glanceded |
Hello guys. I have a problem with my cakephp 2 application. With the SecurityComponent basically. These is what is happening: I have 2 pages: index and login. On index page there is a log in form and on login page there's also a log in form. If you enter the wrong details on the index page, it makes a post to log in page where the request is checked and return a message: can't log in. Now the csrf token is not refreshed and if you enter |
# |
Apr 16th 2018, 14:46 |
dereuromark |
neon1024: Destroying the plugin-ecosystem how it worked so far is far worse IMO. It already started with bootstrap-ui and co. |
# |
Apr 16th 2018, 14:46 |
jeremyharris |
@neon1024 yeah we’re feeling it |
# |
Apr 16th 2018, 14:46 |
dereuromark |
Opt-in for sth like that is better than opt-out, for all levels of programming or architecture (e.g. plugins) |
# |
Apr 16th 2018, 14:46 |
neon1024 |
This will cause an utter avalanche of support |
# |
Apr 16th 2018, 14:45 |
dereuromark |
@neon1024 You can support https://github.com/cakephp/cakephp/pull/11889 which would have solved this cleanly and without all the fuss happening now. |
# |
Apr 16th 2018, 14:45 |
jeremyharris |
disabling *deprecations* from the errorLevel, yes |
# |
Apr 16th 2018, 14:45 |
jeremyharris |
also, not a lot of people tested the RCs out apparently :( |
# |
Apr 16th 2018, 14:45 |
neon1024 |
So disabling the exceptions is the thing to do then/ |
# |
Apr 16th 2018, 14:44 |
jeremyharris |
yeah we had discussed this in a ticket and the consensus seemed to say it was ok since deprecations can be easily silenced |
# |
Apr 16th 2018, 14:44 |
neon1024 |
Not what I expected for a minor release |
# |
Apr 16th 2018, 14:44 |
neon1024 |
Noice. |
# |
Apr 16th 2018, 14:44 |
neon1024 |
So 3.6 is a breaking release |
# |
Apr 16th 2018, 14:44 |
neon1024 |
So upgrading requires application changes |
# |
Apr 16th 2018, 14:42 |
jeremyharris |
this should still be suppressed by disabling deprecations in error level |
# |
Apr 16th 2018, 14:42 |
dereuromark |
See https://github.com/cakephp/app/pull/592 |
# |
Apr 16th 2018, 14:42 |
neon1024 |
Seems the core component ;) |
# |
Apr 16th 2018, 14:42 |
neon1024 |
`Deprecated (16384): RequestHandlerComponent::beforeRedirect() is deprecated. This functionality will be removed in 4.0.0. Set the `enableBeforeRedirect` option to `false` to disable this warning. - /Users/matt/Sites/breakdownapi/vendor/cakephp/cakephp/src/Event/EventManager.php, line: 353 [CORE/src/Core/functions.php, line 305]` |
# |
Apr 16th 2018, 14:41 |
jeremyharris |
oh interesting. what method? |
# |
Apr 16th 2018, 14:41 |
neon1024 |
As the call stack is for the debugger and not the thing which generated the original exception |
# |
Apr 16th 2018, 14:41 |
neon1024 |
Quite confusing, when the debugger is throwing a runtime for deprecation |
# |
Apr 16th 2018, 14:40 |
neon1024 |
SO the actual error is hidden |
# |
Apr 16th 2018, 14:40 |
neon1024 |
The error my colleague has seems to be that the core itsself is using a deprecated method, which then is throwing a new exception |