Closed (fixed)
Project:
Dropbox Integration
Version:
6.x-1.2
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2009 at 05:48 UTC
Updated:
3 Aug 2009 at 19:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
ckaufman commentedAddition: All user permissions are checked as well
Comment #2
deviantintegral commentedDid you configure both the permissions at admin/user/permissions and at user/1/edit? There are both site-wide permissions and per-user permissions, so users can control who can send them files.
Comment #3
ckaufman commentedThe permissions are configured in both the User Admin and User Edit screens for all Anonymous, Authenticated, and Admin users. I tried combinations just to make sure it wasn't something with the permissions and tried with both an Admin and Authenticated User account.
Is it something with the SSL cert? I assume that being able to see the Dropbox settings under the User Edit tab shows that the SSL is correct, but maybe not. I just used the built in SSL url, simply typing https instead of http and logging into drupal made everything run correctly until this point. After wrestling with the DrupalUpdater.php file and trying to point it to the Equifax file, I tried this and it worked, but could this be effecting any further install operations?
Comment #4
KrisBulman commentedSame problem here, my SSL cert is working fine and i'm hitting the site with https. permissions in both places are set properly, but am getting a "you are not authorized to access this page" error when attempting to reach "user/1/dropbox" or "user/3/dropbox" etc. The Send file link also does not show up.
When editing the profile and adding the dropbox settings, the page submits, but i'm not exactly sure the dropbox information is sticking.
Comment #5
KrisBulman commentedckaufman : have you found the problem?
Comment #6
KrisBulman commentedI disabled SSL checking to see if that had any results, but it didn't. The form doesn't seem to be retaining any of the values submitted, it asks for email / password / roles / max files. Tried entering bogus information, and got same results.. empty form in profile.
Comment #7
KrisBulman commentedComment #8
KrisBulman commentedIf I enter just an email address and allowed role in the form on the user/edit page, here's the error that's returned:
Comment #9
deviantintegral commentedUnfortunately that output doesn't really help - I apparently left it in by accident in the last release. See #524656: Remove print_r() call when password field is left blank.
I'm going to see if I can replicate this problem on a bare Drupal installation.
Comment #10
deviantintegral commentedThere were a few issues in the user edit form which were causing problems. I've attached a patch which:
Please test this and let me know if it works. You will know it is working properly if the {dropbox_users} table is properly updated. Thanks!
Comment #11
KrisBulman commentedok, applied patch:
the Send File tab showed up, the user/pass saved
attempted to send file, got this:
Comment #12
deviantintegral commentedGreat!
You need to do as the error message says - install the cURL extension for PHP. It's required for the module to work properly. Contact your hosting provider if you're not sure how to do it.
Comment #13
KrisBulman commentedso after reading that error again, i installed php5-curl with apt, and restarted apache..
tried again, and file sent!
thanks!
Comment #14
KrisBulman commentedComment #15
deviantintegral commentedThanks for the testing - committed to HEAD.