Active
Project:
Drupal for Facebook
Version:
6.x-2.0-beta11
Component:
Canvas Pages (FBML)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2010 at 18:35 UTC
Updated:
28 Jun 2010 at 16:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
Dave Cohen commentedI've seen that, too. Error 500 from facebook instead of any content.
I really think its a bug on facebook's side. I don't see how the theme could cause this problem itself.
Facebook parse, munges, and stores its own copy of your apps stylesheets. If that fails, the canvas pages are hosed. I don't have a workaround at the moment.
Comment #2
Dave Cohen commentedHere's an attempt to include the styles with each page, a workaround....
First add that function to template.php, then edit preprocess_page so it does this:
Sorry I don't have a proper patch.
Comment #3
poundy commentedDave,
Thank you so much for your prompt response. I applied the code but was unable to load the style sheets still. its possible I didn't apply the patch to the right place. I added the function to the bottom of the template page and I placed the preprocess to the else under the preprocess_page. I included a screen shot of what is coming up on my app, as you can see the info is being pulled to the app its just not getting styled.
also on a side note, I sent you a direct message monday about a potential feature that my company would like to incorporate into Drupal for facebook. How is the best way to get with you about this sub module?
Comment #4
jaypark commenteddave, i'm having the same issue with fb_fbml, beta11. when following the munged css link fb returns: "Invalid parameter: Unknown error"
i agree with you - i applied a different method to put css inline, it worked for several page reloads then this morning, after i recheck the fb app, styles aren't included. facebook was also randomly returning hex strings for status updates last fall [like it was outputting the first n values of an image file].
Comment #5
jaypark commentedshould've also noted that adding _fb_fbml_get_styles() from http://drupal.org/node/772514#comment-2851618 above, and replacing
$vars['styles'] = drupal_get_css();
with
$vars['styles'] = _fb_fbml_get_styles();
still produces the invalid parameter error... the styles aren't being honored.
Comment #6
phpepe commentedHi guys,
I had the same "Invalid tag link" error, And appling Dave workaround, works fine now.
Just another tunning to do, in order to be able to render "styles_fbml.css" correctly:
Inside "fb_fbml_preprocess_page" function, instead of
You must change it to:
Just ommiting the 3rd param. because #comment-2851618 function iterates over '$css['all']'...