# |
Jul 10th 2017, 10:14 |
Sebollson |
where $binding is an array of strings |
# |
Jul 10th 2017, 10:13 |
Sebollson |
$query->orWhere(["MATCH($fieldName) AGAINST(:$fieldName IN BOOLEAN MODE)"])->bind(":$fieldName", $binding,'string[]'); |
# |
Jul 10th 2017, 10:13 |
Sebollson |
Hi all! I need a help with query builder |
# |
Jul 10th 2017, 10:08 |
birdy247 |
2/ Is it a POST request |
# |
Jul 10th 2017, 10:08 |
birdy247 |
1/ host |
# |
Jul 10th 2017, 10:08 |
birdy247 |
I need to get the following |
# |
Jul 10th 2017, 10:08 |
birdy247 |
I am also struggling to interact with a $request in my middleware |
# |
Jul 10th 2017, 10:01 |
birdy247 |
Its coming from this plugin https://github.com/CVO-Technologies/cakephp-twitter |
# |
Jul 10th 2017, 10:00 |
birdy247 |
I get this: Unknown repository type "Endpoint". Make sure you register a type before trying to use it. |
# |
Jul 10th 2017, 10:00 |
birdy247 |
When I comment out the ControllerFactory dispatch filter |
# |
Jul 10th 2017, 09:59 |
birdy247 |
Yes |
# |
Jul 10th 2017, 09:59 |
cleptric |
Or, what do the errors say :slightly_smiling_face: |
# |
Jul 10th 2017, 09:58 |
cleptric |
Do you get any errors? |
# |
Jul 10th 2017, 09:55 |
birdy247 |
Yes |
# |
Jul 10th 2017, 09:54 |
cleptric |
Have you done this? |
# |
Jul 10th 2017, 09:54 |
cleptric |
@birdy247 https://book.cakephp.org/3.0/en/controllers/middleware.html#adding-the-new-http-stack-to-an-existing-application |
# |
Jul 10th 2017, 09:52 |
unclezoot |
hi, does anyone know how to use debugkit with Csp? It's suddenly refusing to load, think I need to pass the security nonce in somewhere |
# |
Jul 10th 2017, 09:51 |
birdy247 |
yes |
# |
Jul 10th 2017, 09:47 |
cleptric |
@birdy247 Did you upgrade from 3.3 to -> 3.4? |
# |
Jul 10th 2017, 09:43 |
birdy247 |
How does this happen when using Middleware?? |
# |
Jul 10th 2017, 09:42 |
birdy247 |
If I remove this from my bootstrap.php a few plugins dont work |
# |
Jul 10th 2017, 09:41 |
birdy247 |
The ControllerFactory |
# |
Jul 10th 2017, 09:40 |
birdy247 |
Ah, fixed it :slightly_smiling_face: |
# |
Jul 10th 2017, 09:33 |
birdy247 |
I just get a 500 |
# |
Jul 10th 2017, 09:30 |
birdy247 |
but my app isnt loading |
# |
Jul 10th 2017, 09:30 |
birdy247 |
I just turne on middleware |
# |
Jul 10th 2017, 09:18 |
cleptric |
Aynone using graylog with an cake app? |
# |
Jul 10th 2017, 09:06 |
kareylo |
Hello |
# |
Jul 10th 2017, 08:44 |
maymeow |
@neon1024 @admad ty |
# |
Jul 10th 2017, 08:44 |
admad |
gtg |
# |
Jul 10th 2017, 08:43 |
admad |
*avoiding |
# |
Jul 10th 2017, 08:43 |
admad |
@maymeow avoid git submodules and using packagist for private packages is good. Just don't develop the plugins under app's vendor |
# |
Jul 10th 2017, 08:37 |
maymeow |
@admad @neon1024 's looks like good idea but when you told composer can delete or make changes in local folder i think i go back to my old way :slightly_smiling_face: |
# |
Jul 10th 2017, 08:35 |
admad |
@maymeow that's fine, just don't use composer's "vendor" folder for plugin development |
# |
Jul 10th 2017, 08:34 |
admad |
one day i might have the change to told you "i told you so" |
# |
Jul 10th 2017, 08:34 |
maymeow |
@admad before i had plugin folder ignored, and all plugins had their own git repo |
# |
Jul 10th 2017, 08:33 |
admad |
sure keep doing what you like. But i would advise @maymeow to follow the safer option |
# |
Jul 10th 2017, 08:33 |
neon1024 |
I guess it’s whichever workflow you like best :slightly_smiling_face: |
# |
Jul 10th 2017, 08:33 |
admad |
using the "vcs" option |
# |
Jul 10th 2017, 08:32 |
admad |
you can always tell composer to use the separate folder as source |
# |
Jul 10th 2017, 08:32 |
neon1024 |
As unit testing a plugin inside an application can be problematic :slightly_smiling_face: |