<p>Hey Daniel and sorry for the lack of response. Please get in touch at ben@dukt.net and I'll be happy to offer you the license hoping you'll accept my apologies for the huge delay in my reply.</p>

<p>Regarding your issue, it looks like some classes haven't been loaded (OAuth\Common\Storage\Session). Can you please check if Session.php file is present in OAuth plugin's folder under <code>oauth/vendor/lusitanian/oauth/src/OAuth/Common/Storage</code>.</p>

<p>Also, you might consider get a fresh copy of the latest release of the <a href="https://dukt.net/craft/oauth" rel="nofollow">OAuth plugin</a> and try to unzip/re-upload the files, I'm thinking you may just have some missing files and that could fix the problem, otherwise we'll dig further.</p>

CC BY-SA 3.0
2015-03-17T10:02:25.110Z
Thanks for replying Ben. I had tried re-downloading and reinstalling the plugins and it did not work. Following your comment however I tried it again using a different method (FTP instead of deploying with git) and it seemed to have done the trick - I'm assuming that there might have been some git ignore file that stopped all dependancies from being uploaded.. On another note did you have a look at the CSRF issue please?
Daniel Paras
CC BY-SA 3.0
2015-03-28T04:45:07.850Z
@DanielParas Hey Daniel, I've just added CSRF support to all Dukt plugins :)
Benjamin David
CC BY-SA 3.0
2015-03-31T10:23:29.487Z
how do I download the update please?
Daniel Paras
CC BY-SA 3.0
2015-03-31T12:15:50.733Z
@DanielParas You need to follow the link in the email you received when you purchased the plugin, it will take you to your receipt where you can download the latest version of the plugin. Let me know if you have any problem.
Benjamin David
CC BY-SA 3.0
2015-03-17T02:12:13.483Z
2015-03-17T02:12:13.483Z
Benjamin David
<p>I purchased the Dukt Videos plugin and when trying to connect with one of the services (Google or Vimeo) I'm met with the following fatal error:</p>

<pre><code>( ! ) Fatal error: Class 'OAuth\Common\Storage\Session' not found in /home/forge/website.com/craft/plugins/oauth/providers/BaseOAuthProviderSource.php on line 51
Call Stack
#   Time    Memory  Function    Location
1   0.0001  242088  {main}( )   ../index.php:0
2   0.0002  243000  require_once( '/home/forge/website.com/craft/app/index.php' )   ../index.php:36
3   0.0392  3729440 CApplication-&gt;run( )    ../index.php:62
4   0.0392  3731160 Craft\WebApp-&gt;processRequest( ) ../CApplication.php:180
5   0.0617  4905776 Craft\WebApp-&gt;_processActionRequest( )  ../WebApp.php:263
6   0.0617  4906040 CWebApplication-&gt;runController( )   ../WebApp.php:756
7   0.0623  5054240 CController-&gt;run( ) ../CWebApplication.php:282
8   0.0625  5080680 CController-&gt;runActionWithFilters( )    ../CController.php:265
9   0.0625  5080792 CController-&gt;runAction( )   ../CController.php:286
10  0.0626  5081528 CInlineAction-&gt;runWithParams( ) ../CController.php:308
11  0.0626  5083200 Craft\OauthController-&gt;actionConnect( ) ../CInlineAction.php:49
12  0.0765  5789632 OAuthProviderSources\BaseOAuthProviderSource-&gt;initializeService( )  ../OauthController.php:120
13  0.0765  5789672 OAuthProviderSources\BaseOAuthProviderSource-&gt;getStorage( ) ../BaseOAuthProviderSource.php:124
</code></pre>

<p>This aspect of the plugin works on my dev env but when testing this on another separate install on my webserver this error keeps coming up.</p>

<p>Anyone have an idea how this can be fixed? Assuming it's not a plugin bug.</p>

<p>I have contacted the plugin developer about the issue but I'm concerned that I won't get a reply as I've asked him about another issue I encountered with the plugin about 2 weeks ago (with a follow up last week) and I did not get any reply. I've also seen that <a href="https://craftcms.stackexchange.com/questions/8526/dukt-analytics-plugin-web-profile-not-showing-up">another member of this community</a> had an issue with a plugin from the same developer and received no reply from the developer either. If this was a free plug in I wouldn't be expecting support but when you consider that the plugin costs €49, it's quite disappointing that there isn't a reply.</p>

