After Disabling, Uninstalling and Re-enabling module, vocabindex entry is missing from "Site building" menu.
User is prompted to run update.php, but no update takes place unless update #5200 is forced manually.
Applying update 5200 completes the installation (although throwing a failure message "Failed: C")
Comments
Comment #1
xanoHow it should work: after a fresh installation you should not be prompted with any update message. Only after disabling and removing the old version and uploading and enabling the new one should you get that message. After going to update.php and executing update 5200 the message should disappear and Vocabulary Index should be fully functional again.
What do you mean by manually executing the update? Calling vocabindex_update_5200() directly from your own code?
Comment #2
skizzo commentedThis is the sequence that I followed:
Installed vocab index and used it for a while,
decided to restart from scratch due to issue http://drupal.org/node/324218
admin/build/modules (disabled)
admin/build/modules/uninstall(ed)
admin/build/modules (enabled) The system suggests that update.php be run
update.php?op=selection (no update # comes as preselected)
so I "manually" select #5200 from dropdown and apply it
Failure message "Failed: C" is reported, but the installation is now complete
and vocab index is up and running....
Later on I stepped into the call to undefined function again, and could not
disable it via admin UI (blank page). So I changed the status to 0 in system
table via phpMyAdmin.
thx
Comment #3
xanoThank you for this verbose explanation. I'll try to reproduce the error.
Comment #4
xanoComment #5
xanoThe problem was that drupal_get_installed_schema_version() would return -1 instead of the actual installed schema version right after installation. This appears to have been fixed in Drupal 6.
Fixed and committed to 5.x-2.x-dev.
Comment #7
xano