Page 1 of 1

DOMXPath::query() [ domxpath.query ]: Invalid expression

Posted: 28 Jun 2010, 22:35
by laith
I'm having trouble getting Phoca PDF to work on a client's site that is using a Rocket Theme template. In Firefox, I get an error and in IE7 (or IE8) I get a blank page. The error_log shows the same error as the PDF page.

Warning: DOMXPath::query() [ domxpath.query ]: Invalid expression in /home/laith/public_ht
ml/medsphere/plugins/content/image/emogrifier.php
on line 98

You can see the error from this sample page that is using, which is only using paragraph and list tag in the content article.
http://medsphere.laithsinawi.com/chat/636

Any idea what is causing this? Phoca PDF is working in other sites that I built the template from scratch. I suspect it's a problem with Rocket Theme template.

Thanks for you help.

Laith

Re: DOMXPath::query() [ domxpath.query ]: Invalid expression

Posted: 29 Jun 2010, 14:39
by Jan
Hi, sorry but I don't know the plugin: emogrifier. (nvalid expression in /home/laith/public_ht
ml/medsphere/plugins/content/image/emogrifier.php) so no idea what cause errors there :-( :-( I think there must be done some tests in this plugin :-(

Jan

Re: DOMXPath::query() [ domxpath.query ]: Invalid expression

Posted: 01 Jul 2010, 00:37
by laith
I somehow thought that was part of Phoca PDF, I shouldn't taken a closer look. I disabled the other plugin (Content - PDF Preprocessor) and Phoca PDF is working fine now. Sorry about that, and thanks for looking!

Re: DOMXPath::query() [ domxpath.query ]: Invalid expression

Posted: 01 Jul 2010, 13:48
by Jan
Ok