On 23 Feb 2020, at 9:46, Roland Gruber wrote:

Hi Tobias,

Am 22.02.20 um 14:38 schrieb Tobias Kirchhofer:
Yes. At least the pdf is now showing up but with no dynamic content. PDF
editor was left with default settings. It should print various user
settings in the pdf.

depending on the attributes you manage the default might not be valid. Please check that the fields match your account modules. You can also add some static text for testing.

Static text works for user PDF. I think we have to better understand how to configure the PDF output with custom attributes. Thank you for the explanation.


On the group and host page „This page isn’t working. lam.domain.tls is
currently unable to handle this request.
HTTP ERROR 500“

Strange that it is different on the user and the group and host page.

For error 500 there should be something in the Apache log file. Check
the error.log file if you see any issues.

nginx error log is empty. error_log debug does not show something
interesting.

Could it be that it needs a php binary in the system? We just installed
php-fpm.


Error 500 can be caused by a dying PHP process. There can be various reasons like missing PHP extensions etc.

You can try to enable PHP error reporting in LAM's main settings:

https://www.ldap-account-manager.org/static/doc/manual/ch03.html#conf_logging

Maybe this helps to get more output.
You might also want to try with Apache and mod_php if this makes a difference.

```
Fatal error: Uncaught Error: Call to a member function getHeadline() on null in /srv/www/lam.domain.tld/lib/pdf.inc:187 Stack trace: #0 /srv/www/lam.domain.tld/lib/pdf.inc(125): LAM\PDF\getSectionHeadline() #1 /srv/www/lam.domain.tld/lib/pdf.inc(80): LAM\PDF\createPdf() #2 /srv/www/lam.domain.tld/lib/lists.inc(684): LAM\PDF\createModulePDF() #3 /srv/www/lam.domain.tld/lib/lists.inc(168): lamList->listDoPost() #4 /srv/www/lam.domain.tld/templates/lists/list.php(62): lamList->showPage() #5 {main} thrown in /srv/www/lam.domain.tld/lib/pdf.inc on line 187
```

Does this explain something?

Beside this we see a lot of depreciated messages from PHP. We use PHP 7.4. Maybe irrelevant, just want to mention it.

Best regards

Roland


_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public


--
[email protected]
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to