<p>Thanks in advance!</p>

<plugins><plugin-duktvideos>
"Fatal Error 'OAuth\Common\Storage\Session' not found" when trying to connect to connect to Google or Vimeo
# "Fatal Error 'OAuth\Common\Storage\Session' not found" when trying to connect to connect to Google or Vimeo

(Asked by: username_0 on 2015-03-16)

I purchased the Dukt Videos plugin and when trying to connect with one of the services (Google or Vimeo) I'm met with the following fatal error:
( ! ) Fatal error: Class 'OAuth\Common\Storage\Session' not found in /home/forge/website.com/craft/plugins/oauth/providers/BaseOAuthProviderSource.php on line 51
Call Stack
#   Time    Memory  Function    Location
1   0.0001  242088  {main}( )   ../index.php:0
2   0.0002  243000  require_once( '/home/forge/website.com/craft/app/index.php' )   ../index.php:36
3   0.0392  3729440 CApplication->run( )    ../index.php:62
4   0.0392  3731160 Craft\WebApp->processRequest( ) ../CApplication.php:180
5   0.0617  4905776 Craft\WebApp->_processActionRequest( )  ../WebApp.php:263
6   0.0617  4906040 CWebApplication->runController( )   ../WebApp.php:756
7   0.0623  5054240 CController->run( ) ../CWebApplication.php:282
8   0.0625  5080680 CController->runActionWithFilters( )    ../CController.php:265
9   0.0625  5080792 CController->runAction( )   ../CController.php:286
10  0.0626  5081528 CInlineAction->runWithParams( ) ../CController.php:308
11  0.0626  5083200 Craft\OauthController->actionConnect( ) ../CInlineAction.php:49
12  0.0765  5789632 OAuthProviderSources\BaseOAuthProviderSource->initializeService( )  ../OauthController.php:120
13  0.0765  5789672 OAuthProviderSources\BaseOAuthProviderSource->getStorage( ) ../BaseOAuthProviderSource.php:124

This aspect of the plugin works on my dev env but when testing this on another separate install on my webserver this error keeps coming up.
Anyone have an idea how this can be fixed? Assuming it's not a plugin bug.
I have contacted the plugin developer about the issue but I'm concerned that I won't get a reply as I've asked him about another issue I encountered with the plugin about 2 weeks ago (with a follow up last week) and I did not get any reply. I've also seen that another member of this community had an issue with a plugin from the same developer and received no reply from the developer either. If this was a free plug in I wouldn't be expecting support but when you consider that the plugin costs €49, it's quite disappointing that there isn't a reply.
Thanks in advance!

**Tags:** plugins, plugin-duktvideos

---

## 1 answers

### Answer by username_1 on 2015-03-17. Score: 1 | Accepted answer

Hey Daniel and sorry for the lack of response. Please get in touch at ben@dukt.net and I'll be happy to offer you the license hoping you'll accept my apologies for the huge delay in my reply.

Regarding your issue, it looks like some classes haven't been loaded (OAuth\Common\Storage\Session). Can you please check if Session.php file is present in OAuth plugin's folder under `oauth/vendor/lusitanian/oauth/src/OAuth/Common/Storage`.

Also, you might consider get a fresh copy of the latest release of the [OAuth plugin](https://dukt.net/craft/oauth) and try to unzip/re-upload the files, I'm thinking you may just have some missing files and that could fix the problem, otherwise we'll dig further.

> **Comments:**
> **username_0**: Thanks for replying Ben. I had tried re-downloading and reinstalling the plugins and it did not work. Following your comment however I tried it again using a different method (FTP instead of deploying with git) and it seemed to have done the trick - I'm assuming that there might have been some git ignore file that stopped all dependancies from being uploaded.. On another note did you have a look at the CSRF issue please?  
> **username_1**: @DanielParas Hey Daniel, I've just added CSRF support to all Dukt plugins :)  
> **username_0**: how do I download the update please?  
> **username_1**: @DanielParas You need to follow the link in the email you received when you purchased the plugin, it will take you to your receipt where you can download the latest version of the plugin. Let me know if you have any problem.  

---

