# |
Apr 19th 2017, 18:33 |
obinoob |
I'm using cakepdf but I need to optimize the pdf view, at the moment it loads all the assets including a gazilion of css files probably using a few classes from it... |
# |
Apr 19th 2017, 18:32 |
hmic |
if you would have composer installed your project, you might know |
# |
Apr 19th 2017, 18:32 |
hmic |
the server missing some php module i'd guess now :p |
# |
Apr 19th 2017, 18:32 |
hmic |
something similar to your first problem? |
# |
Apr 19th 2017, 18:31 |
Wodan__ |
What else could it be |
# |
Apr 19th 2017, 18:31 |
hmic |
so its not that |
# |
Apr 19th 2017, 18:30 |
Wodan__ |
I gave it read and X permissions to everyone |
# |
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” |