Categories not showing up under 'paths' configuration

GameCollision - February 13, 2008 - 02:38
Project:Vocabulary Index
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I have categories set up correctly with a vocab name and terms underneath it and everything and I have vocabulary index installed and enabled. When I go to content management --> vocabulary index pages and under the paths tab I'm told I'm supposed to see my categories but all it has is the thing about being lowercase and a save button.

Why isn't this working correctly?

#1

Xano - February 13, 2008 - 18:26

1) Are you using the newest 5.x-1.x-dev version? If not, please use that one or 5.x-1.0 instead.
2) Could you show us the markup of the form?
3) Do you get any PHP/MySQL errors? (Check the Drupal/Apache logs)

#2

Xano - February 13, 2008 - 16:43
Component:User interface» Code
Category:support request» bug report
Priority:normal» critical
Status:active» postponed (maintainer needs more info)

Had forgotten to change issue settings.

#3

Xano - March 2, 2008 - 12:28
Status:postponed (maintainer needs more info)» closed

No activity -> closed. I don't think this was a real bug.

#4

Rob T - July 26, 2008 - 04:23
Version:5.x-1.x-dev» 6.x-2.x-dev

I'm experiencing this as well on 6.x-2.x-dev with my D6.3 install.

At .../admin/content/vocabindex, both the Pages and Blocks tabs - it's just the help text and a "save configuration" button.

<div class="help"><p>To enable an index page please fill in a path.</p>
<div class="more-help-link">[<a href="/admin/help/vocabindex">more help...</a>]</div></div>           </div> <!-- /#content-header -->
                   
<div id="content-area"> <!-- CONTENT AREA -->
          <form action="/admin/content/vocabindex"  accept-charset="UTF-8" method="post" id="vocabindex-form-vi">
<div><input type="hidden" name="vocabindex_type" id="edit-vocabindex-type" value="6"  />
<input type="submit" name="op" id="edit-submit" value="Save configuration"  class="form-submit" />
<input type="hidden" name="form_build_id" id="form-e334f9c403ac86f472413c754be959c4" value="form-e334f9c403ac86f472413c754be959c4"  />
<input type="hidden" name="form_token" id="edit-vocabindex-form-vi-form-token" value="0a2e1f3ffea4a14925f45c3a6449ace6"  />
<input type="hidden" name="form_id" id="edit-vocabindex-form-vi" value="vocabindex_form_vi"  />

</div></form>

#5

Rob T - July 26, 2008 - 04:25
Status:closed» active

Switching back to active. Can make a new issue for 6.x-2.x branch if desired.

#6

Xano - July 26, 2008 - 12:52

There is no need for a separate issue. Issues are generally linked to the most recent module version in which the bug appears, even though the bug appears in multiple branches.

Could you please show me a scheme of your taxonomy setup?

#7

Rob T - July 26, 2008 - 16:18

I'm not sure how to present a scheme here...

I have 3 vocabularies in my young 6.3 site - Forums, Catalog, and Fruit. Each has a hierarchy, but only Forums is required.

Only the Fruit taxonomy was initialy created by me. Forums was established with Drupal's froum module, and Catalog was intially established by Ubercart, though the UC modules have since been disabled.

Some modules I employ that may or may not interfere with Vocab Index - Taxonomy Manager (currently disabled), Drupal Administration Menu, Hierarchical Select (disabled).

#8

Rob T - July 26, 2008 - 16:22

UPDATE:

I was able to get a Vocab Index "Pages" form for my vocabulary Catalog after a series of disabling some on the modules I mentioned above, and then uninstalling/reintalling Vocabulary Index. Still nothing showing for the Fruit vocabulary, though.

Also, I've tried to repeat all the settings and modules that I have when I first installed Vocabulary Index, yet I still can see the form for the Vocab Index Pages : Catalog vocabulary.

I should also be able to see my "Fruit" vocabulary represented here, correct? I understand that the FOrum vocabulary is a bit different, so I'm not surprised if that's not supported by Vocab Index.

#9

Xano - July 26, 2008 - 17:07

A username and password would be welcome, but a file and database dump would be good too (allows me to check the information stored in the database).

For the record: the forum vocabulary should never be displayed in the vocabindex admin panel, because the forum module provides a term (forum) overview itself.

