Hi Roland, You were totally right about the PHP-version. I'm working on.16 a recently installed server (Redhat-7) and was assuming the PHP-version was not that old after a yum update I executed last week ☹. Unfortunately, the PHP version was 5.4.16 (ough).
I installed PHP 7.2 now, and LAM is starting. Thanks for the support and pointing me in the correct direction! Kind regards,, Jeroen Gouma -----Original Message----- From: Roland Gruber <[email protected]> Sent: Thursday, 16 August 2018 18:35 To: [email protected] Subject: Re: [Lam-public] Error after installation Hi Jeroen, sorry, could also occur on PHP 5.6. I will change the code for 6.5. If you cannot upgrade to PHP 7 then here is the fix: https://github.com/LDAPAccountManager/lam/commit/828fdc08c50c3dcf9a87f04e9aeedf1ae02eb36b Best regards Roland On 16.08.2018 16:24, Roland Gruber wrote: > Hi Jeroen, > > I guess you have PHP < 5.6 installed. Please upgrade to at least 5.6, better > 7. > > Best regards > Roland > > Am 16. August 2018 15:28:25 MESZ schrieb Jeroen Gouma <[email protected]>: >> I performed a fresh installation of LAM on a RedHat-7 linuxserver >> with PHP installed. >> >> When trying to go to the login page in my browser I only see a blanc >> screen, although the URL changes from /lam into >> lam/templates/login.php >> >> In the SSL errorlog of httpd (Apache) I see only the following lines: >> >> [Thu Aug 16 15:23:27.806568 2018] [ssl:info] [pid 3862] [client >> 185.108.224.4:2180] AH01964: Connection to child 0 established >> (server >> xxxxxx.xxxxxxxx.nl:443) >> [Thu Aug 16 15:23:31.202187 2018] [:error] [pid 3862] [client >> 185.108.224.4:2180] PHP Fatal error: Arrays are not allowed in class >> constants in /usr/share/ldap-account-manager/lib/lists.inc on line >> 113 >> >> Ssl_access_log gives the following information: >> >> 185.108.224.4 - - [16/Aug/2018:14:53:24 +0200] "GET /lam/ HTTP/1.1" >> 200 >> 316 >> 185.108.224.4 - - [16/Aug/2018:14:53:24 +0200] "GET >> /lam/templates/login.php HTTP/1.1" 500 - >> 185.108.224.4 - - [16/Aug/2018:14:53:30 +0200] "-" 408 - >> 185.108.224.4 - - [16/Aug/2018:15:07:05 +0200] "GET >> /lam/templates/login.php HTTP/1.1" 500 - >> 185.108.224.4 - - [16/Aug/2018:15:07:19 +0200] "GET >> /lam/templates/login.php HTTP/1.1" 500 - >> 185.108.224.4 - - [16/Aug/2018:15:23:31 +0200] "GET >> /lam/templates/login.php HTTP/1.1" 500 – >> >> I hope somebody has a good tip how to solve… >> >> Thanks! >> >> >> >> Kind regards, >> >> Jeroen Gouma >> Consultant >> +31 (0)6 55 88 49 22 >> >> [cid:[email protected]] >> >> [email protected]<mailto:[email protected]> >> www.amis.nl<http://www.amis.nl/> >> Edisonbaan 15 >> 3439 MN Nieuwegein >> >> Bekijk hier de algemene voorwaarden van >> Conclusion<http://www.conclusion.nl/kleine-lettertjes/algemene-voorwa >> arden> >> >> [cid:[email protected]] > > > > ---------------------------------------------------------------------- > -------- Check out the vibrant tech community on one of the world's > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Lam-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lam-public > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
