- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Backend/Core → API
- Assigned To No-one
- Operating System All
- Severity High
- Priority Medium
- Reported Version 1.0-rc
- Due in Version 1.0
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Flyspray - The bug killer!
Opened by oliver p - 07.09.2016
Last edited by peterdd - 09.09.2016
Opened by oliver p - 07.09.2016
Last edited by peterdd - 09.09.2016
FS#2201 - I got Fatal Error on the Github OAuth
Fatal error: Class 'League\OAuth2\Client\Provider\Github' not found in /html/bugs/includes/GithubProvider.php on line 11
I have downloaded this:
Precompiled with 3rd party libs for PHP5.6: flyspray-1.0-rc1_php56.tgz
and the file seems really dont exist.
You mean the class, right?
I haven't tested oauth2-feature integration in Flyspray for a while. Probably the guys of thephpleague changed classes/interfaces and the customization within Flyspray source is outdated (includes/GithubProvider.php - last change 2 years ago ) and must be reviewed..
At all:
Ideally the file includes/GithubProvider.php is not needed anymore. That file there seems to be a workaround/hack for only one oauth2 provider - Github.
Requires change in scripts/oauth.php in Flyspray source ..
Depending on php version, composer installs different releases of https://github.com/thephpleague/oauth2-client/ Probably includes/GithubProvider.php is only working for older oauth2-client releases.
Current oauth2-client releases are php5.5 and up only ..