FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Help! I need a quick fix!





Xcelerate
How do I make it so that:

Code:
XML error: not well-formed (invalid token) at line ###


does not halt the rest of the page display?

Thanks.[/code]
Philip
just seek for die syntax on lines...
and check for the before or above that lines !
BlackSkad
Well, as Philip sais, check for die-statements in the script that parses the xml and replace those with a normal echo. Make sure you don't replace too much, because your script won't halt even when the xml is messed up very badly. Ofcourse it would be better to make sure there are no errors in your xml-file Wink

If you need help on doing so, just post the code...
Xcelerate
Alright, thank you for your replies. It works now. The problem was with the XML makeup.
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.