# |
Jul 20th 2017, 20:52 |
phpnut |
probably /etc/apache? |
# |
Jul 20th 2017, 20:51 |
leso |
where can i get the apache config |
# |
Jul 20th 2017, 20:51 |
leso |
ok |
# |
Jul 20th 2017, 20:51 |
phpnut |
And change your .htaccess files back to the original version |
# |
Jul 20th 2017, 20:50 |
phpnut |
We need to see your setting, path where you installed the cake app |
# |
Jul 20th 2017, 20:50 |
phpnut |
yes |
# |
Jul 20th 2017, 20:48 |
leso |
do u mean i should past it there? |
# |
Jul 20th 2017, 20:48 |
leso |
i have open it |
# |
Jul 20th 2017, 20:38 |
phpnut |
you should not have to change htaccess |
# |
Jul 20th 2017, 20:38 |
phpnut |
@leso use this and show your apache config https://gist.github.com. Also make sure you have the .htaccess files on the server |
# |
Jul 20th 2017, 20:38 |
leso |
i have change the .htaccess but still |
# |
Jul 20th 2017, 20:36 |
leso |
Not Found Error: The requested address '/' was not found on this server. |
# |
Jul 20th 2017, 20:36 |
leso |
my website in cake is loading well locally but when i uploaded to a webserver which is a linux i am having |
# |
Jul 20th 2017, 20:35 |
phpnut |
Someone will answer if they know how to help |
# |
Jul 20th 2017, 20:35 |
phpnut |
@leso just ask your question |
# |
Jul 20th 2017, 20:34 |
leso |
i need a support |
# |
Jul 20th 2017, 20:20 |
gutts |
i just want a numerical array with unique 'type' fields from my original collection |
# |
Jul 20th 2017, 20:20 |
gutts |
$coll->indexBy('type')->extract('type')->toArray(); this becomes [type => type] .. how can I turn this into a numerical array? |
# |
Jul 20th 2017, 20:18 |
swimboy |
I’ve tried `return $query->find('important')->union($query->find('recent'));` as the content of my finder function, but it seems to recurse, because I get an error “Maximum function nesting level of ‘256’ reached, aborting! ” |
# |
Jul 20th 2017, 20:07 |
swimboy |
I have created two custom finders named ‘important’ and ‘recent’. I’m trying to build a third custom finder that finds the union of the first two and am not having any luck. |
# |
Jul 20th 2017, 19:58 |
mikesmoniker |
Either way, this is perfect. Now I can just `kill` away. |
# |
Jul 20th 2017, 19:55 |
mikesmoniker |
Is that tagged? |
# |
Jul 20th 2017, 19:54 |
savant |
and the worker will finish its current job and shut down |
# |
Jul 20th 2017, 19:54 |
savant |
so you can send them a SIGQUIT or SIGTERM |
# |
Jul 20th 2017, 19:53 |
savant |
@cleptric i think you use that |
# |
Jul 20th 2017, 19:53 |
savant |
https://github.com/josegonzalez/php-queuesadilla/pull/65 |
# |
Jul 20th 2017, 19:53 |
savant |
@mikesmoniker queuesadilla supports signal handling |
# |
Jul 20th 2017, 19:52 |
savant |
mikesmoniker sure whatsup |
# |
Jul 20th 2017, 19:49 |
alysson-azevedo |
that `\` was missed somewhere |
# |
Jul 20th 2017, 19:48 |
alysson-azevedo |
i need it to returns my data as `{"data": "Sa\u00fade"}`, but $request->input() returns `{"data": "Sau00fade"}` |
# |
Jul 20th 2017, 19:45 |
alysson-azevedo |
Now i need help witht the $request->input() |
# |
Jul 20th 2017, 19:43 |
styks1987 |
ok, thanks. Just wanted to check. It seems I have something wrapping the json response in html... |
# |
Jul 20th 2017, 19:38 |
jeremyharris |
styks1987 usually the requesthandler is what does the automatic stuff, assuming you have extensions set in your routes |
# |
Jul 20th 2017, 19:35 |
styks1987 |
what triggers an exception to render as json vs html? |
# |
Jul 20th 2017, 19:34 |
gutts |
tried groupBy('type')->extract('type') but that defines 'a' and 'b' as the keys |
# |
Jul 20th 2017, 19:34 |
gutts |
ex [['type' => 'a'], ['type' => 'a'], ['type' => 'b']] i just want 'a' and 'b' |
# |
Jul 20th 2017, 19:34 |
gutts |
is there a way to extract by unique field in a cake collection? |
# |
Jul 20th 2017, 19:26 |
alysson-azevedo |
and i'm using an middleware to do it before my app is called |
# |
Jul 20th 2017, 19:25 |
alysson-azevedo |
the thing is that i need to validate an API signature. |
# |
Jul 20th 2017, 19:24 |
alysson-azevedo |
i mean |
# |
Jul 20th 2017, 19:24 |
jeremyharris |
oh ok |