# |
Jul 10th 2018, 14:58 |
james.phillips |
but it stick port into the middle http://host-7djrft.api.swiftype.com/:9200/api/as/v1/engines/rcccccccc/documents/ |
# |
Jul 10th 2018, 14:57 |
james.phillips |
i have host and path set |
# |
Jul 10th 2018, 14:56 |
james.phillips |
it was putting _all into the url for some reason... and then on the datasource i have: |
# |
Jul 10th 2018, 14:54 |
james.phillips |
naa prob my set up is wrong |
# |
Jul 10th 2018, 14:52 |
josbeir |
elastica bug? |
# |
Jul 10th 2018, 14:52 |
josbeir |
weird |
# |
Jul 10th 2018, 14:51 |
james.phillips |
had to hack something thou as it was sticking the port in the middle of the url |
# |
Jul 10th 2018, 14:51 |
josbeir |
thats good :slightly_smiling_face: |
# |
Jul 10th 2018, 14:51 |
james.phillips |
good point thou! |
# |
Jul 10th 2018, 14:51 |
james.phillips |
using trial cloud server....got it to post some data now...so im a bit happoer |
# |
Jul 10th 2018, 14:50 |
josbeir |
i feel like you are losing too much time figuring out unrelated stuff before :slightly_smiling_face: |
# |
Jul 10th 2018, 14:49 |
josbeir |
you wont get all that auth stuff |
# |
Jul 10th 2018, 14:49 |
josbeir |
because i suggest, for randd purposes to just install a local server, its realy easy, unzip and run bin/elasticsearch |
# |
Jul 10th 2018, 14:48 |
josbeir |
6.x ? |
# |
Jul 10th 2018, 14:48 |
josbeir |
@james.phillips using local elasticsearch server? |
# |
Jul 10th 2018, 14:37 |
joopm |
i see now |
# |
Jul 10th 2018, 14:37 |
joopm |
what is gitignore? |
# |
Jul 10th 2018, 14:34 |
james.phillips |
fyi 'headers' => ['Authorization' => 'Bearer then api code is needed. |
# |
Jul 10th 2018, 14:32 |
Martin` |
https://github.com/cakephp/app/blob/master/.gitignore < there the cake framework will not be pushed to your git |
# |
Jul 10th 2018, 14:32 |
Martin` |
I just wanted to say the link |
# |
Jul 10th 2018, 14:32 |
Martin` |
:P |
# |
Jul 10th 2018, 14:31 |
Martin` |
hmm there was already some text before I pasted link |
# |
Jul 10th 2018, 14:31 |
Martin` |
Hi Guys, https://github.com/cakephp/app/blob/master/.gitignore |
# |
Jul 10th 2018, 14:30 |
james.phillips |
git ignore?! |
# |
Jul 10th 2018, 14:21 |
joopm |
how can i upload(push) an own cakephp project,in that way the framework source code and my own codes will visibly diference |
# |
Jul 10th 2018, 14:19 |
james.phillips |
hello |
# |
Jul 10th 2018, 14:19 |
james.phillips |
argh Im getting 'Unserializable object - Elastica\Exception\ResponseException. Error: You need to sign in or sign up before continuing' but i'm passing in the Authorization header withj the apikey.. any idea? |
# |
Jul 10th 2018, 14:19 |
joopm |
hello |
# |
Jul 10th 2018, 13:52 |
steinkel |
@jhob easy, just add 'options' to your role control and add all the roles there, or use enum plugin |
# |
Jul 10th 2018, 13:42 |
josbeir |
ingore the elasticsearch stuff :P |
# |
Jul 10th 2018, 13:42 |
josbeir |
its specific for my project but it shows how to do it |
# |
Jul 10th 2018, 13:42 |
josbeir |
https://gist.github.com/josbeir/507399a0dd395182adce336986ef3bba |
# |
Jul 10th 2018, 13:41 |
josbeir |
its for 3.6 and assumes you are using .env file setup |
# |
Jul 10th 2018, 13:40 |
josbeir |
magiq i can share an example on how to do it if you want |
# |
Jul 10th 2018, 13:37 |
jhob |
CakeDC/Users - How do can you add a dropdown for user role to the add/edit user templates? |
# |
Jul 10th 2018, 13:34 |
magiq |
And I dont why |
# |
Jul 10th 2018, 13:34 |
magiq |
Hello. I'm running phpunit in gitlab's CI, it is wrapper under docker. But somewhy cakephp use default configuration from datasources, not test |
# |
Jul 10th 2018, 13:13 |
james.phillips |
cheers |
# |
Jul 10th 2018, 13:13 |
james.phillips |
yep..looking there now.. |
# |
Jul 10th 2018, 13:12 |
neon1024 |
Well at least it’s told you where to look |
# |
Jul 10th 2018, 13:10 |
james.phillips |
error Unserializable object - Elastica\Exception\InvalidException. Error: Param _version does not exist in /var/www/vhosts/admin/dev.soc.ripfac.org.uk/htdocs/vendor/ruflin/elastica/lib/Elastica/Param.php, line 160 |