A3M - Account Authentication & Authorization Module |
[eluser]loosetops[/eluser]
Bug Report I have found the cause to the error I was getting while trying to view the link http://domain.com/a3m/oauth/apps Quote:Fatal error: Uncaught exception ‘OAuthException2’ with message ‘No OAuthStore for mysql (file /homepages/37/d248106511/htdocs/domain/a3m/application/modules/oauth/libraries/oauth-php/library/store/OAuthStoremysql.php)’ in /homepages/37/d248106511/htdocs/domain/a3m/application/modules/oauth/libraries/oauth-php/library/OAuthStore.php:76 The bug is at this section file: [modules/oauth/controllers/oauth.php] Code: function OAuth() The property $DB->dbdriver returns mysql instead of MySQL. This leads to the creation of a file that doesn't exist in modules/oauth/libraries/oauth-php/library/OAuthStore.php Code: public static function instance ( $store = 'MySQL', $options = array() ) So $file is modules/oauth/libraries/oauth-php/library/store/OAuthStoremysql.php instead of modules/oauth/libraries/oauth-php/library/store/OAuthStoreMySQL.php For now, I'm overriding the passed variable of 'mysql' with 'MySQL' and this is what the page looks like. Looking at all driver specific files in modules/oauth/libraries/oauth-php/library/store/ a general fix that takes care of this lowercase issue is maybe needed. Very good job once again. This is one monster that is going down. |
Welcome Guest, Not a member yet? Register Sign In |