# |
Oct 7th 2016, 14:42 |
nemmons |
was planning on trying out other engines soon |
# |
Oct 7th 2016, 14:41 |
nemmons |
I'm using DomPDF and having all kinds of problems with it |
# |
Oct 7th 2016, 14:40 |
spriz |
weâ??re using Mpdf |
# |
Oct 7th 2016, 14:40 |
spriz |
Personally havnâ??t used wkhtmltopdf :S |
# |
Oct 7th 2016, 14:39 |
maikh |
@spriz ok, fixed that. but now, i only get 'wkhtmltopdf didnt return any data'... example ist like this: https://github.com/FriendsOfCake/CakePdf#2-create-pdf-for-email-attachment-file-storage-etc |
# |
Oct 7th 2016, 14:38 |
cactuss |
lol i was just using it to see what sql queries each page was making and didn't really realize it was keeing much state |
# |
Oct 7th 2016, 14:38 |
cactuss |
i have a dev server running debug kit and it's sqlite db crept up to 6GBs. Am I doing something wrong? Should i set up a cron to clean it every now and then? Why is it so big? thx |
# |
Oct 7th 2016, 14:13 |
asdfXXasdf |
slackebot: I am talking about the utilization of the typical user views/controllers/models like this howto: http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html |
# |
Oct 7th 2016, 14:13 |
admad |
*supports |
# |
Oct 7th 2016, 14:13 |
admad |
hyridauth support authentication using openid |
# |
Oct 7th 2016, 14:13 |
slackebot |
~tell asdfXXasdf about hybridauth |
# |
Oct 7th 2016, 14:13 |
slackebot |
Command sent from Slack by admad: |
# |
Oct 7th 2016, 14:13 |
spriz |
I donâ??t think thereâ??s such thing as â??the cakephp user managementâ? ? :slightly_smiling_face: |
# |
Oct 7th 2016, 14:09 |
asdfXXasdf |
Does anybody know how to integrate the OpenID component ( http://code.42dh.com/openid/ ) in a system which uses the CakePHP user management already? |
# |
Oct 7th 2016, 14:08 |
rchavik |
not via CLI, but via web request |
# |
Oct 7th 2016, 14:07 |
maikh |
sure. if i echo $PATH it in. |
# |
Oct 7th 2016, 14:07 |
rchavik |
try specifying absolute path instead |
# |
Oct 7th 2016, 14:07 |
rchavik |
maikh, maybe your php runtime does not have /usr/local/bin in its path |
# |
Oct 7th 2016, 14:05 |
maikh |
i thougt if it is root it will be executeable for everyone. |
# |
Oct 7th 2016, 14:04 |
maikh |
hm, i dont understand this... |
# |
Oct 7th 2016, 14:02 |
spriz |
but it should be executable by everyone :thinking_face: |
# |
Oct 7th 2016, 14:01 |
spriz |
Iâ??d guess your php runs as www-data, apache, nginx or something alike |
# |
Oct 7th 2016, 14:01 |
spriz |
owned by root :slightly_smiling_face: |
# |
Oct 7th 2016, 14:00 |
maikh |
```-rwxr-xr-x 1 root admin 47M 20 Jan 2016 wkhtmltopdf``` |
# |
Oct 7th 2016, 14:00 |
maikh |
oh sorry... |
# |
Oct 7th 2016, 14:00 |
spriz |
bu thatâ??s `wkhtmltoimage` not `wkhtmltopdf` |
# |
Oct 7th 2016, 14:00 |
maikh |
```-rwxr-xr-x 1 root admin 47M 20 Jan 2016 wkhtmltoimage``` |
# |
Oct 7th 2016, 14:00 |
spriz |
>"not executable:â? @maikh |
# |
Oct 7th 2016, 13:59 |
spriz |
then maybe itâ??s 2nd part of the error message ); |
# |
Oct 7th 2016, 13:59 |
maikh |
but in /usr/local/bin/ there is this wkhtmltopdf |
# |
Oct 7th 2016, 13:59 |
maikh |
i want to create pdfs as email-attachements. but allways get the error ```wkhtmltopdf binary is not found or not executable: /usr/local/bin/wkhtmltopdf``` |
# |
Oct 7th 2016, 13:57 |
maikh |
is anybody using this plugin: CakePdf ? |
# |
Oct 7th 2016, 13:47 |
spriz |
#rubberduck |
# |
Oct 7th 2016, 13:47 |
spriz |
oh lol, now I can see that itâ??s pretty obvious that itâ??s grabbing the tasks where â??notbeforeâ? is not null :slightly_smiling_face: |
# |
Oct 7th 2016, 13:45 |
spriz |
I donâ??t understand why some of those tasks are (more or less) suddenly grabbed by a worker - instead of grabbing the oldest one first :P |
# |
Oct 7th 2016, 13:45 |
spriz |
also right now, we have ~5500 non-completed tasks in the queue, and then this is the most recent ones: https://cl.ly/hheA/Screen%20Shot%202016-10-07%20at%2015.43.07.png |
# |
Oct 7th 2016, 13:43 |
spriz |
last 12 hours we average out on 1500ms for the SELECT |
# |
Oct 7th 2016, 13:38 |
dereuromark |
dunno, but pretty fast I imagine |
# |
Oct 7th 2016, 13:37 |
spriz |
And also, could I ask you how many ms each of the SELECT to see if thereâ??s any pending jobs takes for you? :slightly_smiling_face: |
# |
Oct 7th 2016, 13:36 |
spriz |
Iâ??m pretty sure weâ??ve previously had multiple workers picking tasks with your cakephp-queue plugin in between, but now we seem only to have 1 worker running at a time - is that something youâ??ve heard before? Or does it sound like non-sense? |
# |
Oct 7th 2016, 13:35 |
spriz |
@dereuromark you around? :slightly_smiling_face: |