# |
Dec 24th 2019, 04:21 |
kailas |
hrm, no. will try that |
# |
Dec 24th 2019, 04:16 |
challgren |
you clear your orm cache? |
# |
Dec 24th 2019, 04:14 |
kailas |
I’m trying to get CakeDC/Users working with a custom users table. when trying to login with the user I created, I get an sql error “unknown column ‘secret’ in ‘field list’“. which is weird, since i’m not sure where that’s getting searched for. anyone know what could be going on? |
# |
Dec 24th 2019, 04:10 |
brian.french |
yeah, I will... |
# |
Dec 24th 2019, 04:10 |
challgren |
Open an issue so it can get fixed |
# |
Dec 24th 2019, 04:10 |
brian.french |
This seemed to work though: `fr3nch13/cakephp-jira$ ../../302dev/upgrade/bin/cake upgrade .` |
# |
Dec 24th 2019, 04:08 |
brian.french |
well, i guess it is, just something is failing: ```302dev/upgrade$ bin/cake upgrade ../../fr3nch13/cakephp-jira/ Moving templates fatal: '../../fr3nch13/cakephp-jira/src/Template' is outside repository``` |
# |
Dec 24th 2019, 04:06 |
brian.french |
The code to do it is there, but the default command `bin/cake upgrade /path/to/code` doesn't invoke it. |
# |
Dec 24th 2019, 04:04 |
challgren |
https://github.com/cakephp/upgrade/issues/126 |
# |
Dec 24th 2019, 04:03 |
challgren |
Yeah I reported that a while ago, thought it was fixed |
# |
Dec 24th 2019, 04:01 |
brian.french |
Ok, because the upgrade script isn't doing that. |
# |
Dec 24th 2019, 03:27 |
slackebot |
<challgren> |
# |
Dec 24th 2019, 03:26 |
brian.french |
what about /src/Template/Layout -> /templates/layout? |
# |
Dec 24th 2019, 03:26 |
brian.french |
err For |
# |
Dec 24th 2019, 03:25 |
brian.french |
Fro the cakephp/upgrade too, should it be moving the src/Template to /templates? |
# |
Dec 24th 2019, 03:13 |
challgren |
Ahh no bootstrap_cli anymore |
# |
Dec 24th 2019, 03:09 |
challgren |
Wonder if it didnt get ported to 4.x for some reason |
# |
Dec 24th 2019, 03:09 |
challgren |
It gone https://github.com/cakephp/cakephp/blob/master/src/Command/PluginLoadCommand.php#L118 |
# |
Dec 24th 2019, 03:06 |
dereuromark |
some docs look quite old: https://book.cakephp.org/4/en/console-commands/plugin.html |
# |
Dec 24th 2019, 03:05 |
challgren |
I did :( |
# |
Dec 24th 2019, 03:04 |
dereuromark |
nope, shouldnt |
# |
Dec 24th 2019, 03:04 |
challgren |
Did the `--cli` option get removed from `plugin load`? |
# |
Dec 24th 2019, 00:23 |
brian.french |
The upgrade script is throwing an error, that looks like it's not supposed to be throwing. https://github.com/cakephp/cakephp/issues/14070 |
# |
Dec 23rd 2019, 23:46 |
brian.french |
Done, also updated some files that needed it. |
# |
Dec 23rd 2019, 22:34 |
brian.french |
Sure |
# |
Dec 23rd 2019, 22:33 |
dereuromark |
you can PR the fix |
# |
Dec 23rd 2019, 22:28 |
brian.french |
FYI, the upgrade tool still requires cake 4.x-dev instead of the 4.0.0 |
# |
Dec 23rd 2019, 22:24 |
dereuromark |
try it. might be some terations to finish, but sure worth it |
# |
Dec 23rd 2019, 22:15 |
brian.french |
Man, I'm really trying to hold off on upgrading to the 4.0 branch for the same reasons you were talking about with your plugins earlier, but things like phpdox requires phpunit/* to be the newer versions. Maybe it's time to bite the bullet, and try to do a 4.x upgrade on my projects. |
# |
Dec 23rd 2019, 22:13 |
brian.french |
Yup, I just saw why first hand, and the mcrypt* functions are deprecated in 7.1+. |
# |
Dec 23rd 2019, 22:06 |
dereuromark |
jep, phpuni7 is typehint etc, and thus php7.2+ |
# |
Dec 23rd 2019, 22:03 |
brian.french |
Is there any reason the cakephp/cakephp 3.8.* is locked to phpunit 6 and below? |
# |
Dec 23rd 2019, 20:18 |
brian.french |
Looks like apigen died again. Anyone have any experience with PhpDox? https://github.com/theseer/phpdox |
# |
Dec 23rd 2019, 19:11 |
brian.french |
Nevermind, I found it, just took a little poking around. https://github.com/apigen/apigen |
# |
Dec 23rd 2019, 19:09 |
brian.french |
I should probably be using slack instead of irc. |
# |
Dec 23rd 2019, 19:08 |
fr3nch13 |
Hello everyone. What tool are you all using to generate the api.cakephp.org? I ask, because I've been using phpdocumentor, unfortunately their tool's version constraints of other packages are way lower than their current versions, so things like phpstan won't install. |
# |
Dec 23rd 2019, 14:08 |
slackebot |
$this->Form->control('season',['class'=>'form-control']); echo $this->Form->control('nazionalità_campionato',['class'=>'form-control']); echo $this->Form->control('serie_campionato',['class'=>'form-control']); echo $this->Form->control('club_id', ['options' => $clubsUnmated,'data-role'=>'tagsinput','type'=>'text','placeholder'=>'aggiungi squadre','class'=>'form-control']);``` |
# |
Dec 23rd 2019, 14:08 |
gianmarxgagliardi |
i would have some problem with multiple addition. How could I implement the add function (https://pastebin.com/6BG3rfrm) with the collections (https://book.cakephp.org/3/en/core-libraries/collections.html)? I would like to suggest to the user the teams to insert. I would already have this data in the clubsUnmated variable, but I don't know how to pass it in json-style HTML extract of front-end code page: ```echo |
# |
Dec 23rd 2019, 13:31 |
challgren |
Awesome! |
# |
Dec 23rd 2019, 13:29 |
dereuromark |
It includes the new feature for Routing URL autocomplete. |
# |
Dec 23rd 2019, 13:28 |
dereuromark |
tag done :) https://github.com/dereuromark/cakephp-ide-helper/releases/tag/1.0.0-beta |