Closed (won't fix)
Project:
Drupal for Facebook
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2008 at 22:24 UTC
Updated:
17 Jan 2012 at 12:33 UTC
Hello,
After updating to the latest dev version, I receive these errors at the bottom of my application:
Errors while loading page from application
Runtime errors:
HTML error while rendering tag "img": Relative URLs not allowed here
I imagine this has to do with the Fivestar module, as these are really the only images that could be causing this error (the fivestar icons do not show up on facebook and they are replaced with a dropdown box for voting). However these errors did not show up previous to this development version. I can take a look around in the fbml theme, but I figure I should report this anyways. Thanks!
Comments
Comment #1
Dave Cohen commentedFind out for certain which img tags are causing this. Use your browser to view source of the canvas page.
FBML is more restrictive than HTML. So I don't expect all module to work on canvas pages, and I don't consider it a bug when they dont. In particular, FBML uses a special dialect of javascript. I don't expect a module like fivestar to just work. And if there's a way to fix it for FBML, its probably up to that module to change, rather than Drupal for Facebook.
Comment #2
Turkish Delight commentedYes this is definitely generated by a fivestar .gif, however this has happened only since I've updated to the most recent .dev. Could you point me to the module that generates this error, or is this most likely something that has happened on Facebook's end?
Comment #3
Dave Cohen commentedThe error is generated by Facebook. Probably the way to fix it is to look at the source of your canvas page (especially the comment at the top showing the FBML before Facebook munged it), figure out what code is producing the image tag and changing it to produce a fully qualified URL. Possibly that change can be made at the theme layer.
Comment #4
Letharion commentedSince Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 support requests.