# |
Jul 18th 2018, 16:25 |
flavius |
commands? |
# |
Jul 18th 2018, 16:24 |
Martin` |
I see cakephp 3 shells are deprecated and removed in 5.x, is there already a alternative? |
# |
Jul 18th 2018, 16:16 |
flavius |
brb, doing a pull request on cakephp readme that says "this framework only works in linux" :P |
# |
Jul 18th 2018, 16:15 |
dereuromark |
o_O |
# |
Jul 18th 2018, 16:15 |
admad |
Then you should consider your life choices |
# |
Jul 18th 2018, 16:15 |
flavius |
what if my server is also windows? |
# |
Jul 18th 2018, 16:13 |
dereuromark |
so it is closer to the deployment and server |
# |
Jul 18th 2018, 16:13 |
dereuromark |
I would expect the windows people to use cakebox instead of native dev. |
# |
Jul 18th 2018, 16:09 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBSLUD8V9/image.png / https://slack-files.com/T053DPNCM-FBSLUD8V9-e078e2168f |
# |
Jul 18th 2018, 16:09 |
dereuromark |
yeah most likely |
# |
Jul 18th 2018, 16:08 |
flavius |
i dont think the `andand` works in windows? |
# |
Jul 18th 2018, 16:06 |
dereuromark |
interesting |
# |
Jul 18th 2018, 16:06 |
dereuromark |
is it windows? |
# |
Jul 18th 2018, 16:06 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBS8B6X9P/image.png / https://slack-files.com/T053DPNCM-FBS8B6X9P-621ec5a07f - <@U052SF4V6> well that was a pain, and it still didn't work after all that, it works in terminal btw |
# |
Jul 18th 2018, 15:54 |
flavius |
hmmmm |
# |
Jul 18th 2018, 15:54 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBSUEUW1K/image.png / https://slack-files.com/T053DPNCM-FBSUEUW1K-421c227c53 - actually i didn't |
# |
Jul 18th 2018, 15:54 |
dereuromark |
should probably be checked for and disabled here |
# |
Jul 18th 2018, 15:54 |
dereuromark |
you loaded that component I bet |
# |
Jul 18th 2018, 15:54 |
dereuromark |
is that coming from your app? sounds like it |
# |
Jul 18th 2018, 15:52 |
flavius |
nvm 'CSRF token mismatch.' |
# |
Jul 18th 2018, 15:52 |
flavius |
get works, post doesn't |
# |
Jul 18th 2018, 15:52 |
flavius |
added `$routes->setExtensions(['json']);` in your `routes.php` |
# |
Jul 18th 2018, 15:51 |
flavius |
what am i missing that the request returns forbidden? |
# |
Jul 18th 2018, 15:48 |
dereuromark |
or russian |
# |
Jul 18th 2018, 15:47 |
admad |
403 forbidden is enough, I wouldn't bother reading the rest even if it was in English :) |
# |
Jul 18th 2018, 15:47 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBS36PYNL/image.png / https://slack-files.com/T053DPNCM-FBS36PYNL-977c5ab98b - there's also some routing extension missing? .json? |
# |
Jul 18th 2018, 15:41 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBSL4NE2F/image.png / https://slack-files.com/T053DPNCM-FBSL4NE2F-8edc93c14b - this is how i speak german :smile: |
# |
Jul 18th 2018, 15:41 |
dereuromark |
hey, you speak german, dont you? :slightly_smiling_face: |
# |
Jul 18th 2018, 15:40 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBSL37Y11/image.png / https://slack-files.com/T053DPNCM-FBSL37Y11-12aa95ece9 - <@U052SF4V6> oh dear, the plugin needs some i18n love as well :slightly_smiling_face: |
# |
Jul 18th 2018, 15:34 |
Diego_ |
anyone familiar with Footprint plugin? im tryto figureout why its setting the colunm modified_by to 0. Debugg shows FootprintListener with the correct key _currentUser set to logged in user entity |
# |
Jul 18th 2018, 15:28 |
josbeir |
if something doesn't save, debugging errors is always your first step. |
# |
Jul 18th 2018, 15:27 |
josbeir |
:slightly_smiling_face: |
# |
Jul 18th 2018, 15:27 |
josbeir |
no problemo |
# |
Jul 18th 2018, 15:27 |
mr.mjsm |
anyway i really thank you. didn't know about the getError, really helped me |
# |
Jul 18th 2018, 15:27 |
mr.mjsm |
@josbeir dude i am so tilted right now. the error was i am assigning 'is_primary' true. so i assigned it to '1' and it worked !! even though in the model it says 'bool' |
# |
Jul 18th 2018, 15:22 |
flavius |
a helper is more elegant :P |
# |
Jul 18th 2018, 15:22 |
dereuromark |
back to the roots |
# |
Jul 18th 2018, 15:22 |
flavius |
i guess you could do that from the controller too :P |
# |
Jul 18th 2018, 15:21 |
flavius |
you still need a place to overwrite the default layout |
# |
Jul 18th 2018, 15:21 |
dereuromark |
cake plugins and routing/controller/frontend/assets are usually always creating a bit of hazzle |
# |
Jul 18th 2018, 15:20 |
josbeir |
$this->viewBuilder()->setClassName('TestHelper.TestHelper'); |