# |
Apr 19th 2017, 20:38 |
jojomartius |
hi, anyone who really understands cake's sessions? :slightly_smiling_face: always got logged out |
# |
Apr 19th 2017, 18:40 |
obinoob |
hmic ok |
# |
Apr 19th 2017, 18:39 |
hmic |
but my advice it clearly: use wkhtmltopdf! |
# |
Apr 19th 2017, 18:39 |
obinoob |
I mean the default view.ctp |
# |
Apr 19th 2017, 18:39 |
obinoob |
I need to make it smaller |
# |
Apr 19th 2017, 18:39 |
hmic |
you can check what the other do on their respective project pages |
# |
Apr 19th 2017, 18:38 |
obinoob |
because it is fetching so many files etc |
# |
Apr 19th 2017, 18:38 |
hmic |
the by far best one is wkhtmltopdf |
# |
Apr 19th 2017, 18:38 |
hmic |
cakepdf supports multiple pdf "renderers" |
# |
Apr 19th 2017, 18:38 |
obinoob |
but it takes ages to render |
# |
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 |