@ram Are you using a version of PHP older than 5.3.0 ? In this case add<?php if ( !defined('__DIR__') ) define('__DIR__', dirname(__FILE__)); ?>
at the beginning of plugin.php
I can't integrate it, any help?
I through it in plugins folder and enable it. I guess that's? no?
I added Facebook strategy in strategies folder and enabled from CP (typing secret and ID)
I tried to navigate manually /user/auth/Facebook or even /user/auth, but it redirects to main page not doing anything.
any suggestion where to start?
Got another error:
Fatal error: require_once() [function.require]: Failed opening required 'C:\Vertrigo\www\eso/plugins/C:\Vertrigo\www\eso\plugins\Opauth/lib/Opauth.php' (include_path='.;C:\Vertrigo\Smarty') in C:\Vertrigo\www\eso\plugins\Opauth\plugin.php on line 15
can someone fix?
There is a windows users problem with
__DIR__ holds backslashes instead of forward slashes.
I've noticed another problem with plugin folder name and have decided to change plugin.php on 15 line from
require_once PATH_PLUGINS."/".end(explode("/", __DIR__))."/lib/Opauth.php";
to fixed folder name "Opauth"
You can download plugin.php again or just change it by yourself.
I'm just install now this plugin, but i have a problem... when i click Setting on Plugin manager: it only display "Opauth.connect Settings" ... and i can't find the file to config api social network manualy => in the login lightbox, i don't see annything change, please help me for this.
I fixed problem display only "Opauth.connect Settings" when i click Setting, input attibu => click Save Changes => I click Setting again => But nothing change. Can you help me ?
p/s: i try input id key and api key directly in file plugin.php but notting happen :(
Thank you for making it public.
I have one issue. I have uploaded all of the files to addons/plugins/Opauth > logged on as an admin > then clicked on addons > find Opauth.connect > click on "Enable" it enables successfully > settings and this is the only thing that shows "Opauth.connect Settings".
So I'm puzzled of why it does not work.
I downloaded files from github uploaded them to plugins/Opth folder and when I logged in as admin and moved to Plugins
I got the following error
Fatal error: require_once(): Failed opening required '/var/www/vhosts/inei/supportline.inei.me/httpdocs/addons/plugins/Opauth/lib/Opauth.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/inei/supportline.inei.me/httpdocs/addons/plugins/opauthconnect-master/plugin.php on line 14