ellenbrook / freshbooks-php-library

Automatically exported from code.google.com/p/freshbooks-php-library
0 stars 0 forks source link

parser error : xmlParseEntityRef: #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download current version
2. Run example.php

What is the expected output? What do you see instead?
Some sort of client info is what I expect, instead  I get a repeating XML parse 
error:

php example.php
PHP Warning:  simplexml_load_string(): Entity: line 79: parser error : 
xmlParseEntityRef: no name in 
/home/stk/Desktop/freshbooks-api/library/FreshBooks/Element.php on line 74
PHP Stack trace:
PHP   1. {main}() /home/stk/Desktop/freshbooks-api/example.php:0
PHP   2. FreshBooks_ElementAction->get() 
/home/stk/Desktop/freshbooks-api/example.php:16
PHP   3. FreshBooks_Element->_sendRequest() 
/home/stk/Desktop/freshbooks-api/library/FreshBooks/ElementAction.php:62
PHP   4. simplexml_load_string() 
/home/stk/Desktop/freshbooks-api/library/FreshBooks/Element.php:74
PHP Warning:  simplexml_load_string():  if ((version >= 5.5) && (version < 7) 
&& (document.body.filters)) { in 
/home/stk/Desktop/freshbooks-api/library/FreshBooks/Element.php on line 74
PHP Stack trace:
PHP   1. {main}() /home/stk/Desktop/freshbooks-api/example.php:0
PHP   2. FreshBooks_ElementAction->get() 
/home/stk/Desktop/freshbooks-api/example.php:16
PHP   3. FreshBooks_Element->_sendRequest() 
/home/stk/Desktop/freshbooks-api/library/FreshBooks/ElementAction.php:62
PHP   4. simplexml_load_string() 
/home/stk/Desktop/freshbooks-api/library/FreshBooks/Element.php:74

What version of the product are you using? On what operating system?
1.2

Please provide any additional information below.

I feel I am making some sort of basic mistake, but there is nothing out there 
really when googling this, so any help is appreciated.

thank you.

Original issue reported on code.google.com by stkrzys...@gmail.com on 17 Mar 2011 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by xXBiohaz...@gmail.com on 14 Apr 2011 at 11:07