# |
Dec 18th 2019, 08:23 |
gianmarxgagliardi |
when i add a manager to the season i would like to show the name not the id |
# |
Dec 18th 2019, 08:22 |
gianmarxgagliardi |
I mean that the tables are linked |
# |
Dec 18th 2019, 08:22 |
gianmarxgagliardi |
sorry I expressed myself badly |
# |
Dec 18th 2019, 08:21 |
ashish_onmobile |
what do you mean by docked? |
# |
Dec 18th 2019, 08:20 |
gianmarxgagliardi |
the tables are docked but I don't know how to take the name of "trainers" or "clubs" |
# |
Dec 18th 2019, 08:20 |
ashish_onmobile |
is it possible to you to share the add function code here? |
# |
Dec 18th 2019, 08:20 |
ashish_onmobile |
ok |
# |
Dec 18th 2019, 08:19 |
gianmarxgagliardi |
no the first |
# |
Dec 18th 2019, 08:19 |
ashish_onmobile |
Or you created with manual. |
# |
Dec 18th 2019, 08:19 |
ashish_onmobile |
Did you bake the controller and model |
# |
Dec 18th 2019, 08:18 |
ashish_onmobile |
thanks. let me try to find the solution. |
# |
Dec 18th 2019, 08:18 |
ashish_onmobile |
sessions_trainers |
# |
Dec 18th 2019, 08:18 |
dereuromark |
Old 2.x has 0 dependencies ^^ #goodolddays |
# |
Dec 18th 2019, 08:17 |
ashish_onmobile |
I guess the problem with table name |
# |
Dec 18th 2019, 08:17 |
gianmarxgagliardi |
@ashish_onmobile the thing that I don't understand that I had done an exercise with the usual data structure with "dogs_cats" and I could get them the name of the linked table |
# |
Dec 18th 2019, 08:17 |
dereuromark |
https://github.com/cakephp/cakephp/blob/13fba738f7fb386a015608612e2f5392f72708cf/composer.json#L21 |
# |
Dec 18th 2019, 08:17 |
ashish_onmobile |
ok |
# |
Dec 18th 2019, 08:17 |
dereuromark |
U need to use latest 2.x that doesnt require this ext anymore |
# |
Dec 18th 2019, 08:16 |
ashish_onmobile |
I am using Mac OSX Catalina |
# |
Dec 18th 2019, 08:16 |
ashish_onmobile |
I tried to install it via pecl install but it is not working.. |
# |
Dec 18th 2019, 08:15 |
dereuromark |
U need to make sure the ext are installed. |
# |
Dec 18th 2019, 08:15 |
ashish_onmobile |
people says ext-mcrypt does not exist in 7.3 |
# |
Dec 18th 2019, 08:15 |
ashish_onmobile |
thanks dereuromark |
# |
Dec 18th 2019, 08:15 |
ashish_onmobile |
``` Problem 1 - The requested PHP extension ext-mcrypt * is missing from your system. Install or enable PHP's mcrypt extension.``` |
# |
Dec 18th 2019, 08:14 |
ashish_onmobile |
I am getting below error Problem 1 - The requested PHP extension ext-mcrypt * is missing from your system. Install or enable PHP’s mcrypt extension. |
# |
Dec 18th 2019, 08:14 |
dereuromark |
2.x should even run on 7.4 easily |
# |
Dec 18th 2019, 08:14 |
ashish_onmobile |
is there anyon here who can help to run cakphp2.x with php7.3 version |
# |
Dec 18th 2019, 08:13 |
ashish_onmobile |
this will help you to fetch the data for the linked table. |
# |
Dec 18th 2019, 08:13 |
ashish_onmobile |
@*Gianmarx use contain functionality in your code.* |
# |
Dec 18th 2019, 08:11 |
slackebot |
<gianmarxgagliardi> |
# |
Dec 18th 2019, 08:08 |
gianmarxgagliardi |
I have three tables with this structure: https://pastebin.com/e2PwW5bs when I go to work on the "seasons_trainers" table by adding an ennuple thanks to the "add" function developed in SeasonsTrainersController it only shows me the ID of "trainer" or "club", but I would like to show the name of "trainer" or "club". How do I go about getting my name? |
# |
Dec 18th 2019, 08:04 |
challgren |
@brian.french seems a bit Overkill no simple docker file? |
# |
Dec 18th 2019, 08:03 |
gianmarxgagliardi |
morning |
# |
Dec 18th 2019, 07:20 |
jotpe |
Good Morning! |
# |
Dec 18th 2019, 06:06 |
brian.french |
Source code is here: https://github.com/302dev/docker |
# |
Dec 18th 2019, 06:06 |
brian.french |
They're located here: https://hub.docker.com/r/302dev/cakephp |
# |
Dec 18th 2019, 06:06 |
brian.french |
If anyone is interested, I created some docker images specific to CakePHP. They |
# |
Dec 17th 2019, 22:08 |
luizcmarin |
OK. I found out. |
# |
Dec 17th 2019, 22:01 |
luizcmarin |
One could take a look at this PR. I have questions about the ways to use with bake https://github.com/cakephp/bake/pull/620/commits/6087934d030b922043e8e1de288701f63d273fa4 |
# |
Dec 17th 2019, 21:23 |
brian.french |
I also verified that packagist is updated. I tried within a Docker image to ensure i wasn't running off of some local cache. |
# |
Dec 17th 2019, 21:18 |
brian.french |
as well as in my WSL |