Hi Holger,

which LAM version do you use? I was not able to find such a statement in the given line of "nisNetGroupUser.inc". Also, the nginx config already includes the line.


Best regards

Roland


Am 04.11.20 um 20:46 schrieb Holger Biber:
Hi,

I've still a problem to get LAM startet with my configuration:
   * Ubuntu 16.04
   * nginx/1.17.10
   * php-fpm7.4
(I need this config for several other services like BigBlueButton, ...)

First:
After a fresh install I just saw a blank page when trying to connect via
  https://MYHOST/lam  --> Redirected to "https://MYHOST/lam/templates/login.php";

After several hours I've found the mistake in
   /etc/ldap-account-manager/nginx.conf   (coming with fresh installation)
the line:
   fastcgi_param SCRIPT_FILENAME $request_filename;
is missing after the line "include fastcgi_params;".

After fixing this a testpage with "phpinfo()" shows the PHP-Infopage. Hurra! ;-)

BUT:
      "https://MYHOST/lam/templates/login.php";
shows an ERROR 500 and in the error.log:

2020/11/04 20:42:41 [error] 30960#30960: *12792 FastCGI sent in stderr: "PHP message: PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /usr/share/ldap-account-manager/lib/modules/nisNetGroupUser.inc on line 562" while reading response header from upstream, client: <<MYIP>>, server: MYHOST, request: "GET /lam/templates/login.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "MYHOST", referrer: "https://MYHOST/lam/";

Now I'm "out of order" :(

Thanks for any hints about this error.

Bye
Holger



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

Reply via email to