# |
Apr 19th 2017, 18:30 |
hmic |
thats easy to try :D |
# |
Apr 19th 2017, 18:30 |
Wodan__ |
Which is why I think it's some form of file permission error |
# |
Apr 19th 2017, 18:30 |
Wodan__ |
The translations themselves however are not loaded |
# |
Apr 19th 2017, 18:30 |
Wodan__ |
It updates just fine |
# |
Apr 19th 2017, 18:29 |
Wodan__ |
I have an alert message that pops up as soon as the locale changes or even if an already existing one is being called |
# |
Apr 19th 2017, 18:29 |
Wodan__ |
@hmic, the session works |
# |
Apr 19th 2017, 18:08 |
hmic |
which inicates sessions do not work? |
# |
Apr 19th 2017, 18:05 |
Wodan__ |
It works fine locally, not on the server |
# |
Apr 19th 2017, 18:05 |
Wodan__ |
https://www.irccloud.com/pastebin/xBBg0hhj/ |
# |
Apr 19th 2017, 18:05 |
Wodan__ |
My language selection is down as follows in appController.php: |
# |
Apr 19th 2017, 17:53 |
Wodan__ |
I have one more question, this one is relating to Locales, my translations are not loading. I assume this is due to permissions on the .PO files but setting others to read permissions does not fix this. Any ideas? |
# |
Apr 19th 2017, 17:49 |
Yuv |
but for me, it shows error with some template |
# |
Apr 19th 2017, 17:49 |
Yuv |
I want response like this even for error. { "message": "Template file \Pages\\score.ctp\ is missing.", "url": "\/pages\/score", "code": 500 } |
# |
Apr 19th 2017, 17:48 |
Wodan__ |
@hmic, that fixed that issue. Thank you |
# |
Apr 19th 2017, 17:48 |
Yuv |
slackebot5: Its already running application. Couldn't create from the beginning. |
# |
Apr 19th 2017, 17:45 |
bravo-kernel |
@yuv did you check https://crud.readthedocs.io/en/latest/api.html as an api alternative? |
# |
Apr 19th 2017, 17:45 |
hmic |
Wodan__, double check that the php sqlite extension is loaded on the server, this fails silently |
# |
Apr 19th 2017, 17:41 |
Yuv |
i was forced to use die json_encode, but throwing exceptions like Not found, it is rending html pages. |
# |
Apr 19th 2017, 17:41 |
Wodan__ |
@dereuromark thank you, I'll look at it. |
# |
Apr 19th 2017, 17:40 |
Yuv |
i use parseExtensions for json.. but it shows headers already emitted |
# |
Apr 19th 2017, 17:40 |
dereuromark |
Wodan: You should be using this kind of command of composer to properly deploy on production: https://github.com/dereuromark/cakephp-sandbox/blob/3.0/build.sh#L10 |
# |
Apr 19th 2017, 17:40 |
Yuv |
hi..i want to use my cakephp app entirely for Rest API |
# |
Apr 19th 2017, 17:39 |
Wodan__ |
The app.php has not been modified apart from the database connection and I used composer update after uploading, everything else seems to work fine minues a bug or two |
# |
Apr 19th 2017, 17:38 |
Wodan__ |
Hello everyone. I moved my CakePHP3 website from my local testmachine to my webserver. But now debug kit is not showing up. Does anybody have ideas as to why this happens? |
# |
Apr 19th 2017, 16:07 |
crazycoder |
Neon1024, bye |
# |
Apr 19th 2017, 16:06 |
Erik180486 |
it's working for me now! |
# |
Apr 19th 2017, 16:05 |
Erik180486 |
thx |
# |
Apr 19th 2017, 16:03 |
Neon1024 |
Good luck crazycoder |
# |
Apr 19th 2017, 16:03 |
Neon1024 |
That’s hometime for me! |
# |
Apr 19th 2017, 16:00 |
crazycoder |
is not useful to handle json requests no? |
# |
Apr 19th 2017, 15:59 |
crazycoder |
Neon1024, oh really? |
# |
Apr 19th 2017, 15:54 |
hmic |
cake does install composer locally these days, so: bin/composer would work |
# |
Apr 19th 2017, 15:53 |
Neon1024 |
$ which composer |
# |
Apr 19th 2017, 15:53 |
Neon1024 |
“composer: not found” |
# |
Apr 19th 2017, 15:53 |
Erik180486 |
what's rong? |
# |
Apr 19th 2017, 15:53 |
Erik180486 |
-sh: 12: composer: not found - the file composer.json is there |
# |
Apr 19th 2017, 15:52 |
Erik180486 |
thx |
# |
Apr 19th 2017, 15:50 |
sjundee |
CSV file line 2: `Id;Project;Name;Customer;Active`. `array_search('Id', $cols_array)` returns 0:S |
# |
Apr 19th 2017, 15:50 |
sjundee |
CSV file line 1: `Id;Project;Name;Customer;Active`. `array_search('Id', $cols_array)` returns false :S |
# |
Apr 19th 2017, 15:49 |
sjundee |
Does someone know about a "workaround" to get the first value of the very first row whe looping throught a csv-file? |
# |
Apr 19th 2017, 15:48 |
Neon1024 |
I’m not using the RequestHandlerComponent at all |