univlorraine / limesurvey-cas

CAS Authentication plugin for limesurvey (based on phpCAS)
GNU General Public License v2.0
25 stars 23 forks source link

[PHP version] Deprecated: __autoload() is deprecated, use spl_autoload_register() #20

Closed Shnoulle closed 2 years ago

Shnoulle commented 3 years ago

When activate plugin, with PHP 7.4 and debug set : receive error ( ! ) Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /data/shnoulle/Développements/LimeSurvey external Plugins/limesurvey-cas/AuthCAS/third_party/CAS/source/CAS/Autoload.php on line 98

Maybe time to update last php-CAS version ?

https://github.com/apereo/phpCAS/releases/tag/1.4.0 maybe ?

Shnoulle commented 3 years ago

PS : i can do a real test only if i have a CAS server for testing purpose ;)

goyome commented 3 years ago

Hi,

Thanks for pointing that out. We're gonna make some test to upgrade phpCAS. Sorry but we won't maintain an public instance of a CAS server for testing purpose :)

Shnoulle commented 3 years ago

Sorry but we won't maintain an public instance of a CAS server for testing purpose :)

🤣 totally understand this !

Maybe i have a task for LimeSurvey 5.X compatibility upgrade of plugin.

Shnoulle commented 2 years ago

https://github.com/univlorraine/limesurvey-cas/pull/21

Maybe you can check if it work for you ? I just make a micro update for auth_CAS not set mean : can log in.

goyome commented 2 years ago

Thanks for solving the problem yourself. I'm sorry for the lack of reaction :sweat_smile:

Shnoulle commented 2 years ago

Thanks for solving the problem yourself. I'm sorry for the lack of reaction 😅

No problem ! Thanks for your good work.