# |
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 |
# |
Jun 10th 2018, 11:58 |
kitcat711_ |
help : my migration from 3,5,4 to 3,6 is a disaster : keep having errors from corefiles |
# |
Jun 10th 2018, 11:23 |
graziel |
bake is great |
# |
Jun 10th 2018, 11:20 |
gannher |
i will use it now |
# |
Jun 10th 2018, 11:20 |
gannher |
yes i see bake in cakephp book but i didn't realize that I can build all necessary class for my project |
# |
Jun 10th 2018, 11:19 |
saeideng |
cake uses default table class when it does not found any table for you |
# |
Jun 10th 2018, 11:19 |
graziel |
small tip would be to use `bake` to as many things as possible to avoid errors |
# |
Jun 10th 2018, 11:18 |
gannher |
yes i like git too. But I just begin to test cakephp 3. I begin yesterday. But i will init a new git repository this evening I think. |
# |
Jun 10th 2018, 11:16 |
saeideng |
even for test I prefer to using git :slightly_smiling_face: |
# |
Jun 10th 2018, 11:16 |
saeideng |
for example rename file name accidentally |
# |
Jun 10th 2018, 11:15 |
saeideng |
my guess was not loading this class/method correctly |
# |
Jun 10th 2018, 11:14 |
saeideng |
no probelm |
# |
Jun 10th 2018, 11:14 |
gannher |
Sorry i already delete project :D I am currently reinstall with composer :) |
# |
Jun 10th 2018, 11:13 |
saeideng |
add a debug(1 ) into `public function validationDefault(Validator $validator)` |
# |
Jun 10th 2018, 11:13 |
saeideng |
for testing |
# |
Jun 10th 2018, 11:11 |
gannher |
yes just started so not a problem to reinstall. I will use git but not again git init my project |
# |
Jun 10th 2018, 11:10 |
saeideng |
are you using git ? |
# |
Jun 10th 2018, 11:10 |
graziel |
yeah if you just started it will be probably the quickest solution |
# |
Jun 10th 2018, 11:09 |
gannher |
may be i modifie something that i don't remember |
# |
Jun 10th 2018, 11:09 |
gannher |
i will reinstall all for test |
# |
Jun 10th 2018, 11:08 |
saeideng |
on master ( latest version ) |
# |
Jun 10th 2018, 11:07 |
saeideng |
your code works for me ``` '[errors]' => [ 'login' => [ 'length' => 'Login need to be at least 3 characters long' ] ], ``` |
# |
Jun 10th 2018, 11:07 |
kitcat711_ |
I had no error message during the upgrading process but I was not expecting to have to modify this file (routes, config, bootstrap is ok, but index?) |
# |
Jun 10th 2018, 11:07 |
graziel |
just to be sure its not a typo or letter case |