# |
Mar 14th 2019, 08:39 |
arthurb |
Might be a simple solution but my brain is ignoring it |
# |
Mar 14th 2019, 08:39 |
arthurb |
Hi guys, I’m trying to return to the correct page of an index after an add or edit function is completed. I save the $request->referer() in a variable and then use it in a hidden field on each actions form. This works great unless the validation fail in which case the $request->referer() resets to the current page. Any ideas how to get around this? |
# |
Mar 14th 2019, 08:39 |
arthurb |
Hi guys, I normally search and try to solve my issues before asking here, but I’m pressed for time to get a prototype out :slightly_smiling_face: |
# |
Mar 14th 2019, 08:24 |
pawan.kumar |
@angga can you help me for this |
# |
Mar 14th 2019, 07:34 |
johnwayne |
Hi, how do you set `<link rel="apple-touch-icon"`...` in your project? Where do you store all of those Appls icons (webroot) or ? |
# |
Mar 14th 2019, 07:32 |
pawan.kumar |
any guide, what went wrong |
# |
Mar 14th 2019, 07:32 |
pawan.kumar |
If I disable, it's working fine |
# |
Mar 14th 2019, 07:32 |
pawan.kumar |
Hey, this is due to security component |
# |
Mar 14th 2019, 07:16 |
admad |
connect the one for `"/:lang/banner/:controller/:action/*"` before `"/:lang/:controller/:action/*"` |
# |
Mar 14th 2019, 07:16 |
admad |
@grossolive4 order in which routes are connected matters! |
# |
Mar 14th 2019, 06:16 |
pawan.kumar |
Request for help |
# |
Mar 14th 2019, 06:16 |
pawan.kumar |
URL mismatch in POST data (expected '/companies/add?url=companies/add' but found '/companies/add?url=companies/addandurl=companies/add') |
# |
Mar 14th 2019, 06:16 |
pawan.kumar |
Hello to all, I am getting this error in cakephp 3.7 |
# |
Mar 14th 2019, 05:54 |
grossolive4 |
I cannot use the router "/:lang/banner/:controller/:action/*" localhost/en/banner/banners/index => Error missing controller please help, thanks |
# |
Mar 14th 2019, 05:50 |
slackebot |
<grossolive4> |
# |
Mar 14th 2019, 05:49 |
grossolive4 |
hello to all I have a problem with the plugin cakephp-i18n, I can't use router in plugin https://github.com/ADmad/cakephp-i18n |
# |
Mar 14th 2019, 05:41 |
challgren |
@kgb.acct.personal no but the php sdk works fine. Also signalwire.com has same API but better prices |
# |
Mar 14th 2019, 05:34 |
kgb.acct.personal |
Is there an official Twilio plugin for cakephp? |
# |
Mar 14th 2019, 03:44 |
challgren |
Looking like its pretty much not exposed anymore |
# |
Mar 14th 2019, 03:34 |
rochasmarcelo |
or in the custom FormAuthenticator could be better |
# |
Mar 14th 2019, 03:32 |
rochasmarcelo |
Not sure, but you will need to get the identifier from successfull authenticator. Also need to make sure to only rehash in form url |
# |
Mar 14th 2019, 03:21 |
challgren |
https://github.com/CakeDC/users/pull/777 was my previous fix |
# |
Mar 14th 2019, 03:20 |
challgren |
LoginComponent::handleLogin |
# |
Mar 14th 2019, 03:19 |
rochasmarcelo |
When do you pretend to do this? |
# |
Mar 14th 2019, 03:14 |
challgren |
Ok so I got the CakeDC/Users develop in but now I’m stuck trying to figure out how to access the PasswordHasher to determine if the password needs rehashed |
# |
Mar 14th 2019, 02:03 |
challgren |
Yay 3.7.5 is released!! |
# |
Mar 13th 2019, 23:14 |
challgren |
Ahhh so some other plugin was loading auth I had to move my $this->addPlugin() to be lower in the plugin list |
# |
Mar 13th 2019, 23:09 |
rochasmarcelo |
I guess you will need to add a permission for it |
# |
Mar 13th 2019, 22:58 |
challgren |
But Rabc seems to be blocking debugkit |
# |
Mar 13th 2019, 22:56 |
challgren |
Seems to be working on the develop branch |
# |
Mar 13th 2019, 22:39 |
rochasmarcelo |
please try using develop branch |
# |
Mar 13th 2019, 22:38 |
challgren |
Damm |
# |
Mar 13th 2019, 22:38 |
challgren |
Ahh yeah ^8.0 |
# |
Mar 13th 2019, 22:38 |
rochasmarcelo |
It's using 8.0 |
# |
Mar 13th 2019, 22:38 |
rochasmarcelo |
The example repo seems to be using wrong cakedc/users version |
# |
Mar 13th 2019, 22:35 |
challgren |
This is my Application.php |
# |
Mar 13th 2019, 22:33 |
challgren |
Its almost like the plugin.php middleware isnt being called |
# |
Mar 13th 2019, 22:33 |
rochasmarcelo |
let me check one thing |
# |
Mar 13th 2019, 22:32 |
challgren |
https://challgren.geoclique.me/login |
# |
Mar 13th 2019, 22:32 |
challgren |
Weird Im following that and when I try to login I get The request object does not contain the required ‘authentication’ attribute |
# |
Mar 13th 2019, 22:25 |
rochasmarcelo |
@challgren https://github.com/CakeDC/users-example this is 'work in progress' but could help. |