When overlay mode is not active, fb_stream.admin.inc can't redirect after "save configuration" and issue an error.
The problem lies in the code, using the _REQUEST['q'] variable to build the redirect_url : this variable has not value (around line 64 for exemple).
The proposed fixed is to add the lines :
if (empty($_REQUEST['q'])) {
$_REQUEST['q'] = $_SERVER['REQUEST_URI'];
}
around line 33 to initialize the variable _REQUEST['q'] when not in overlay mode.
I hope it will be helpful to anybody having the same issue
Cheers
Olivier
Comments
Comment #1
Dave Cohen commentedThat's not the best fix. D7 has a function to replace $_REQUEST['q'] although at the moment I can't recall its name. Maybe request_path(). Anyway the right fix for D7 is to just use that call. The fb_stream.module needs a full upgrade to D7.