# |
Mar 23rd 2019, 18:36 |
challgren |
DebugKit isn’t designed for use on production systems. |
# |
Mar 23rd 2019, 16:14 |
inoas |
https://github.com/cakephp/app/pull/664/files#diff-abfaead9bf85a5410666673a3f640bdfR264 |
# |
Mar 23rd 2019, 16:13 |
inoas |
as for my question yesterday |
# |
Mar 23rd 2019, 14:52 |
hollistergraham123 |
What is wrong with the build in debug panel? If you go to the history tab you can click on any request and see the logs, sql query and more |
# |
Mar 23rd 2019, 14:17 |
joopm |
however inPeopleTable i defined (as said i do as normally when not on plugin working) |
# |
Mar 23rd 2019, 14:16 |
joopm |
the People associations is just [] |
# |
Mar 23rd 2019, 14:16 |
joopm |
i made as normally but when calling : $this->loadModel('UserManager.People'); |
# |
Mar 23rd 2019, 14:16 |
joopm |
and i have some issue with model associations |
# |
Mar 23rd 2019, 14:16 |
joopm |
i made my first plugin |
# |
Mar 23rd 2019, 14:15 |
joopm |
hello all |
# |
Mar 23rd 2019, 08:36 |
clementcrown |
does anyone have an idea of what could have happened? |
# |
Mar 23rd 2019, 08:35 |
clementcrown |
Good day all, after an upgrade, my cakephp application is not displaying the image files anymore |
# |
Mar 23rd 2019, 04:07 |
isvyas |
Does anyone know any plugin/library same as Laravel Telescope for cakephp? Basically I want full insight (e.g. requests, response, queries, exception) of my application. Any suggestions or ideas would be great. |
# |
Mar 23rd 2019, 03:10 |
ra7bi |
i have group by at the end and i want to sum DockerDetails.weight on each group |
# |
Mar 23rd 2019, 03:10 |
ra7bi |
i tried ``` $TrolleyTable = TableRegistry::get('DockerDetails'); $Shipments = $TrolleyTable->find('all'); $Shipments ->select([ 'total' => $Shipments->func()->sum('DockerDetails.weight') ]) ``` but the result is wrong |
# |
Mar 23rd 2019, 03:10 |
ra7bi |
Hello , how i can select * and sum a specific field ? |
# |
Mar 23rd 2019, 02:58 |
grossolive4 |
This issue has been resolved, I created the uploadFile function in UploadBehavior, use ajax to upload each file |
# |
Mar 23rd 2019, 01:15 |
grossolive4 |
How to multi upload files by FriendsOfCake/cakephp-upload plugin using ajax https://github.com/FriendsOfCake/cakephp-upload Any suggestions? |
# |
Mar 22nd 2019, 21:00 |
inoas |
@lorenzo jose_zap in case you are around and it is a quicky... I suppose I am lost in pg config |
# |
Mar 22nd 2019, 20:56 |
inoas |
e.g. somehow the table itself cannot be read |
# |
Mar 22nd 2019, 20:56 |
inoas |
when trying to log in I get Cannot describe users. It has 0 columns. |
# |
Mar 22nd 2019, 20:56 |
inoas |
I have used pgloader and set the username and database to my_app and the password to secret (aka cakephp app skeleton defaults) https://gist.github.com/inoas/cb7fee79cdde22f265cfa24d478dd97d |
# |
Mar 22nd 2019, 20:55 |
inoas |
When migrating from mariadb 10.3 to postgres 11.x I get this error https://github.com/snelg/cakephp-3-oracle/issues/9 |
# |
Mar 22nd 2019, 18:47 |
ricksaccous |
probably an inner join would work too right? |
# |
Mar 22nd 2019, 18:47 |
hollistergraham123 |
scroll down a little and see how to filter |
# |
Mar 22nd 2019, 18:46 |
hollistergraham123 |
https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#working-with-result-sets |
# |
Mar 22nd 2019, 18:45 |
hollistergraham123 |
or do $query->filter(manager => count(manger.player) > 0) |
# |
Mar 22nd 2019, 18:44 |
hollistergraham123 |
Set it to a right join |
# |
Mar 22nd 2019, 18:39 |
ricksaccous |
I think dereuromark makes a join and does voodoo with that |
# |
Mar 22nd 2019, 18:39 |
ricksaccous |
I only want Managers with at least one player |
# |
Mar 22nd 2019, 18:38 |
ricksaccous |
ie Managers hasMany Players |
# |
Mar 22nd 2019, 18:38 |
ricksaccous |
whats the best way to filter parents where i remove parents that have no children |
# |
Mar 22nd 2019, 17:54 |
ricksaccous |
hehehehe |
# |
Mar 22nd 2019, 17:53 |
jhall |
so $this->log should work after this |
# |
Mar 22nd 2019, 17:53 |
jhall |
it wasn't in my face so I did not notice this |
# |
Mar 22nd 2019, 17:52 |
jhall |
haha |
# |
Mar 22nd 2019, 17:52 |
jhall |
I see the problem |
# |
Mar 22nd 2019, 17:52 |
jhall |
oh |
# |
Mar 22nd 2019, 17:52 |
slackebot2 |
<jhall> |
# |
Mar 22nd 2019, 17:51 |
ricksaccous |
which is ultimately based on the docs XD |
# |
Mar 22nd 2019, 17:49 |
ricksaccous |
i haven't played with logs too much but just giving suggestions based on what i think should work |