I used to have vocabindex 1.2. I completely uninstalled this module and installed vocabindex 2.0. Any vocabulary index I create, when I follow the path I've entered, I get the title of the vocabulary and the description of the vocabulary, but no list of terms, just a blank page. Having a look at the vocabindex table in the db, each vid has two identical entries, except only one of the two (for each vocabulary index I've enabled) has a path. The dual entry thing seems odd. Anyone else have this behaviour? What's wrong here? Drupal 5.16.
Comments
Comment #1
xanoThe two entries are by design and they are not identical. Are you sure the vocabulary you created an index for contains any terms at all? Also clear Vocabulary Index' cache and check the index page again.
If this doesn't help, please write step-by-step instructions on how to reproduce the problem using a clean Drupal 5.16 installation and the latest vocabindex-5.x-2.x-dev.
Comment #2
karlis commentedJust a quick update, I haven't had time to set up a clean 5.16 install with the vocabindex dev version yet.
The vocabulary I've (tried to) create an index for has about 600 terms. The old vocab index displayed those terms well. I've also tried clearing the vocab index cache. I tried adding a new term after installing vocab index. I tried enabling a block as well as the page for the vocabulary. In all cases, I get nothing, there is no content in the block, no content on the page.
I think I found the problem. Tracing back from theme_vocabindex_page, in function vocabindex_vi_view in file
vocabindex.view.inc: (around line 290)
// There is no cached data, so render the output from scratch.
if ($cached_data === 0) {
I changed this to
if (!$cached_data) {
and then the whole thing seems to work ok.
Comment #3
xanoThis is not fixed yet. Thanks for the info :)
Comment #4
drupalusering commentedhello. I had the same problem that many other users did with path is already in use error. So, since i have the ability of using q or clean urls i have set the path to ? q node .. When i went to that node it was blank - ofcourse. So, while trying to figure out what the issue was i have right clicked on "currently located at" and copied the link location which was %3Fq%3Dnode/412 AND surprisingly this path does work! but it's ugly - the path ofcourse. I hope there's a better solution outhere
Comment #5
drupalusering commentedthinking about it it does not make much sense, to me. If %3F is ? then why the actual path ?q= is blank while the escaping path works... i dun get it
Comment #6
xanoA blank screen indicates something went wrong internally so I suggest you check the error logs first.
Also, using paths that are already in use by other modules is highly discouraged. Chances are that a node with NID 412 will be created in the future.
Comment #7
drupalusering commentedthats the thing node 412 exists... when i go to node/412 it's just the title : testing vocab index. i created the node for the vocab index. But when i go to the same path with escape characters it works. Trying to find what may have went wrong in the logs..
Comment #8
drupalusering commentedhuh you were right the node 412 was created and i had to recreate the Vocabulary index page. Oh well
Comment #9
mrfelton commentedSame issue for me (Drupal 6). The suggested fix in 2 resolved for me.
Comment #10
xanoVocabulary Index 5.x-y.z is no longer supported.