Have you re-installed the module when switching to the latest dev version? DB changes are not uncommon for the dev versions I release and some time ago I have committed a DB change that may very well cause the problem you're experiencing.

#10

Rob T - July 29, 2008 - 03:49

It appears a vocabulary must be created manually to take advantage of Vocab Index. Vocabularies created by Ubercart seemed to cause the issue of the vocabulary not showing up in the Vocab Index settings.

I'll be keeping my eye on this.

#11

Xano - July 29, 2008 - 07:59
Status:active» postponed (maintainer needs more info)

Vocabindex will automatically fetch all vocabularies from the database, no matter who or what created them. The only vocabulary it doesn't show is the forum vocabulary, but perhaps this is a bit redundant and inconsistent, so I might remove this 'feature'.

Have you tried re-installing the module? Remember, completely uninstall the module before enabling it again, because it needs to rebuild the DB table.

#12

Rob T - July 29, 2008 - 19:00

In my observations, Vocab Index didn't recognize the ubercart-created "catalog" vocabulary.

However, if I create a vocabulary called "catalog" (without Ubercart), Vocab Index recognized it.

Yes, I was working with complete uninstalls of the modules in question, and re-installed with numerous combinations. That's how I was able to nail down that one behavior I just described. WHy it happened like that - I don't know. It seems that it shouldn't have been an issue.

#13

Xano - July 29, 2008 - 19:02

Okay, now I'm tired of this shit :P Can you give me a complete file and database dump?

#14

Xano - August 7, 2008 - 16:04

I already posted this message in another issue which turned out to be a duplicate of this one:

1) Does your PHP error log indicate that anything has gone wrong? If so, please post the error messages here.
2) Could you please post the output of the following PHP code. If you don't know where to put it, open page.tpl.php of your template and put it right before your doctype declaration. Then go to your Drupal site and view the source code. The PHP code's output will now be displayed right before your doctype declaration.

<?php
print_r
(taxonomy_get_vocabularies());
?>

#15

haroldb - August 8, 2008 - 10:32

1) no error messages in PHP error log
2) Array ( [4] => stdClass Object ( [vid] => 4 [name] => Forums [description] => [help] => [relations] => 0 [hierarchy] => 1 [multiple] => 0 [required] => 0 [tags] => 0 [module] => forum [weight] => -10 [nodes] => Array ( [forum] => forum ) ) [5] => stdClass Object ( [vid] => 5 [name] => boek [description] => gewoon een boek [help] => [relations] => 1 [hierarchy] => 0 [multiple] => 0 [required] => 1 [tags] => 1 [module] => taxonomy [weight] => 0 [nodes] => Array ( [page] => page [story] => story ) ) [6] => stdClass Object ( [vid] => 6 [name] => vis [description] => gewoon een vis [help] => [relations] => 1 [hierarchy] => 0 [multiple] => 0 [required] => 1 [tags] => 1 [module] => taxonomy [weight] => 0 [nodes] => Array ( [page] => page [story] => story ) ) )

#16

haroldb - August 10, 2008 - 18:48

wow.. i tried to change te code mentioned in this post: http://drupal.org/node/293517#comment-958294..
it says in short words:

change in vocab.install (line 68)

for ($i = 1, $len_i = count($vocs); $i <= $len_i; $i++) {
vocabindex_create($vocs[$i]->vid);
}

with:

foreach ($vocs as $voc) {
vocabindex_create($voc->vid);
}

and there they are... the textfields!

the Stylesheet needs a little finetuning now:)

#17

Xano - August 10, 2008 - 19:26
Status:postponed (maintainer needs more info)» needs review

Thank you very much Shelley for posting this fix (in the other issue) and haroldb for testing it. I'd like to wait for a few more positive results before committing this fix.

#18

Xano - August 13, 2008 - 20:41
Status:needs review» fixed

What the heck. I just committed shelley's fix. If there are any problems (which I doubt, I have been able to reproduce this problem a few minutes ago - shame on me) I will probably hear them earlier this way.

Thanks again to shelley the fix! Shelley, if you wish you may assign this issue to yourself since you have fixed it.

Fixed and committed to 6.x-2.x-dev.

#19

Anonymous (not verified) - August 27, 2008 - 20:42
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.