# |
Apr 20th 2017, 20:08 |
Erik180486 |
my app was working and suddenly I'm getting the URL rewriting is not properly configured on your server. message again |
# |
Apr 20th 2017, 20:07 |
Erik180486 |
hello |
# |
Apr 20th 2017, 20:06 |
technofection |
I have association like StudeContacts -> Contact -> Person -> PersonPhoneNumbers StudentContacts belongsTo Contact Contact belongsTo Persons Persons hasMany PersonPhoneNumbers Is there any way I can save it one transaction? Document says save can handle upto 1 level of association. |
# |
Apr 20th 2017, 20:04 |
technofection |
Good Day Guys.. I have a question regarding associated model save |
# |
Apr 20th 2017, 19:07 |
teste2 |
e ae |
# |
Apr 20th 2017, 18:48 |
dereuromark |
maybe they do the cake way instead |
# |
Apr 20th 2017, 18:48 |
dereuromark |
so no, not really^^ |
# |
Apr 20th 2017, 18:47 |
dereuromark |
whats django? :slightly_smiling_face: |
# |
Apr 20th 2017, 18:43 |
diverdude |
Is cakephp inspired by django? |
# |
Apr 20th 2017, 18:25 |
Erik180486 |
pdo_sqlite is installed my hosting told me |
# |
Apr 20th 2017, 18:25 |
Erik180486 |
What to do? |
# |
Apr 20th 2017, 18:25 |
Erik180486 |
2017-04-20 17:56:13 Warning: DebugKit not enabled. You need to either install pdo_sqlite, or define the "debug_kit" connection name. |
# |
Apr 20th 2017, 18:09 |
Erik180486 |
one table is working, the other is not |
# |
Apr 20th 2017, 17:51 |
Erik180486 |
me to, but now it's telling me: The article could not be saved. Please, try again. |
# |
Apr 20th 2017, 17:37 |
halftroll |
I already figured out, I had to do $this->MyModel->clear() to iterate and save |
# |
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 ? |