Log message #4103322

# At Username Text
# Dec 13th 2017, 19:51 furqan I have almost exhausted all resources and options to look for whats going wrong ,havent been able to establish anything ,which landed me here
# Dec 13th 2017, 19:51 furqan Actually i am using an opensource project misp ,which is built using cakephp ,now the issue is that ,in a specific piece of code ,when i am using ORM to update teh table its taking 20 seconds per 1 write,and the same using raw sql queries takes less then a second
# Dec 13th 2017, 19:49 hmic !tell furqan about ask
# Dec 13th 2017, 19:49 furqan Hi guys,i am stuck with an issue with cakephp ,can anyone help me here !!
# Dec 13th 2017, 19:31 feLiruc hey guys, good evening... can anybody here help me with IIS? :(
# Dec 13th 2017, 18:48 bravo-kernel Gl with your api, easy huh
# Dec 13th 2017, 18:48 bravo-kernel My bad :,)
# Dec 13th 2017, 18:48 leon I only referred to the table, sorry :(
# Dec 13th 2017, 18:47 bravo-kernel Good that it’s solved, I will see if I can make a note somewhere
# Dec 13th 2017, 18:47 bravo-kernel But nvm
# Dec 13th 2017, 18:47 bravo-kernel I asked for that, first thing ;)
# Dec 13th 2017, 18:47 leon 69/5000 Thanks to your help, I took a closer look at this part.
# Dec 13th 2017, 18:46 leon I did not create an entity file for the articles.
# Dec 13th 2017, 18:45 bravo-kernel @leon what was the cause?
# Dec 13th 2017, 18:45 bravo-kernel woot?
# Dec 13th 2017, 18:45 leon @bravo-kernel it works now!! yipiie!
# Dec 13th 2017, 18:45 bravo-kernel @leon I have made https://github.com/alt3/cakephp-ember-api public
# Dec 13th 2017, 18:44 mlignjatovic I have a strange problem, when I call $this->Flash->something, Phpstorm wont stop indexing. When I comment it, everything is ok.
# Dec 13th 2017, 18:41 mlignjatovic Hi guys, I'm new to cakephp and I really like it!
# Dec 13th 2017, 18:26 leon The error still appears.
# Dec 13th 2017, 18:26 leon Damn, unfortunately this is NOT the problem. I deleted all relationships in model an database.
# Dec 13th 2017, 18:19 leon Ok, i will check.
# Dec 13th 2017, 18:14 bravo-kernel in other words when Articles hasOne Author and `Authors` is not in the `API_RESOURCES` array
# Dec 13th 2017, 18:13 bravo-kernel I remember the same error when the resource has a relationship (table) that is not in the `API_RESOURCES` array
# Dec 13th 2017, 18:13 bravo-kernel @leon
# Dec 13th 2017, 18:09 bravo-kernel let me see if I can reproduce
# Dec 13th 2017, 18:08 bravo-kernel the neomerx error is always table related, I'm unsure why it's failing though
# Dec 13th 2017, 18:07 bravo-kernel looking at my test-api right now
# Dec 13th 2017, 18:07 bravo-kernel There really isn't much more to this
# Dec 13th 2017, 18:07 leon Yes. :,(
# Dec 13th 2017, 18:02 bravo-kernel Last check: did you include `Articles`in your API_RESOURCES array in `config/routes.php`?
# Dec 13th 2017, 17:52 leon File uploaded https://cakesf.slack.com/files/U1G9WJU4Q/F8F98PP4P/yes__with_the_crud_config_it_works_.php / https://slack-files.com/T053DPNCM-F8F98PP4P-40d8c1a524
# Dec 13th 2017, 17:50 bravo-kernel And.. if you are using the the .json extension.. you should not, the header is enough
# Dec 13th 2017, 17:49 bravo-kernel Does your Articles table and entity exist?
# Dec 13th 2017, 17:44 leon File uploaded https://cakesf.slack.com/files/U1G9WJU4Q/F8DM861ND/-.php / https://slack-files.com/T053DPNCM-F8DM861ND-c6f2ba9e6a
# Dec 13th 2017, 17:43 leon Hey. I read your tutorial. Thanks for that. When I implement it it works with crud, but when i try it with crud-json-api Plugin, i always get an error:
# Dec 13th 2017, 17:42 bravo-kernel @Leon Ofcourse, 3.5.7 no problem at all
# Dec 13th 2017, 17:41 leon Hello. Is somebody here who succesfully used FriendsOfCake/crud-json-api with cake 3.5?
# Dec 13th 2017, 17:19 meowcate The cookbook says a lot about "how to get others languages", I though that see easy, but there is not so much about "how to come back to the original after that".
# Dec 13th 2017, 17:18 meowcate So my defaultLocale is currently *en_US*. If I call `I18n::setLocale('en_US');`, it should use the content of my `articles` table, and not checking the `i18n` one ?
# Dec 13th 2017, 17:16 meowcate @hmic `defaultLocale`, I see, thanks. First time I'm working on a multilang app.