By GSG-9 on
Hello everyone this is my first post here.
I have successfully installed Drupal 6.12 and am proceeding to install modules.
I am trying to install QueryPath, upon installing I receive an error that I do not have the library files.
After installing them from QueryPaths (version 1.2) site and placing them in the QueryPath module folder I have the same result when trying to enable it.
If anyone can offer me advice or instruction on installing QueryPath I would be very grateful.
thanks for reading,
Comments
=-=
The library should be installed in sites/all/modules/querypath/QueryPath (library in this folder) as per the readme.txt file
please confirm that you did not put the library in sites/all/modules/querypath
Thanks for the reply VM, I
Thanks for the reply VM,
I took the files from 'querypath-v1.2/src' and put them in the 'sites/all/modules/querypath.'
=-=
that is incorrect. the files from the src should be places inside their own folder as per the readme.txt. I suggest reading all readme.txt files and install.txt files of a module to ensure that you are installing per the instructions.
No Luck
I have moved the entire module to 'sites/all/modules/querypath/'
When trying to install I receive the same error:
"You must install the QueryPath library from http://querypath.org. Note that you will need to copy the library from the downloaded package (i.e. querypath-x.x/src/QueryPath). This library must be in the module\s include path. Typically, putting this in sites/all/modules/querypath/QueryPath is fine. You may also include it elsewhere in the PHP include paths. (Currently using QueryPath library Not present)"
The library is in 'sites/all/modules/querypath/Querypath'
Any other ideas?
=-=
according to the readme.txt it should be QueryPath
If it doesn't work in the properly named folder, file an issue against the project using the project page or navigating with the navigation menu using the issues link.
_
Try changing "Q" to "q"-- i had this problem with another module once before.
Worked*
For some reason my permissions to read were unchecked. Its working now.
Thanks for your help!
Trouble with Query Path install--solved
solved issue by pointing to src directory under querpath...in require statement....
hadn't worked previously but this time did?????i'm not asking why......prefer to have it in php include_path but.....it's working
Have been having similar problems. I'm working on a dev site on a WinXP Pro machine. WAMP package from Anaska, PHP 5.2.9-2, Apache 2.2.11, MySQL 5.1.33
Have Query Path installed as per directions eg;
sites\all\modules\querypath\QueryPath
I am able to enable the examples, the show up in the nav menu, clicking one opens the appropriate page, say for the MusicBrainz query...
but when i try to write some php with a require_once:
require_once 'QueryPath/QueryPath.php'; even if i point directly to it, fully qualified path, or include it in php.ini as an include_path... i get the following error:
-------------------------------------------------------------------------------------------------
Warning: require_once(QueryPath/QueryPath.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\EmptyPHPWebPage.php on line 53
Fatal error: require_once() [function.require]: Failed opening required 'QueryPath/QueryPath.php' (include_path='.;C:\php5\pear') in C:\wamp\www\EmptyPHPWebPage.php on line 53
---------------------------------------------------------------------------------------------------
I have no idea where the include_path mentioned above comes from(believe it's built at runtime from 'go-pear.phar' in the directory 'wamp\bin\php\php5.2.9-2\PEAR')....it is not in any of the files i have checked, using netbeans 6.7, searched all files in the install directory, from the root, not just drupal's root...so am at a complete loss at this point.
If anyone has any suggestions I would be most appreciative.
Thanks