xperseguers / t3ext-ig_ldap_sso_auth

TYPO3 Extension ig_ldap_sso_auth. This extension provides LDAP and SSO support for TYPO3.
https://extensions.typo3.org/extension/ig_ldap_sso_auth
27 stars 64 forks source link

Get Typo3 Exception at the current version 3.4.0 #78

Closed topsnet-holgerd closed 4 years ago

topsnet-holgerd commented 4 years ago

Running Typo3 8.7.28 and ig_ldap_sso_auth version 3.4.0 (latest) with PHP 7.2.23, getting permanent Typo3 Exception in t3 log: Core: Exception handler (CLI): Uncaught TYPO3 Exception: syntax error, unexpected '?' | ParseError thrown in file /var/www/clients/client21/web84/web/typo3conf/ext/ig_ldap_sso_auth/Classes/Domain/Repository/ConfigurationRepository.php in line 102

xperseguers commented 4 years ago

You are thus referring to https://github.com/xperseguers/t3ext-ig_ldap_sso_auth/blob/b7c3366553e526fd57489ac66d07a081add5aadc/Classes/Domain/Repository/ConfigurationRepository.php#L102

This is a feature available since PHP 7.1, please see https://www.php.net/manual/en/migration71.new-features.php. If you get this error then you are not really running PHP 7.2.23 as you write.

topsnet-holgerd commented 4 years ago

Dear xperseguers, I consulted the phpinfo for the PHP-Version. Typo3 works but in the syslog I get from 10 to 20 of those messages every day. It doesn't say PHP-Error, it says uncaught Typo3 Exception due to parsing error. I will check again and ask our system engineer, what about PHP-Version.

xperseguers commented 4 years ago

If TYPO3 "works", then possibly this is not related to the version used by TYPO3 but the version used with your scheduler script, which is PHP-cli and could easily be an older version of PHP, not the one used by PHP-fpm or mod_php (Apache). You should double-check this as well.

topsnet-holgerd commented 4 years ago

Dear Xavier, thanks a lot, it has been the scheduler. Best, Holger

Von: Xavier Perseguers notifications@github.com Gesendet: Mittwoch, 30. Oktober 2019 10:53 An: xperseguers/t3ext-ig_ldap_sso_auth t3ext-ig_ldap_sso_auth@noreply.github.com Cc: topsnet-holgerd hd@tops.net; Author author@noreply.github.com Betreff: Re: [xperseguers/t3ext-ig_ldap_sso_auth] Get Typo3 Exception at the current version 3.4.0 (#78)

If TYPO3 "works", then possibly this is not related to the version used by TYPO3 but the version used with your scheduler script, which is PHP-cli and could easily be an older version of PHP, not the one used by PHP-fpm or mod_php (Apache). You should double-check this as well. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.