# |
Dec 28th 2018, 10:47 |
nayakvradhit |
Ok sure thank you for your approach |
# |
Dec 28th 2018, 10:47 |
birdy247 |
What led me to investigate was something else is broken |
# |
Dec 28th 2018, 10:47 |
birdy247 |
I dont believe it was always like this |
# |
Dec 28th 2018, 10:47 |
dereuromark |
for me its frozenTime then |
# |
Dec 28th 2018, 10:47 |
dereuromark |
interesting |
# |
Dec 28th 2018, 10:45 |
birdy247 |
bootstrap |
# |
Dec 28th 2018, 10:45 |
slackebot |
<birdy247> |
# |
Dec 28th 2018, 10:45 |
dereuromark |
read the docs about the immutable one in bootstrap |
# |
Dec 28th 2018, 10:45 |
birdy247 |
It thinks its a time? |
# |
Dec 28th 2018, 10:45 |
dereuromark |
bad config :slightly_smiling_face: |
# |
Dec 28th 2018, 10:44 |
slackebot |
<birdy247> |
# |
Dec 28th 2018, 10:44 |
birdy247 |
gives this |
# |
Dec 28th 2018, 10:43 |
dereuromark |
easy to verify using debug() dd() etc |
# |
Dec 28th 2018, 10:42 |
dereuromark |
depends on your config, but ideally yes |
# |
Dec 28th 2018, 10:42 |
birdy247 |
should the datetime be immutable? |
# |
Dec 28th 2018, 10:42 |
birdy247 |
if I am getting an entity with a datetime |
# |
Dec 28th 2018, 10:07 |
dereuromark |
:) in these cases it is simplier to work with the input already available. also less issues in validation |
# |
Dec 28th 2018, 09:55 |
birdy247 |
providing feedback |
# |
Dec 28th 2018, 09:45 |
dereuromark |
so you are complaining?^^ |
# |
Dec 28th 2018, 09:37 |
tomas.saghy |
I’d also like to ask, what is now preffered way to replace Validator notEmpty check. |
# |
Dec 28th 2018, 09:37 |
birdy247 |
but image uses fullBase |
# |
Dec 28th 2018, 09:36 |
birdy247 |
I just find it confusing how Html->link use _fullBase, _host etc.. |
# |
Dec 28th 2018, 09:33 |
dereuromark |
its a principle |
# |
Dec 28th 2018, 09:31 |
birdy247 |
Just an idea |
# |
Dec 28th 2018, 09:31 |
birdy247 |
I am not complaining lol |
# |
Dec 28th 2018, 09:31 |
birdy247 |
You disagree? |
# |
Dec 28th 2018, 09:31 |
dereuromark |
kiss |
# |
Dec 28th 2018, 09:30 |
birdy247 |
with this method, I also have to set the https:// ? |
# |
Dec 28th 2018, 09:30 |
birdy247 |
@dereuromark looks good to me. Although, it would be nice if we could also use a _host option as per the URl helper |
# |
Dec 28th 2018, 09:26 |
birdy247 |
@dereuromark that was quick. I thought it was my job ;) |
# |
Dec 28th 2018, 09:15 |
tomas.saghy |
Hi guys. I want to ask about View deprecated properties in 3.7. $hasRendered is marked as deprecated, but there is no note "use something else instead" and it's still used in render method. So what should you do when you rely on this property in inheriting class? |
# |
Dec 28th 2018, 08:38 |
chinpei215 |
Sorry, though the mcrypt extension was used for cookie encryption, it was not used for password hashing. So if you are not using cookies for login, the extension doesn't relate to your issue. |
# |
Dec 28th 2018, 08:30 |
chinpei215 |
thanks. but I don't understand why it causes 302 redirect. you may need to debug what is happening in your application. |
# |
Dec 28th 2018, 08:26 |
nayakvradhit |
Ok I will try and let you know |
# |
Dec 28th 2018, 08:25 |
chinpei215 |
`Configure::write('Security.useOpenSsl', true);` |
# |
Dec 28th 2018, 08:23 |
chinpei215 |
https://book.cakephp.org/2.0/en/core-utility-libraries/security.html If I remember correctly,, you can configure your app with 'Security.useOpenSsl' option in your bootstrap.php. |
# |
Dec 28th 2018, 08:19 |
chinpei215 |
ok. I am guessing that the mcrypt extension relates to the problem. The extension was used for password hashing in CakePHP 2. However, since the extension ilhas been deprecated in php7, it is no longer built in php 7. You need to install it manually. Or you need to use the openssl extension instead. |
# |
Dec 28th 2018, 08:07 |
nayakvradhit |
When I run my original php5.6 code it directly logs in and goes to home page Nowy need is to migrate it to php7 and so when I run this code in php7 it will get this 302 found |
# |
Dec 28th 2018, 07:06 |
chinpei215 |
though I don't know how your app should work, does it an expected behavior for you? |
# |
Dec 28th 2018, 06:49 |
nayakvradhit |
I am getting users controller could not be found |
# |
Dec 28th 2018, 06:40 |
chinpei215 |
if the login URL is http://example.localhost/users/login , can you access the page directly via your browser? |