Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many provider examples are not working #587

Open
goldingdamien opened this issue Jun 29, 2022 · 1 comment
Open

Many provider examples are not working #587

goldingdamien opened this issue Jun 29, 2022 · 1 comment

Comments

@goldingdamien
Copy link

Many providers in the example page are not working.
For example: http://localhost:8000/provider/twitter.php

The following warnings/errors are outputted:
Warning: require_once([MY_DIR]\PHPoAuthLib\examples\provider/bootstrap.php): failed to open stream: No such file or directory in[MY_DIR]\PHPoAuthLib\examples\provider\twitter.php on line 20

Fatal error: require_once(): Failed opening required '[MY_DIR]\PHPoAuthLib\examples\provider/bootstrap.php' (include_path='.;C:/laragon/etc/php/pear') in [MY_DIR]\PHPoAuthLib\examples\provider\twitter.php on line 20

Not Working:
https://github.com/daviddesberg/PHPoAuthLib/blob/master/examples/provider/twitter.php#L20
require_once __DIR__ . '/bootstrap.php';

Working:
https://github.com/daviddesberg/PHPoAuthLib/blob/master/examples/provider/google.php#L10
require_once __DIR__ . '/../bootstrap.php';

It seems that "/.." is required but not used in many cases.

@samwilson
Copy link

I don't think this package is maintained any more. See discussion on #582.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants