On line 30 of dropbox.module, within function dropbox_boot():
$arg = explode('/', $_REQUEST['q']);
will cause an error to be thrown if $_REQUEST['q'] is not set, such as when accessing the front page.

To correct this, encase the body of the function within an
if (isset($_REQUEST['q'])) {
}
block. Error messages will no longer be thrown on the front page when there is no $_REQUEST['q'].

CommentFileSizeAuthor
#1 710668_q_not_set.patch971 bytesdeviantintegral

Comments

deviantintegral’s picture

Version: 6.x-1.5 » 6.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new971 bytes

Here is a patch that should address the issue.

macman824’s picture

That patch pretty much mirrors what I did to my install to get it to work, so it should be fine. This issue can probably be closed.

deviantintegral’s picture

Status: Needs review » Fixed

I've committed this and it's in the new 1.6 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.