Re: SimpleXML broke while I was sleeping.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'll pass.... we all have a senior moment every now and than :-)


Jack

2008/12/11 Nicholas Mercier <holyyakker@xxxxxxxxx>

> Jack wins the right to call me an idiot for a long time. WoWhead changed
> their configuration slightly I think, that is what messed it up. I believe
> it is working now. Thank you - I was just convinced it was something dumb
> on
> my end.
>
> On Wed, Dec 10, 2008 at 9:44 PM, Chris <dmagick@xxxxxxxxx> wrote:
>
> >
> >  This is the error message I now get:
> >> *Warning*: SimpleXMLElement::__construct()
> >> [simplexmlelement.--construct<
> >> http://www.theredshirts.com/test/simplexmlelement.--construct>]:
> >> http%3A%2F%2Fwww.wowhead.com <http://2fwww.wowhead.com/>
> %2F%3Fsearch%3DAngelista%27s%2BSash%26xml:84:
> >> parser error : Entity 'nbsp' not defined in *
> >> /home/thered/public_html/test/config.php* on line *28
> >>
> >
> > Looks like the xml contains '&nbsp;' chars now - which are not valid in
> xml
> > context it seems.
> >
> > Not sure if '&amp;nbsp;' is valid but you'll have to work it out. Take
> the
> > xml, save it to your desktop, try to show it in IE (if using windows of
> > course :P). It will show errors. Once you work out how to fix it, modify
> > your script accordingly.
> >
> > --
> > Postgresql & php tutorials
> > http://www.designmagick.com/
> >
> >
>



-- 
J.A. van Zanen

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux