# |
Mar 5th 2019, 17:07 |
manthan.budheliya |
but havin problem with CSRF token mismatch so I removed that component from Application.php file |
# |
Mar 5th 2019, 17:07 |
manthan.budheliya |
Hello guys I am creating an endpoint for posting data through ajax |
# |
Mar 5th 2019, 17:07 |
jeremyharris |
check out this: https://book.cakephp.org/3.0/en/console-and-shells/commands.html |
# |
Mar 5th 2019, 17:06 |
daniel.upshaw |
This appears mostly about creating new commands rather than running other commands: https://book.cakephp.org/3.0/en/console-and-shells.html |
# |
Mar 5th 2019, 17:05 |
daniel.upshaw |
It is hard to determine from the docs... There may be a "Cake way" to run a background process / external command line program |
# |
Mar 5th 2019, 15:46 |
neon1024 |
..but the readme says it doesn’t need routes in the addPlugin |
# |
Mar 5th 2019, 15:46 |
neon1024 |
I mean, sure my default is `DashedRoute`, perhaps it needs routing true |
# |
Mar 5th 2019, 15:45 |
neon1024 |
Not sure how this is happening |
# |
Mar 5th 2019, 15:45 |
neon1024 |
`Error: Your routing resulted in Debug-kit as a controller name.` |
# |
Mar 5th 2019, 15:03 |
grossolive4 |
Yes, And I can't delete folder when deleting the entity. => deleteCallback webroot{DS}uploads{DS}{table}{DS}{field}{DS}{field-value:uuid}{DS} https://github.com/FriendsOfCake/cakephp-upload/issues/459 https://cakephp-upload.readthedocs.io/en/latest/examples.html#advanced-example Any new suggestions? |
# |
Mar 5th 2019, 14:49 |
rudy1976s |
I need some example to how correctly write a select field using full text search with query builder |
# |
Mar 5th 2019, 14:48 |
neon1024 |
Would you mind opening a ticket for that? Perhaps the documentation needs updating :slightly_smiling_face: |
# |
Mar 5th 2019, 14:45 |
grossolive4 |
for example, the path primaryKey they removed, but it is still on the document |
# |
Mar 5th 2019, 14:43 |
neon1024 |
Upload plugins don’t really change much once they’ve achieved their feature set, as there often isn’t really much to update |
# |
Mar 5th 2019, 14:42 |
neon1024 |
What made you think it was abandoned? |
# |
Mar 5th 2019, 14:42 |
neon1024 |
@grossolive4 It is developed :slightly_smiling_face: |
# |
Mar 5th 2019, 14:40 |
grossolive4 |
Any new suggestions? |
# |
Mar 5th 2019, 14:38 |
grossolive4 |
I'm using https://github.com/FriendsOfCake/cakephp-upload It seems that it is no longer developed ? |
# |
Mar 5th 2019, 14:34 |
neon1024 |
Oh yeah, the new and very strange allowEmpty(false) |
# |
Mar 5th 2019, 14:33 |
neon1024 |
Not sure why it doesn’t update the validation though :man-shrugging: |
# |
Mar 5th 2019, 14:33 |
neon1024 |
Although Rector does a reasonable job |
# |
Mar 5th 2019, 14:33 |
neon1024 |
Doing my deprecations today you see, so lots to update |
# |
Mar 5th 2019, 14:31 |
neon1024 |
Got much more going on than remembering this channel :slightly_smiling_face: |
# |
Mar 5th 2019, 14:30 |
neon1024 |
Oh probably, but I don’t remember anything |
# |
Mar 5th 2019, 14:30 |
neon1024 |
Cool, that’s good to know! |
# |
Mar 5th 2019, 14:30 |
admad |
@neon1024 Cake 4 already uses phpunit 7+. Pretty sure i already mentioned this before to you |
# |
Mar 5th 2019, 14:26 |
neon1024 |
:,( |
# |
Mar 5th 2019, 14:26 |
neon1024 |
https://github.com/cakephp/app/blob/master/composer.json#L19 |
# |
Mar 5th 2019, 14:22 |
neon1024 |
I’m starting to get conflicts with things wanting newer version of packages |
# |
Mar 5th 2019, 14:22 |
neon1024 |
What is the state of CakePHP using a more up to date version of PHP Unit? |
# |
Mar 5th 2019, 14:20 |
devito |
im tying to use $this->load model from wwithing my plugin and trying to target app level models, however when the code executes its trying to load the models from the plugin directory. I tried doing “App.modelname” in the signiture but that doesnt seem to work. How can do load a app level model from within a plugin? |
# |
Mar 5th 2019, 14:06 |
rudy1976s |
good afternoon, I need to use a full text search using query builder but I find some difficulties when trying to select matching fields |
# |
Mar 5th 2019, 12:19 |
steinkel |
about "save work on the translator" side, they usually take advantage of context and recent translations, so if you have 2 similar sentences, the translation tool will use the translation memory to suggest (and possibly provide the right) newer translations |
# |
Mar 5th 2019, 12:10 |
admad |
there's why you can specify context for translation :slightly_smiling_face: |
# |
Mar 5th 2019, 11:18 |
david |
"document" as noun is "documento" or "archivo" |
# |
Mar 5th 2019, 11:18 |
david |
"document" as verb is "documentar" |
# |
Mar 5th 2019, 11:18 |
david |
@marek.sebera if I were your translator, and I had to translate "document" to spanish, I would be confused |
# |
Mar 5th 2019, 11:18 |
marek.sebera |
cool, thanks @david |
# |
Mar 5th 2019, 11:15 |
josbeir |
hear hear |
# |
Mar 5th 2019, 11:14 |
david |
<?php echo __('Edit {0}, __('document')); ?> |
# |
Mar 5th 2019, 11:14 |
david |
<?php echo __('Verb {0}, __('noun')); ?> |