You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered: