Categories | Question details Back To List | ||
Newbie XML Parsing Error: junk after document element Sorry if this is a double post, Your site seem to go down as soon as I hit submit! Just downloaded the latest version and tried to enable the combo: Created a directory connector in my web root and made a test.php so: <?php require_once("config.php"); $res=mysql_connect($mysql_server,$mysql_user,$mysql_pass); mysql_select_db($mysql_db); require("combo_connector.php"); $combo = new ComboConnector($res); $combo->enable_log("temp.log"); $combo->render_table("content_type_search_city","nid","field_post_code_value"); ?> I get the error: XML Parsing Error: junk after document element Location: http://xxx.dnsalias.org/ayles/connector/test.php Line Number 1, Column 4959: </option></complete><br /> ! error arrow points here Sorry for the Newbie question, what am I doing wrong? Answer posted on Dec 08, 2009 01:52 >></option></complete><br /> This <br/> tag is not a part of connector's output , but produced from your scripts somehow. Double-check that no any custom code executed after render command and connector's file, has not any extra output ( new lines before and after php code ) except of connector's code. Answer posted by Ludo on Dec 08, 2009 04:40 Thanks, for your reply. I found the solution, the temp.log file did not have write permissions on the server. |