Closed (fixed)
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
6 Aug 2012 at 14:14 UTC
Updated:
7 Dec 2012 at 22:30 UTC
Jump to comment: Most recent file
stream post : Notice: Undefined index: q in fb_stream_admin_settings() (line 64 of /home/xxx/domains/xxx.com/public_html/sites/all/modules/fb/fb_stream.admin.inc).
line 64 : $redirect_uri = url($_REQUEST['q'], array(
'absolute' => TRUE,
'query' => array(
'client_id' => $fb_app->id,
),
));
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | fb_1715310.diff | 2.91 KB | Dave Cohen |
| #4 | fb_stream.admin_.inc_.patch | 1.77 KB | interlated |
Comments
Comment #1
Dave Cohen commentedfb_stream.module needs upgrading to D7.
Comment #2
wanyen commentedi use 7.x-3.3-beta3 and drupal 7.15
Comment #3
cimo75 commentedSame issue here
Comment #4
interlated commentedAs Dave says - fb_stream doesn't work in drupal-7. The $_REQUEST['q'] items need to be changed to request_path() for this specific bug. See attached.
Comment #5
cimo75 commentedSure, I ve misunderstood Dave s words. I could not apply the patch for fb-7.x-3.x-dev so i did it manually and the error disappeared but you mention in the patch
and then in patch
isnt it the other way round then?
Anyway, the post to Facebook checkbox is not appearing in my node add form.
tx
Simone
Comment #6
noahott commentedHas anyone found a solution in getting the "post to Facebook" options to show up when adding nodes?
Comment #7
cimo75 commented+1
Comment #8
Mackee commentedSubscribe
Comment #9
Dave Cohen commentedSee if the .dev build works for you. fb_stream.module upgraded to D7.
Comment #10
Mackee commentedUpgraded to latest dev, error still exist. Notice: Undefined index: q in fb_stream_admin_settings() (line 64 of /.../.../public_html/new/sites/all/modules/fb/fb_stream.admin.inc).
Comment #12
Daniel Schaefer commentedsame issue, using beta4
Comment #13
Dave Cohen commentedlooking into it
Comment #14
Dave Cohen commentedI think this will finally get all the references to $_GET[q] upgraded to D7.
Comment #15
Dave Cohen commentedpushed changes.
Comment #16.0
(not verified) commentedinsert code