# |
Jun 10th 2018, 15:33 |
kitcat711_ |
back |
# |
Jun 10th 2018, 15:03 |
dereuromark |
I personally always use https://github.com/dereuromark/upgrade/blob/develop/src/Shell/Task/SkeletonTask.php to automatically upgrade skeleton files, easy and quickest, diff check afterwards, done. |
# |
Jun 10th 2018, 14:59 |
jeremyharris |
(that will also tell you what files you need to replace in order to use it) |
# |
Jun 10th 2018, 14:52 |
jeremyharris |
ok, I would take a look at this, which will help you migrate towards using it: https://book.cakephp.org/3.0/en/development/application.html#adding-http-stack |
# |
Jun 10th 2018, 14:52 |
gannher |
wife are terrible :D . i can't work on my project too -_-' |
# |
Jun 10th 2018, 14:51 |
kitcat711_ |
(brb, wife calling) |
# |
Jun 10th 2018, 14:50 |
kitcat711_ |
no |
# |
Jun 10th 2018, 14:50 |
jeremyharris |
are you already using the Application class for middleware? |
# |
Jun 10th 2018, 14:50 |
kitcat711_ |
or keep my "old structure" and modify my code |
# |
Jun 10th 2018, 14:50 |
jeremyharris |
not necessarily |
# |
Jun 10th 2018, 14:50 |
kitcat711_ |
I wonder if I should start from a new installation and then clone my app |
# |
Jun 10th 2018, 14:49 |
kitcat711_ |
I am on my dev environnement so I am listening to all deprectaedmessage |
# |
Jun 10th 2018, 14:49 |
kitcat711_ |
I am trying to update from 3.5.4 to 3.6.5 |
# |
Jun 10th 2018, 14:49 |
jeremyharris |
hi |
# |
Jun 10th 2018, 14:49 |
kitcat711_ |
hello jeremyharris |
# |
Jun 10th 2018, 14:17 |
jeremyharris |
if you are migrating to a new version, you should check out the migrations docs in the book to see what you’ll need to do in addition to the `composer update` |
# |
Jun 10th 2018, 14:16 |
jeremyharris |
kitcat711 if you’re still around I can try to help. `composer update` will not modify the structure or help you migrate to new code (e.g. using the Application class) |
# |
Jun 10th 2018, 13:33 |
kitcat711_ |
well since nobody is willing to help I must confess that I am giving up |
# |
Jun 10th 2018, 13:21 |
kitcat711_ |
I keep trying and now get an error: Uncaught Error: Class 'App\Application' not found in /var/www/mbail/webroot/index.php on line 37 |
# |
Jun 10th 2018, 13:14 |
kitcat711_ |
should I need to create a new project to migrate? |
# |
Jun 10th 2018, 13:14 |
gannher |
:) |
# |
Jun 10th 2018, 13:14 |
kitcat711_ |
gannher: lucky one :) |
# |
Jun 10th 2018, 13:13 |
gannher |
thanks for support |
# |
Jun 10th 2018, 13:13 |
gannher |
Hello. Finally, after reinstall and using bake to generate all my classes, all is working fine |
# |
Jun 10th 2018, 13:09 |
kitcat711_ |
I mean I started with cake 2,6, migrate through 3 but right now, I feel lost |
# |
Jun 10th 2018, 13:05 |
kitcat711_ |
exemple: I have to copy paste the index.php file, then a error showed me a new requirements.php file is needed from version 3,5 => I thought I was running a full 3,5,4 version, but I am not sure naymore |
# |
Jun 10th 2018, 13:04 |
kitcat711_ |
Sorry for asking, but using the "composer updtae require " command is not enough to create/modify the proper structure? |
# |
Jun 10th 2018, 12:56 |
kitcat711_ |
(and I read the migration guide ... in French, which is "slightly" lighter... reading the english version now) |
# |
Jun 10th 2018, 12:52 |
kitcat711_ |
I don't get where I copy from... |
# |
Jun 10th 2018, 12:46 |
dereuromark |
and your index.php (skeleton) file needs updating (copy and paste from cakephp/app for example) |
# |
Jun 10th 2018, 12:43 |
kitcat711_ |
thx dereuromark |
# |
Jun 10th 2018, 12:39 |
dereuromark |
https://www.dereuromark.de/2018/03/14/cakephp-3-6-is-coming/ might also be helpful |
# |
Jun 10th 2018, 12:39 |
dereuromark |
E_USER_DEPRECATED - you need to read the docs more careful |
# |
Jun 10th 2018, 12:36 |
kitcat711_ |
but I dont know why I should change anything in a webroot/index.php file |
# |
Jun 10th 2018, 12:34 |
kitcat711_ |
which seems normal to me : i am trying to migrate on the DEV ENVIRONNEMENT |
# |
Jun 10th 2018, 12:33 |
kitcat711_ |
E_ALL and ~E_DEPRECATED |
# |
Jun 10th 2018, 12:33 |
kitcat711_ |
checking |
# |
Jun 10th 2018, 12:12 |
birdy247 |
what is your error level set to? |
# |
Jun 10th 2018, 11:59 |
kitcat711_ |
wihtout recreating a projet? |
# |
Jun 10th 2018, 11:59 |
kitcat711_ |
how can I clean up my installation? |
# |
Jun 10th 2018, 11:59 |
kitcat711_ |
like : Error: [Error] Class 'Request' not found in /var/www/mbail/webroot/index.php on line 35 |