# |
Apr 20th 2017, 17:34 |
Junior` |
In the end i have submitted an issue for the footprint plugin. Blocks of code available at: https://github.com/UseMuffin/Footprint/issues/46 . If anyone has any idea, please share it with me! |
# |
Apr 20th 2017, 17:18 |
Erik180486 |
Anyone an idea why nothint is happening when I click the submit button in a baked articles table in cakephp 3.0? |
# |
Apr 20th 2017, 17:07 |
crazycoder |
ok |
# |
Apr 20th 2017, 17:07 |
dereuromark |
jep |
# |
Apr 20th 2017, 17:06 |
crazycoder |
loading the requesthandler too ? |
# |
Apr 20th 2017, 17:06 |
crazycoder |
ok |
# |
Apr 20th 2017, 17:06 |
dereuromark |
the plugin is designed for non api ajax interaction between view and controller actions |
# |
Apr 20th 2017, 17:06 |
crazycoder |
directly..without plugin |
# |
Apr 20th 2017, 17:06 |
dereuromark |
I think you should be using the default JsonView instead then |
# |
Apr 20th 2017, 17:05 |
crazycoder |
i am building an api system |
# |
Apr 20th 2017, 17:05 |
crazycoder |
so i do not really need it |
# |
Apr 20th 2017, 17:05 |
crazycoder |
it is not relevant but i do not have a view content |
# |
Apr 20th 2017, 17:04 |
dereuromark |
why is that relevant? just ignore it in the view |
# |
Apr 20th 2017, 17:03 |
crazycoder |
i am still talking about your cakephp-ajax plugin |
# |
Apr 20th 2017, 17:03 |
crazycoder |
@dereuromark how can i remove "content" from the json response if it is empty ? |
# |
Apr 20th 2017, 17:00 |
halftroll |
for example, I have a table users and a table users_has_notifications. So I first need to find the ID of the receivers to then insert them into users_has_notifications |
# |
Apr 20th 2017, 16:59 |
halftroll |
is it ok to iterate through the results of a query while doing inserts into another table ? mysql |
# |
Apr 20th 2017, 16:49 |
crazycoder |
->setClassName('Json') right ? |
# |
Apr 20th 2017, 16:48 |
crazycoder |
ok i try |
# |
Apr 20th 2017, 16:48 |
dereuromark |
JsonView |
# |
Apr 20th 2017, 16:48 |
dereuromark |
you can also just use the cake Json class |
# |
Apr 20th 2017, 16:47 |
crazycoder |
now it returns html |
# |
Apr 20th 2017, 16:47 |
crazycoder |
basically i need to reply with a json format for exceptions |
# |
Apr 20th 2017, 16:46 |
dereuromark |
I guess one could, yeah |
# |
Apr 20th 2017, 16:46 |
crazycoder |
cakephp-ajax plugin i mean |
# |
Apr 20th 2017, 16:45 |
crazycoder |
@dereuromark is it possible to use your component for custom exceptionrenderer ? |
# |
Apr 20th 2017, 16:29 |
dereuromark |
dont know enough about it |
# |
Apr 20th 2017, 16:28 |
sathomsen |
@dereuromark A while back you advised me to use the CRUD plugin for handling of validation errors for my REST API. I’ve done so, however the Validation Exception does not offer any detail into what validation errors occurred. Ie. say that a user tries to create the same user twice. In that case the client should receive a message to display to the client. Is this handled somewhere else in CRUD or should I just implement my own error clas |
# |
Apr 20th 2017, 16:14 |
developer1211 |
Hi guys, SaveMany duplicate the last record in database. help me get this fix |
# |
Apr 20th 2017, 15:33 |
Junior` |
yello :) |
# |
Apr 20th 2017, 15:32 |
manjaro__ |
need cake programmer for fix app |
# |
Apr 20th 2017, 15:31 |
manjaro__ |
hi all |
# |
Apr 20th 2017, 15:19 |
Neon1024 |
I’ve got it all working now, so I can finally get stuck into trying to write a query for Elasticsearch to generate my dashboard graphs |
# |
Apr 20th 2017, 15:19 |
Neon1024 |
So when my client site tried to hit the api, and thus the api tried to log to ES, it didn’t get a response :) |
# |
Apr 20th 2017, 15:18 |
Neon1024 |
Turns out my Vagrant boxes Elasticsearch wouldn’t allow connections from outside localhost |
# |
Apr 20th 2017, 15:17 |
graziel |
Neon1024 there is nice tool for ES that helped me a bit https://github.com/mobz/elasticsearch-head.git |
# |
Apr 20th 2017, 14:53 |
Neon1024 |
Lé sigh. |
# |
Apr 20th 2017, 14:53 |
Neon1024 |
protected 'message' => string 'cURL error 52: Empty reply from server' (length=38) |
# |
Apr 20th 2017, 14:53 |
artsir |
anyone have experience with godaddy and emails? I can't get it to work on their server, it works locally |
# |
Apr 20th 2017, 14:52 |
Neon1024 |
Then I can move onto why ES isn’t indexing the document :p |
# |
Apr 20th 2017, 14:51 |
Neon1024 |
So I’ll just lookup the ApiUser from the api_user_id field and insert it into the entity :D |