- 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
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.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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 ..