Forum Bugs

Error: htmlParseEntityRef: expecting ';'

matt_d_rat
Hi all,

My prince installation on my local development environment appears to be broken all of a sudden. I am not sure what I have done to break it, the only thing I have changed on my system today was installing imagick through mac ports.

When I run from the command line I get the following errors:

188-220-63-93:~ Matt$ prince http://google.com -o /Users/Matt/Desktop/test2.pdf
prince: http://www.google.co.uk/:7: error: Tag nobr invalid
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: Tag nobr invalid
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: no name
prince: http://www.google.co.uk/:7: error: htmlParseEntityRef: expecting ';'


But the PDF is generated correctly and saved to my desktop. However when I use the prince php class I get the same error output in the msgs array and the file is not created. How do I fix this?

Thanks for your help in advance!

Matt

Edit:
My local development environment runs on Mac OS X 10.6.6, using Apache 2 and PHP 5.3.3
matt_d_rat
Ignore my last post I managed to resolve the issue. A recent change in our url structure caused the issue as some rewrite rules were pointing to an old document and the output path was not writable. That took a long time to figure out!

Matt