****
Resolved: apache was using older version of PHP. <sigh>
****
I'm building an OAuth provider using the built-in PECL extension (http://www.php.net/oauth). However, I'm running into a fairly serious error when trying to instantiate an OAuthProvider. Here's the simplest example I can give:
public function action_index()
{
$provider = new OAuthProvider();
}
And the error displayed:
ErrorException [ Error ]: Class 'OAuthProvider' not found
This works fine outside of Fuel and I've tried both the master and develop branches but no luck. I'm fairly sure that this is due to the autoloading and that the OAuthProvider class is pre-defined outside of Fuel.
I'm trying to track down the path in Autoloader::load() but was hoping someone else might be able to give pointers in the meantime. For example, is there a way to dictate the PHP/PECL namespace, e.g., PECL\OAuthProvider?
-J