Thanx for your reply...I fixed the problem...though it took me a lot of
time. It was a problem with rails version 2.0.1 (not sure if it was a
problem or if I was missing smth). I googled it a lot and found that this
error is specific to version 2.0, so I uninstalled version 2.0.1 and
installed 1.2.6 and it worked perfectly fine.
So this tells us that there is atleast something that is not backward
compatible in the rails version 2.0.1
Thanx again
On 1/4/08, Laurel Fan <laurel.fan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
>
> I''ve never seen HTTP error code 422, but it is apparently
> "unprocessable entity". Assuming that it''s not your
application or
> web server that''s throwing that error (since you don''t
get it in the
> iframe), it looks like facebook is throwing it. Have you tried using
> quotes around the attribute value and making it a self closing tag,
> like:
>
> <fb:profile-pic uid="loggedinuser" />
>
> If that doesn''t fix it, does it work with Use FBML and without the
> fb:profile-pic tag? If not you know it''s not the tag...
>
> On Jan 3, 2008 10:39 PM, Haris Gulzar
<harisgulzar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > Hello all,
> >
> > I am developing a facebook application using FBML/RFacebook. My
> index.rhtml
> > file only contains <fb:profile-pic uid=loggedinuser>. This is
working in
> > FBML test console provided by facebook. This also works on IFrame, but
> if I
> > set my application settings to Use FBML, I get an error saying
> >
> > Errors while loading page from application
> >
> > Received HTTP error code 422 while loading
> > http://203.81.196.6:3000/socialrecipe/My controller for socialrecipe
> doesnt
> > have anything in its index definition. I have also tried putting other
> HTML
> > tags but it doesnt work. But if I change my settings to Use IFrame, it
> > starts working (obviously the fb:profile-pic doesnt work coz its an
FBML
> > tag, but other HTML elements work fine)
> >
> > Any help in this regard will be highly appreciated
> >
> > --
> > Regards
> >
> > Haris Gulzar
> > >
> >
>
>
>
> --
> Laurel Fan
> http://laurelfan.com
>
> >
>
--
Regards
Haris Gulzar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---