# |
Mar 19th 2018, 11:43 |
popperz0r |
so it was requesting the view files |
# |
Mar 19th 2018, 11:42 |
popperz0r |
and when i baked the controller i didnt deleted the crud functions automatically baked |
# |
Mar 19th 2018, 11:42 |
popperz0r |
i was using crud plugin |
# |
Mar 19th 2018, 11:42 |
popperz0r |
@admad i found what was going on |
# |
Mar 19th 2018, 11:42 |
admad |
@popperz0r by using JsonView's auto serialisation feature would be one way |
# |
Mar 19th 2018, 11:40 |
admad |
rchavik: "your browser" will load .dev just fine if it's not corporate controlled aka Firefox :) |
# |
Mar 19th 2018, 11:36 |
dereuromark |
also my old upgrade plugin might help a bit |
# |
Mar 19th 2018, 11:35 |
glanceded |
If i won't find anything on github will try that...upgrading to 2.5 latest and 2.10 latest |
# |
Mar 19th 2018, 11:34 |
dereuromark |
try at least 2.5 or sth then, maybe these things resolve in the later minors (which is very likely, given 2.10 has tons of improvements on top) |
# |
Mar 19th 2018, 11:33 |
glanceded |
ok, thanks, i hoped that you would have a list of modifications because I already check the migration guide and changelog...I will follow the code from github to see if I find something that could help me... |
# |
Mar 19th 2018, 11:31 |
dereuromark |
@glanceded e.g. https://github.com/cakephp/cakephp/compare/2.4.0...2.4.1 |
# |
Mar 19th 2018, 11:30 |
iqu |
problem is when i put type=date cakephp will automatically generate date controls |
# |
Mar 19th 2018, 11:29 |
iqu |
with form control |
# |
Mar 19th 2018, 11:29 |
iqu |
how do i just echo <input class="form-control" type="date" value="2011-08-19" id=""> |
# |
Mar 19th 2018, 11:29 |
dereuromark |
check the migration guide or manually diff the core changes here (.../diff/ functionality of github on tags) . but usually it is rather very BC here, and only minor tweaks are necessary at the very end. |
# |
Mar 19th 2018, 11:28 |
glanceded |
Do you know any layout/template modifications to core library from versions 2.4.0 stable to 2.4.1? please? |
# |
Mar 19th 2018, 11:27 |
glanceded |
We had a few problems like: when jump to version 2.3 the internal languages have changed from en to en-US, from rum to ro-RO. |
# |
Mar 19th 2018, 11:26 |
glanceded |
hmm...this is my second change I give to this migration because when I tried first time I jumped directly to 2.8 (was about 1-2 years ago) and nothing was working anymore...so we let the project down for the moment and started now again by upgrading one-by one. what are we doing right now: upgrade to 2.2 first and then latest. If everything is ok we jump to next minor version. -> 2.3 first and then 2.3 latest |
# |
Mar 19th 2018, 11:23 |
dereuromark |
my gut feeling with this is usually that it is way faster to directly target latest minor |
# |
Mar 19th 2018, 11:23 |
dereuromark |
i dont think you are right here |
# |
Mar 19th 2018, 11:22 |
glanceded |
that's the target version we want to achieve, but I feel that I would take less time to fix error from one verion to another than trying to fix all problems by jumping directly to 2.10 |
# |
Mar 19th 2018, 11:21 |
dereuromark |
why not directly going to 2.10? Would save you a lot of issues solved already later in time. |
# |
Mar 19th 2018, 11:21 |
glanceded |
do you know any modifications from 2.4.0 to 2.4.1 about layout/themes? |
# |
Mar 19th 2018, 11:20 |
glanceded |
when migration 2.4.0 to 2.4.1 the template/theme goes crazy... |
# |
Mar 19th 2018, 11:20 |
glanceded |
Hello cake people. I have a project for which I have to migrate a legacy application from cakephp 2.1 to latest 2.x and I came across a problem that I don't find anywhere in documentation |
# |
Mar 19th 2018, 11:18 |
popperz0r |
:s |
# |
Mar 19th 2018, 11:18 |
popperz0r |
how can i avoid the creation of every json folder and files for my cakephp api? |
# |
Mar 19th 2018, 11:17 |
Martin` |
did google enable hsts for .dev ? |
# |
Mar 19th 2018, 11:17 |
Martin` |
never had any problems with .local :P |
# |
Mar 19th 2018, 11:03 |
dereuromark |
for 99% of all cases, so basically all :P |
# |
Mar 19th 2018, 11:03 |
dereuromark |
actually .local works fine :slightly_smiling_face: |
# |
Mar 19th 2018, 11:01 |
rchavik |
unless you create certs and import it in your browser cert store.. i haven't bother trying tho |
# |
Mar 19th 2018, 11:00 |
rchavik |
your browser won't load any .dev |
# |
Mar 19th 2018, 10:57 |
Martin` |
how does this gives problems? |
# |
Mar 19th 2018, 10:55 |
Martin` |
oh strict transport security :) |
# |
Mar 19th 2018, 10:55 |
rchavik |
https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security |
# |
Mar 19th 2018, 10:55 |
Martin` |
what is hsts? |
# |
Mar 19th 2018, 10:55 |
rchavik |
the problem is hsts |
# |
Mar 19th 2018, 10:54 |
Martin` |
but .dev is registered by google but not in use I believe? |
# |
Mar 19th 2018, 10:54 |
neon1024 |
.local doesn’t work either, as it’s reserved for local internal networking |
# |
Mar 19th 2018, 10:53 |
Martin` |
I simply use .local :P |