# |
Jul 18th 2018, 08:18 |
dereuromark |
Naveenbos: Thats correct |
# |
Jul 18th 2018, 08:16 |
neon1024 |
@tim Yes, just define them as such |
# |
Jul 18th 2018, 08:16 |
neon1024 |
Just curious really, but what techniques do people here use for a single form which can add multiple associations? Such as editing a Customer and adding multiple Addresses? I tend to favour using something like Mustache, but curious to know what other people are using |
# |
Jul 18th 2018, 08:15 |
tim |
Is there a way to have multiple Router::scopes inside a parent scope? |
# |
Jul 18th 2018, 08:13 |
neon1024 |
Morning all |
# |
Jul 18th 2018, 06:16 |
naveen.bos |
Sorry in src folder its size is 19.8 MB |
# |
Jul 18th 2018, 06:15 |
admad |
i highly doubt you have 54 mb worth of php source files :slightly_smiling_face: |
# |
Jul 18th 2018, 06:13 |
naveen.bos |
its huge |
# |
Jul 18th 2018, 06:13 |
naveen.bos |
after upgrade my app folder files moved to src |
# |
Jul 18th 2018, 06:13 |
saeideng |
no , i mean size of complexity |
# |
Jul 18th 2018, 06:12 |
naveen.bos |
54.3MB |
# |
Jul 18th 2018, 06:12 |
naveen.bos |
after upgrade my app folder files moved to src |
# |
Jul 18th 2018, 06:11 |
saeideng |
what is size of your app ? |
# |
Jul 18th 2018, 06:11 |
naveen.bos |
Have you done any type of upgrade in cake php |
# |
Jul 18th 2018, 06:10 |
saeideng |
vendors |
# |
Jul 18th 2018, 06:10 |
saeideng |
you have to use composer to install/update vendoes |
# |
Jul 18th 2018, 06:09 |
naveen.bos |
when i copy the core files to this folder will that error vanish? |
# |
Jul 18th 2018, 06:09 |
naveen.bos |
@saeideng yes that i understand before that i have tried to run the cake server then i got this error |
# |
Jul 18th 2018, 06:08 |
saeideng |
for ORM you should do manually |
# |
Jul 18th 2018, 06:07 |
saeideng |
it just do these not more |
# |
Jul 18th 2018, 06:07 |
braeden |
Is the 'propertyName' option no longer used for hasOne associations? |
# |
Jul 18th 2018, 06:07 |
hmic |
like i said, my approach is to setup a new 3.x app and move files one by one while checking what needs to be changed |
# |
Jul 18th 2018, 06:07 |
slackebot |
actions. all Run all tasks except for skeleton. That task should only be run manually, and only for apps (not plugins). |
# |
Jul 18th 2018, 06:07 |
slackebot |
changed during 2.x -> 3.0 fixtures Update fixtures to use new index/constraint features. This is necessary before running tests. tests Update test cases regarding fixtures. i18n Update translation functions regarding placeholders. skeleton Add basic skeleton files and folders from the "app" repository. prefixed_templates Move view templates for prefixed |
# |
Jul 18th 2018, 06:07 |
slackebot |
App::uses() with use statements. rename_collections Rename HelperCollection, ComponentCollection, and TaskCollection. Will also rename component constructor arguments and _Collection properties on all objects. method_names Update many of the methods that were renamed during 2.x -> 3.0 method_signatures Update many of the method signatures that were |
# |
Jul 18th 2018, 06:07 |
saeideng |
locations Move files/directories around. Run this *before* adding namespaces with the namespaces command. namespaces Add namespaces to files based on their file path. Only run this *after* you have moved files. app_uses Replace App::uses() with use statements rename_classes Rename classes that have been moved/renamed. Run after replacing |
# |
Jul 18th 2018, 06:07 |
hmic |
to many and differing from what features you use to tell |
# |
Jul 18th 2018, 06:06 |
naveen.bos |
which are the other things that we have to do manually after I run the tool |
# |
Jul 18th 2018, 06:06 |
hmic |
i suggest you write a sample 3.x app first, go with the tutorial maybe. just to make yourself familiar with all the new things in 3.x and the things that have changed from 2.x |
# |
Jul 18th 2018, 06:05 |
hmic |
it is a tool to help in the process and to lots of common things. your app will not run after using the upgrade shell without you changing lots of code still |
# |
Jul 18th 2018, 06:04 |
hmic |
it is not a tool to automatically upgrade the app |
# |
Jul 18th 2018, 06:04 |
naveen.bos |
but in this case there is an upgrade tool is available by the cake php team, will that wont work? |
# |
Jul 18th 2018, 06:03 |
hmic |
i personally would not trz to upgrade anyways, but setup a new, empty 3.x app and move my source files one by one and upadate them in the process. you will anyways need to look at most of them |
# |
Jul 18th 2018, 06:03 |
hmic |
in my oppinion you should write a 3.x app from scratch before converting any old codebase to get familiar with 3.x fist |
# |
Jul 18th 2018, 06:02 |
hmic |
i dont know. but it will certainly not make your 2.x app run on 3.x automatically |
# |
Jul 18th 2018, 06:01 |
naveen.bos |
will this command do all the stuffs? |
# |
Jul 18th 2018, 06:01 |
naveen.bos |
I have done the upgrade all command |
# |
Jul 18th 2018, 06:01 |
hmic |
if you are converting from 2.x, you need to add namespace definitions and use statements to all of your source files too - did you do that? |
# |
Jul 18th 2018, 06:00 |
naveen.bos |
yes sure |
# |
Jul 18th 2018, 06:00 |
hmic |
maybe just try calling "composer dumpautoload" |
# |
Jul 18th 2018, 05:59 |
naveen.bos |
how can I check that |