Getting errors: warning: include_once(/content_taxonomy.module)

simonpfrank - December 13, 2007 - 20:50
Project:Taxonomy Search Module
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I should say up front that I have no right to whinge as it's free, however if you place this issue in the context of a day spent trying to list taxonomy in the theme search, writing code, failing, coming across all kinds of issues with customising the search form and then I found this whoopee. Unfortunately can't get it to work (Details to follow).

It's good to publish a dev module, but perhaps some docs would help you get user feedback.......

The problem

Installed module (in sites/all/modules), Drupal 5.3, MySQL 5, PHP 5, Mac OS X, Apache.

Tried to turn it on, installed CCK, turned it an all the CCK modules on.

Didn't know what to do next. Read all support issues, discovered that you have to add a field to the content types. Added a field and got ....

* warning: include_once(/content_taxonomy.module) [function.include-once]: failed to open stream: No such file or directory in /Sites/drupal/sites/all/modules/taxonomySearch/taxonomySearch.module on line 72.
* warning: include_once() [function.include]: Failed opening '/content_taxonomy.module' for inclusion (include_path='.:/usr/local/php5/lib/php') in /Sites/drupal/sites/all/modules/taxonomySearch/taxonomySearch.module on line 72.
* warning: include_once(/content_taxonomy.module) [function.include-once]: failed to open stream: No such file or directory in /Users/simonfrank/Sites/drupal/sites/all/modules/taxonomySearch/taxonomySearch.module on line 72.
* warning: include_once() [function.include]: Failed opening '/content_taxonomy.module' for inclusion (include_path='.:/usr/local/php5/lib/php') in /Users/simonfrank/Sites/drupal/sites/all/modules/taxonomySearch/taxonomySearch.module on line 72.

Turned on taxonomy context module (as referenced in the other support cases.

Tried again.

Same errors, bored back to forms api.

Good luck.

#1

markfoodyburton - December 13, 2007 - 21:00

Well, the thing is simple, - them that finds a problem fixes it :-)
So - I'm expecting a nice shiny user manual in your best handwriting :-)

Seriously, I think your missing a module - like the content taxonomy module.

Possibly, the problem is that you didn't clear a cache once you'd enabled the module - or whatever.... Anyway, feel free to send me a private message, and I'll try my best to help - and the you can write up your experience for all others to see :-)

Cheers

Mark.

#2

Fayna - January 7, 2008 - 05:43

I had the same problem and downloading the Content Taxonomy module fixed it right up. Thanks Mark! :-)

#3

doc2@drupalfr.org - January 24, 2008 - 12:09

Well... Same problem. But I already use CCK_taxonomy.module... can't install both...

#4

Fayna - January 24, 2008 - 23:58

Why can't you install both? I thought CCK taxonomy and Content Taxonomy were two completely different modules, despite the similar names.

#5

doc2@drupalfr.org - January 30, 2008 - 16:28

Oups, I talked to quickly... you may be right. I haven't read anything against using both of them... or I don't remember. Yet I thought they had little in common, because I chose this one and not the other. But maybe they haven't even a feature in common...

If you use both of them, can you just tell if this works? or post a lonk to a reltaed topic? Thank you, and sorry for this "kind of" wrong alert...

#6

Fayna - February 3, 2008 - 18:34

I do use both (on a test site) and haven't had any problems so far.

#7

doc2@drupalfr.org - March 3, 2008 - 17:50

Finally tested. Got it working.

Content_taxonomy main module enabled solved the problem for me too. Dependency should be clear. Submodules of the depending module might slow the server, altogether (5 modules in total for one feature...)

I think I could get the same results with advanced setting of the nodereference "Select" widget thanks to a view, with a "terms for vocabulary" filter.

 
 

Drupal is a registered trademark of Dries Buytaert.