Closed (fixed)
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2011 at 16:37 UTC
Updated:
25 Feb 2011 at 22:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
sea4 commented+1 i am getting the same messages
Comment #2
drupa11y commentedHave it running without errors/notices and updated to the latest dev version which now shows these alerts:
* Notice: Undefined index: fb_url_alter in fb_url_outbound_alter() (line 108 of /Applications/MAMP/htdocs/drupal-7.0/sites/mori.d7.dev/modules/social/fb/fb_url_rewrite.inc).
* Notice: Undefined index: fb_url_alter in fb_canvas_url_outbound_alter() (line 316 of /Applications/MAMP/htdocs/drupal-7.0/sites/mori.d7.dev/modules/social/fb/fb_canvas.module).
* Notice: Undefined index: fb_url_alter in fb_url_outbound_alter() (line 108 of /Applications/MAMP/htdocs/drupal-7.0/sites/mori.d7.dev/modules/social/fb/fb_url_rewrite.inc).
* Notice: Undefined index: fb_url_alter in fb_canvas_url_outbound_alter() (line 316 of /Applications/MAMP/htdocs/drupal-7.0/sites/mori.d7.dev/modules/social/fb/fb_canvas.module).
Comment #3
drupa11y commentedMore details:
Location http://mori.d7.dev/admin/reports/dblog
Referrer http://mori.d7.dev/admin/modules/list
Message Notice: Undefined index: fb_url_alter in fb_canvas_url_outbound_alter() (line 316 of /Applications/MAMP/htdocs/drupal-7.0/sites/mori.d7.dev/modules/social/fb/fb_canvas.module).
Location http://mori.d7.dev/admin/reports/dblog
Referrer http://mori.d7.dev/admin/modules/list
Message Notice: Undefined index: fb_url_alter in fb_url_outbound_alter() (line 108 of /Applications/MAMP/htdocs/drupal-7.0/sites/mori.d7.dev/modules/social/fb/fb_url_rewrite.inc).
Severity notice
Comment #4
sfmike commentedSame issue. Did a from scratch install:
Drupal 7.0
Facebook PHP libraries: 2.1.2-4
Drupal for Facebook: 7.x-3.x
Went in and enabled the following modules:
-fb.module
-fb_app.module
-fb_connect.module
-fb_form.module
-fb_user.module
-fb_friend.module
I then get the following error message repeated 133 times:
Notice: Undefined index: fb_url_alter in fb_url_outbound_alter() (line 107 of /home/mysite/public_html/sites/all/modules/fb/fb_url_rewrite.inc).
I can enter my fb application information (under Structure-Facebook Apps), but get the following error message:
"Failed to create facebook application mysite.net (mysite). Check the log."
Had this working under Drupal 6 so went back to clean install to make sure I didn't miss a step. Haven't gone further in troubleshooting at this point.
Comment #5
Sylvain Lasnier commentedSame problem; Impossible to create FB application.
I uninstalled FB modules and follow the README.txt => same result.
Critical issue for me
Thanks :)
Comment #6
dngankam commentedHi!
I'm facing the same problem in Drupal 7.0 whenever I try to enable the module Canvas Pages (fb_canvas.module).
Maybe I have something wrong in the config.
Notice: Undefined index: fb_url_alter in fb_canvas_url_outbound_alter() (line 316 of C:\Program Files\EasyPHP-5.3.3\www\drupal-7.0\modules\fb\fb_canvas.module).
Comment #7
bradyhawk101 commented+1
Fresh install
drupal 7
Throwing error when enabling Canvas Pages (fb_canvas.module)
Notice: Undefined index: fb_url_alter in fb_canvas_url_outbound_alter() (line 316 of /home/clients/websites/w_haw/public_html/hawk/sites/all/modules/fb/fb_canvas.module).
Comment #8
Dave Cohen commentedThis sort of PHP notice is usually not causing problems, except the error message.
Agreed, it should be fixed. But it wouldn't surprise me if there are tons of these messages in modules/fb for D7, right now. It's a dev version still under active development.
So yes, this will get fixed. But for not consider disabling PHP notices. try adding this to your settings.php...
Comment #9
sfmike commentedOkay Dave - thanks. I got the error message details from the log and will post in a new issue.
Comment #10
sfmike commentedCorrection: I was getting a pdoexception error which is described in another thread, and your latest dev release fixed it. Thanks!!!
Comment #11
Cheek commentedsubscribing
Comment #12
novan_as commentedme too
:)
Comment #13
tanjerine commentedsubscribing
Comment #14
c4antonio commenteddon't work, i've the same problems
Comment #15
recidive commentedHere's a patch to get rid of the notices.
Comment #16
Dave Cohen commentedchecked in. Thanks for patch!
Comment #17
novan_as commentedThanks :)