Posted by bgogoi on February 6, 2009 at 1:29am
Jump to:
| Project: | Drupal for Facebook |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
Comments
#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.
#10
The most bizarre thing happened while I was trying to sort this out. It suddenly started working properly.
Ultimately, I haven't changed code.
What I did do is edit the details in facebook application setting under "Facebook canvas page settings"
The text boxes that say "Leave blank to use the site-wide front page." I just entered the name of my application into, saved, checked the page at facebook, and then made the text boxes blank again, saved, and it just worked.
It's weird. I don't know if it can be reproduced, but figured worth mentioning.
#11
I've just checked in some changes to fb_canvas.module and the fb_fbml theme. As far as I know, these issues are no longer problems. If they are, someone please explain exactly how to reproduce and paste here the exact markup of the
<img ...>tags with the relative urls.Thanks.
#12
Hi,
Same issue with theme fb_fbml and fb version 6.x-2.0-rc2. The path in the img tag is (like #6):
<img src="/misc/feed.png"I don't know how to reproduce it, but I have opened a support request there: #820658: fb_fbml theme in one column, without panels, views_slideshow nor collapsiblock
#13
changing status to active
#14
What module writes that img tag? Views?
#15
#16
Hi Dave,
This is the block "Syndication" from the Drupal core modules.