Using QueryPath-Ext

26 views
Skip to first unread message

Fabian Girsch

unread,
Oct 8, 2013, 3:47:42 PM10/8/13
to support-...@googlegroups.com
Hi there,

I'm new to QueryPath so please excuse my maybe stupid question. I'm using QueryPath 3.0.2, installed via composer, and I'm loving it. But I don't get QueryPath-Ext working. Sadly it's not available neither via composer nor via pear.querypath.org. And although it has a composer.json I don't get it to work proper. Unfortunately querypath.org seems to had a serious crash an no 3.0.x-documentation. But I need DBO-capability because without it would be useless to me. Or should I use 2.x release. Please help I'm desperated!

Thanks
Fabian

TechnoSophos

unread,
Oct 9, 2013, 12:20:37 PM10/9/13
to support-...@googlegroups.com
Oh, I should take down that "serious crash" thing. I think the maintenance window is complete now.

You can safely work with 2.0 for DBO stuff.

The database integration had almost no demand during the late 2.x lifecycle, and nobody seemed all that interested in it being part of QP 3. So I moved it (and other unused stuff) out to its own project, QueryPath-EXT. Right now, that project is pretty unstable, and has never had a release. While several hours of work might get things in working order, I don't have time right now.

If you're interested in getting 3.x DBO support working, I will help in whatever way that I can.




--
You received this message because you are subscribed to the Google Groups "support-querypath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to support-queryp...@googlegroups.com.
To post to this group, send email to support-...@googlegroups.com.
Visit this group at http://groups.google.com/group/support-querypath.
For more options, visit https://groups.google.com/groups/opt_out.



--
http://technosophos.com
http://querypath.org

Fabian Girsch

unread,
Oct 10, 2013, 10:02:51 AM10/10/13
to support-...@googlegroups.com
Hi Matt,

Thanks for the quit answer. I'm already using 2.x release since I can't get 3.0.2 to work with the Extensions. But I'm getting a error while fetching some data from db (text or varchar):
PHP Fatal error:  Uncaught exception 'QueryPathParseException' with message 'DOMDocumentFragment::appendXML(): Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding !\nBytes: 0xFC 0x66 0x66 0x65 (/home/arbeit/web-dev/QueryPath/QueryPath.php: 2044)' in /home/arbeit/web-dev/QueryPath/QueryPath.php:4528\nStack trace:\n#0 [internal function]: QueryPathParseException::initializeFromError(2, 'DOMDocumentFrag...', '/home/arbeit/we...', 2044, Array)\n#1 /home/arbeit/web-dev/QueryPath/QueryPath.php(2044): DOMDocumentFragment->appendXML('INDIARY echtes ...')\n#2 /home/arbeit/web-dev/QueryPath/QueryPath.php(1521): QueryPath->prepareInsert('INDIARY echtes ...')\n#3 /home/arbeit/web-dev/QueryPath/Extension/QPTPL.php(217): QueryPath->append('INDIARY echtes ...')\n#4 /home/arbeit/web-dev/QueryPath/Extension/QPTPL.php(79): QPTPL->tplArrayR(Object(QueryPath), Array, Array)\n#5 [internal function]: QPTPL->tpl('<?xml version="...', Array)\n#6 /home/arbeit/web-dev/QueryPath/QueryPath.php(4190): ReflectionMethod->invokeArgs(Object(QPT in /home/arbeit/web-dev/QueryPath/QueryPath.php on line 4528
Any guesses?

Thanks
Fabian

PS: I think you made a great piece of code, thank you therefor.

TechnoSophos

unread,
Oct 10, 2013, 5:57:20 PM10/10/13
to support-...@googlegroups.com
You'll have to find out what is getting passed to appendXML(). It looks like it's expecting UTF-8 data and getting one or more bytes that are not normal.
Reply all
Reply to author
Forward
0 new messages