# |
Apr 19th 2017, 18:38 |
obinoob |
hmic: it is working |
# |
Apr 19th 2017, 18:38 |
hmic |
obinoob, use wkhtmltopdf |
# |
Apr 19th 2017, 18:37 |
hmic |
you can just composer create-project an empty cakephp app skeleton in another dir and see what it tells you |
# |
Apr 19th 2017, 18:37 |
obinoob |
I need some cakepdf view template please |
# |
Apr 19th 2017, 18:37 |
hmic |
so you might be missing on them |
# |
Apr 19th 2017, 18:37 |
hmic |
update does not check the prerequisites for already installed packages |
# |
Apr 19th 2017, 18:36 |
hmic |
composer install! |
# |
Apr 19th 2017, 18:36 |
hmic |
no |
# |
Apr 19th 2017, 18:36 |
Wodan__ |
Took my repo, did composer update |
# |
Apr 19th 2017, 18:36 |
obinoob |
*there |
# |
Apr 19th 2017, 18:36 |
obinoob |
is the any way i can fix it by viewing the result in my app? Any info about which css properties it supports ? |
# |
Apr 19th 2017, 18:36 |
Wodan__ |
What would there be to instal though... |
# |
Apr 19th 2017, 18:35 |
hmic |
read composer docs on how install works |
# |
Apr 19th 2017, 18:35 |
Wodan__ |
Nothing to install or update |
# |
Apr 19th 2017, 18:35 |
hmic |
if not - do so |
# |
Apr 19th 2017, 18:34 |
hmic |
Wodan__, did you "composer install" on the server? |
# |
Apr 19th 2017, 18:34 |
obinoob |
also noticed that the style breaks |
# |
Apr 19th 2017, 18:34 |
Wodan__ |
I have composer |
# |
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? |