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
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

Dave Cohen - February 6, 2009 - 19:08
Priority:critical» normal
Status:active» postponed (maintainer needs more info)

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

gopagoninarsing - April 9, 2009 - 06:01
Version:5.x-2.x-dev» 6.x-2.x-dev
Category:support request» bug report
Priority:normal» critical

Hi,
I am also facing the same issue after using the fb_fbml theme.

#3

Dave Cohen - April 9, 2009 - 06:44
Category:bug report» support request
Priority:critical» normal

If so, you should answer the same question I asked.

#4

mrtnyeti - April 24, 2009 - 16:36

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

Dave Cohen - April 24, 2009 - 23:27

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

giorgio79 - April 30, 2009 - 19:53

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

giorgio79 - April 30, 2009 - 00:50
Status:postponed (maintainer needs more info)» active

#8

georgedamonkey - April 30, 2009 - 14:53

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

georgedamonkey - May 1, 2009 - 18:49

Noticed the same thing about the stylesheet. It uses a relative URL, so never gets loaded.

 
 

Drupal is a registered trademark of Dries Buytaert.