For users of the TourCMS tour operator ecommerce platform
Hi there,
I have tried uploading the test php scripts, and adding the API Key and base URL found in my account. However, on upload I get these errors... Any idea?
-Luke
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Space required after the Public Identifier in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line92
Warning: simplexml_load_string() [function.simplexml-load-string]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : SystemLiteral " or ' expected in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line92
Warning: simplexml_load_string() [function.simplexml-load-string]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 9: parser error : Opening and ending tag mismatch: hr line 7 and body in/home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: </body></html> in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 9: parser error : Opening and ending tag mismatch: body line 4 and html in/home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: </body></html> in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 10: parser error : Premature end of data in tag html line 2 in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line92
Warning: simplexml_load_string() [function.simplexml-load-string]: in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/content/L/u/k/Luke802/html/bookit/tdemo/tourcms.php on line 92
Tags:
Permalink Reply by Paul on June 24, 2011 at 8:14am Hi Luke,
You don't need to edit the base url, that's for the legacy new customer API (used if you are integrating your "Contact us" type forms with TourCMS.
What you should do is put the base url back to how it was, the original base url is:
Generally you shouldn't need to edit anything in tourcms.php, all the examples have Channel ID / Private Key settings in them, rather than having to edit tourcms.php. You can find your Channel ID / Private Key in the top half of the API Settings page (labeled XML API).
Please do email support and we'd be happy to run through what you are trying to achieve and suggest the best course of action.
Paul
© 2012 Created by TourCMS team.