# |
Jul 10th 2017, 10:15 |
cleptric |
https://book.cakephp.org/3.0/en/controllers/request-response.html#environment-variables-from-server-and-env |
# |
Jul 10th 2017, 10:15 |
cleptric |
https://book.cakephp.org/3.0/en/controllers/request-response.html#checking-request-conditions |
# |
Jul 10th 2017, 10:15 |
Sebollson |
any ideas? |
# |
Jul 10th 2017, 10:14 |
birdy247 |
Where can I find that documented? |
# |
Jul 10th 2017, 10:14 |
Sebollson |
but thats not the case - how to bind array of strings |
# |
Jul 10th 2017, 10:14 |
birdy247 |
@cleptric |
# |
Jul 10th 2017, 10:14 |
Sebollson |
orWhere is desired in this scenario |
# |
Jul 10th 2017, 10:14 |
Sebollson |
how to make it work? It does not work right now because Unknown type "string[]" |
# |
Jul 10th 2017, 10:14 |
inoas |
do not use orWhere if you don't have to |
# |
Jul 10th 2017, 10:14 |
cleptric |
@birdy247 `$request->is('post')` and `$request->env('HTTP_HOST')` |
# |
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 |