HTML error while rendering tag "img": Relative URLs not allowed here
bgogoi - February 6, 2009 - 01:29
| Project: | Drupal for Facebook |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Errors while loading page from application
Runtime errors:
HTML error while rendering tag "img": Relative URLs not allowed here
There are still a few kinks Facebook and the makers of Superhit are trying to iron out. We appreciate your patience as we try to fix these issues. Your problem has been logged - if it persists, please come back in a few days. Thanks!
========
I am getting the above error messages at http://apps.facebook.com/superhit/
Is it my config error or other things?
My server has php5.x

#1
Are you using the fb_fbml theme?
Use your browser's view source feature, find and <img> tags which use a relative url. What are they?
#2
Hi,
I am also facing the same issue after using the fb_fbml theme.
#3
If so, you should answer the same question I asked.
#4
IF you haven't resolved this issue you might want to check out this post from the drupalforfacebook.org forums: http://www.drupalforfacebook.org/node/1182
#5
I'm still curious which module(s) are producing these bad links. Will no-one tell me? Do any links on these pages work?
#6
Hello Dave,
I am getting these issues as well :) I did check the source and will tell you what I found :)
The relative path is present for path icons in views like so:
<img src="/misc/feed.png"Not sure what would be the solution as fb complains that "HTML error while rendering tag "img": Relative URLs not allowed here".
This seems to be a duplicate http://drupal.org/node/189738
Also, I just installed the fb modules, and on my homepage none of the links work. It seems the canvas url + the canvas suffix are cutoff
so isntead of http://apps.facebook.com/mycoolapp/whatever-url-alias
I see http://whatever-url-alias
This url and img rendering seem to be separate issues, should I open a new ticket?
#7
#8
Not sure if this will help, but for me it was the logo. fb_fbml theme had it showing as a relative url. I unchecked the box to show logo, and the error went away.
#9
Noticed the same thing about the stylesheet. It uses a relative URL, so never gets loaded.