Closed (fixed)
Project:
Dropbox Client
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Apr 2012 at 21:24 UTC
Updated:
8 Jun 2013 at 18:55 UTC
I tried to install Dropbix client and got through to the page where Dropbox requests that I allow access. When I click "Allow" I am redirected to a page on my Drupal site but with the text:
The requested page "/dropbox_client/access?uid=xx&oauth_token=xx" could not be found.
(I've taken out the uid and token info)
I have a free Dropbox account, could this be the source of the error?
Thanks
Comments
Comment #1
-enzo- commentedHello Edward.
Dropbox change the API two weeks ago, I didn't review the change yet.
I you can review and give a patch the community will really love.
Regards,
Comment #2
-enzo- commentedHello Edward
What is the URL you receive with page not found.
Regards,
enzo
Comment #3
neoph commentedHello Enzo, have you got a fix for this bug yet?
Everytime i try to install i get the "Page not found" as well. After install, it gives me a different error something with:
undefined index oauth_token dropbox_client_success()
I can give you the exact error if you want :)
Thanks in advance
Prier
Comment #4
jsheffers commentedI'm getting the same issue as well.
Comment #5
mariusdiacu commentedSo, I tried this both on the latest Drupal (7.19) and on 7.9 version. I downloaded the module, install it and then went to admin/dropbox_client/settings. There are two options: Wideside Account and Per User Account.
I tried with Wideside account, hit save, then click on the link "Link Dropbox to Website with another account". I was redirected to the allow access page, hit Allow and all was ok. I have enabled blocks where I can see the dropbox files.
Am I missing something?
Comment #6
-enzo- commentedHello neoph
I just upload a new version 3.2 , you can try and let me know if works for you.
Regards.
Comment #7
-enzo- commentedHello maryus88
Dropbox cliente expose three new block for Search, Upload and list of files, you can decide what blocks your users can view to do operations in Dropbox. they are block to use with Display suites , panels or regular blocks of Drupal and maybe with context.
Comment #8
FATAL_TERROR commentedI downloaded the module, install it and then went to admin/dropbox_client/settings. There are two options: Wideside Account and Per User Account.
I tried with Wideside account, hit save, then click on the link "Link Dropbox to Website with another account". I was redirected to the allow access page, hit Allow and all was ok.© maryus88
Me too!
But site returned an error:
Notice: Undefined index: oauth_token in dropbox_client_success() (line 128 of Z:\home\my-site\www\sites\all\modules\dropbox_client\dropbox_client.module).
Notice: Undefined index: oauth_token_secret in dropbox_client_success() (line 129 of Z:\home\my-site\www\sites\all\modules\dropbox_client\dropbox_client.module).
Error: Dropbox Client For Drupal can't be installed
What is it?
Comment #9
-enzo- commentedHello FATAL_TERROR
After your code looks like the error happen inside the function dropbox_client_access, to be more specific in line 182 $oauth = $dropbox->get_access_token( $_SESSION[ 'dropbox_client_token_secret' ] );
Looks you have problems with OAUTH library in windows, can you debug and provide more information.
Regards,
Greetings from Costa Rica.
Comment #10
FATAL_TERROR commentedOk, I did everything written here: http://www.websanova.com/tutorials/php/installing-php-oauth-on-windows
Nothing changes.
My error.log apache:
========================================================
[Mon Feb 18 08:47:31 2013] [error] [client 192.168.1.2] GET /1/account/info HTTP/1.1\r\nHost: api.dropbox.com\r\nConnection: close\r\nUser-Agent: Drupal\r\nAccept-encoding: identity\r\nAuthorization: OAuth oauth_consumer_key="xux633wkpcmoxl7", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1361162851", oauth_nonce="76a8e994562525787b1b8651bd126c69", oauth_version="1.0", oauth_token="", oauth_signature="U5Gm3c4gd62J1FPh0maF1iJmeIg%3D"\r\n\r\n, referer: http://my-site/poll
[Mon Feb 18 08:47:32 2013] [error] [client 192.168.1.2] Array\n(\n [url] => https://api.dropbox.com/1/account/info\n [content_type] => application/json\n [http_code] => 401\n [header_size] => 250\n [request_size] => 394\n [filetime] => -1\n [ssl_verify_result] => 20\n [redirect_count] => 0\n [total_time] => 0.889\n [namelookup_time] => 0\n [connect_time] => 0.218\n [pretransfer_time] => 0.655\n [size_upload] => 0\n [size_download] => 36\n [speed_download] => 40\n [speed_upload] => 0\n [download_content_length] => -1\n [upload_content_length] => 0\n [starttransfer_time] => 0.889\n [redirect_time] => 0\n [certinfo] => Array\n (\n )\n\n [redirect_url] => \n [request_header] => GET /1/account/info HTTP/1.1\r\nAccept: */*\r\nHost: api.dropbox.com\r\nConnection: close\r\nUser-Agent: Drupal\r\nAccept-encoding: identity\r\nAuthorization: OAuth oauth_consumer_key="xux633wkpcmoxl7", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1361162851", oauth_nonce="76a8e994562525787b1b8651bd126c69", oauth_version="1.0", oauth_token="", oauth_signature="U5Gm3c4gd62J1FPh0maF1iJmeIg%3D"\r\n\r\n\n)\n, referer: http://my-site/poll
[Mon Feb 18 08:47:32 2013] [error] [client 192.168.1.2] {"error": "Access token not found."}, referer: http://my-site/poll
============================================================
What else can I do?
P.S. Greetings from Russia)
Comment #11
-enzo- commentedHello FATAL_TERROR
OK, but my recommendation is debug the workflow in your environment, because the fail in grant access with dropbox using OAUTH, maybe is not the OAUTH library itself but is related with that process.
Remember, you need to test the module in a public server, because dropbox return the call the system, if you are running in a local environment won't work.
Regards,
Comment #12
FATAL_TERROR commentedExcuse me, I have recently started to learn drupal and do not understand you.
I use http://www.denwer.ru/ tool.
What should I do?
Its public server, no local. I have an external direct IP.
P.S. I use Google translate, so sorry for errors.
Comment #13
-enzo- commentedFixed in release 3.3 https://drupal.org/node/2015349