I've been trying to use this module for about three months now and can never get it working regardless of where I try it. Most recently I've tried on a brand new Drupal 6 install with only a couple modules and get this error. I pretty much give up which I hate to do because I REALLY like the potential.

At least this time it is not the dreaded MySQL error and is hopefully something simply that I'm missing. I've used Drupal over a year now and am pretty comfortable installing and configuring modules. This one always gives me fits though. Please help. I realize I cannot use it one other sites of mine with lots of modules. But this is a very new install so I can't imagine why I still can't get this module to work without errors. Thanks.

Fatal error: Uncaught exception 'QueryPathParseException' with message 'file_get_contents(http://portaltnx.openamplify.com/AmplifyWeb/AmplifyThis?apiKey=66fn2rhph...) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 204 No Content (/users/techbloglosangeles.com/htdocs/sites/all/modules/querypath/QueryPath/QueryPath.php: 17)' in /users/techbloglosangeles.com/htdocs/sites/all/modules/querypath/QueryPath/QueryPath.php:17 Stack trace: #0 /users/techbloglosangeles.com/htdocs/sites/all/modules/querypath/QueryPath/QueryPath.php(17): QueryPathParseException::initializeFromError(2, 'file_get_conten...', '/users/techblog...', 17, Array) #1 /users/techbloglosangeles.com/htdocs/sites/all/modules/querypath/QueryPath/QueryPath.php(17): QueryPath->parseXMLFile('http://portaltn...', false, Resource id #128) #2 /users/techbloglosangeles.com/htdocs/sites/all/modules/querypath/QueryPath/QueryPath.php(2): QueryPath->__construct('http://portaltn.. in /users/techbloglosangeles.com/htdocs/sites/all/modules/querypath/QueryPath/QueryPath.php on line 17

Comments

mbutcher’s picture

Project: QueryPath » Amplify
Version: 6.x-1.5 » 6.x-1.x-dev
Assigned: Unassigned » mbutcher

This error comes from OpenAmplify's server.

Last I talked to them, this was a symptom of either the wrong Amplify key or a too-busy server.

Are you seeing this every time, or just once every so often?

pyxio’s picture

All of the time. I am using the key they have provided in my account. K

pyxio’s picture

It is working now so it must have been the amplify service. I would like to use QueryPath with QPServices and totally bypass OpenAmplify. However, when I try to only use QP and QP services I'm not getting any results. My guess that is because I must use OpenAmplify, right? It would be nice to be able to directly query Technorati, Twitter etc without having to go through OpenAmplify. K

AndyW’s picture

I had this problem - are you sure that there isn't a blank space at the end of the API key? That's what happened to me

mbutcher’s picture

It is possible to go directly against the Flickr/twitter/technorati APIs... but I think it currently requires a little custom code. If you have some specific features in mind, open a new ticket set as a feature request, and I'll see what I can do.

mbutcher’s picture

Status: Active » Fixed

The error portion of this ticket appears to be fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.