I read the README.txt from start to finish!!
I am running Drupal 7
Based URL is a Shared SSL
Clean URLS not Enabled
Facebook Application running nice, rendering page tab correctly on a non Drupal php file.
Facebook Application running nice, rendering page tab correctly from drupal url ( shared ssl url ) ( clean urls disabled )
I am looking to add Fan Gate to Page Tab.
Installed FB Module, Follow all instructions. Created and Added an APP, Sync, but Since I can't have Clean URLs I changed the urls that the App created to the regular shared urls. The Tab Displays correctly, works fine, but I am getting and error:
Error Message:
Notice: Trying to get property of non-object in fb_tab_fb() (line 119 of /home/username/public_html/sites/all/modules/fb/fb_tab.module).
All I am needing from this module so far is to be able to have Fan Gate. URL for Page Tab is a View Page.
I hope you guys can help me,
Thank you!
Comments
Comment #1
web506 commentedComment #2
Dave Cohen commentedIn order to support page tabs, and canvas pages, modules/fb uses a url path convention. It uses Drupal's URL rewriting feature to prepend the app id in front of drupal's normal path.
My guess is that by not enabling clean urls, this feature is not working. You say clean URLs are disabled. Can you enable them even temporarily just to test whether that solves the problem?
Check the code in fb_settings.inc. In there it should be learning the ID of the app responsible for the page tab. Maybe you can patch that to work with the non-clean URL.
Comment #3
nevmac commentedI can verify that this error occurs when Clean URLs are enabled. My view page renders completely but with an error message exactly described.