<b></b>
// check if we have a strategy defined for this provider
132 if ( ! \Config::get('opauth.Strategy.'.$config['provider'], false))
133 {
134 throw new \OpauthException('Opauth strategy "'.$config['provider'].'" is not supported');
135 }
// load Opauth, it will load the provider strategy and redirect to the provider
16 \Auth_Opauth::forge();
Fuel\Core\PhpErrorException [ User Error ]: Unsupported or undefined Opauth strategy - public
122???
123 $this->Strategy->callAction($this->env['params']['action']);
124 }
125 else
126 {
127 trigger_error('Unsupported or undefined Opauth strategy - '.$this->env['params']['strategy'], E_USER_ERROR);
128 }
129 }
130 else
131 {
132 $sampleStrategy = array_pop($this->env['Strategy']);
Fuel\Core\PhpErrorException [ User Error ]: Unsupported or undefined Opauth strategy - login
115 $this->env['params']['action'] = 'request';
116 }
117
118 $this->Strategy->callAction($this->env['params']['action']);
119 } else {
120 trigger_error('Unsupported or undefined Opauth strategy - '.$this->env['params']['strategy'], E_USER_ERROR);
121 }
122 } else {
123 $sampleStrategy = array_pop($this->env['Strategy']);
Backtrace
What is wrong now ?
[params] => Arrayso i've changed to do like this
(
[0] => login
[1] => oauth
[2] => facebook
)
Fuel\Core\PhpErrorException [ User Error ]: Unsupported or undefined Opauth strategy - CMS-Sites
115 $this->env['params']['action'] = 'request';
116 }
117
118 $this->Strategy->callAction($this->env['params']['action']);
119 } else {
120 trigger_error('Unsupported or undefined Opauth strategy - '.$this->env['params']['strategy'], E_USER_ERROR);
121 }
122 } else {
123 $sampleStrategy = array_pop($this->env['Strategy']);
124 trigger_error('No strategy is requested. Try going to '.$this->env['complete_path'].$sampleStrategy['strategy_url_name'].' to authenticate with '.$sampleStrategy['strategy_name'], E_USER_NOTICE);
125 }
It looks like you're new here. If you want to get involved, click one of these buttons!