Check out the attached file, when I disable the Catalog module and then "Save Configuration" it does what it's to does supposed to do, my drupal site disables that module. Now when I go to enable it I get the error that you see in the attached file. Anyone know how I can get this fixed???? In my drupal site, by the way my catalog is not working. And I suppose this is the root of the cause. If anyone can help that would be greatly appreciated. I thank you ahead of time.
Oh, I'd like to mention that after I get that error page I enter my sites url in the address bar then I travel to the modules page once again and the Catalog module in Ubercart Core (OPTIONAL) says it's enabled. I have a feeling that this error is causing my site to not display a catalog link.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | Screen shot 2011-06-20 at 1.34.46 PM.png | 87.95 KB | fineartist99 |
| Screen shot 2011-06-14 at 10.47.20 PM.png | 44.34 KB | fineartist99 |
Comments
Comment #1
tr commented7.x-3.0-alpha1 is more than a year old. The current version of Ubercart is 7.x-3.0-beta3. Whenever you have problems you should check to see if they have been fixed in the current release. If you continue to see this problem in the current release please provide a list of steps to reproduce it.
Comment #2
fineartist99 commentedMy apologies, I have version 7.x-3.0-beta3 in Ubercart, the most safe and up-to-date version.
Comment #3
fineartist99 commentedI'm going to completely uninstall the catalog module and upload the folder via ftp to the correct directory and we'll see if that fixes the problem
Comment #4
fineartist99 commentedNope, still getting that same error. Even after clearing all cahes, and manually installing and uninstalling the catalog module "uc_catalog" within the module "ubercart" both within Drupal and manually. Still getting errors. Should I just start a new Drupal site from scratch (I'd rather not but if there is no solution I think I may have to)
Any solutions for a fix anyone?
Comment #5
dkroneb commentedYou are describing my same experience on the uc_catalog.
I get the message: FieldException: Attempt to create an instance of a field taxonomy_catalog that doesn't exist or is currently inactive. in field_create_instance() (line 453 of /httpdocs/modules/field/field.crud.inc)
I have been doing the same uninstall and clearing cache.
I thought I had a companion problem with "views" and the "views-7.x-3.x-dev June 15".
There is a patch that fixed that view problem at http://drupal.org/node/1189624
But still have the uc_catalog problem.
Comment #6
fineartist99 commentedI'm going to do a fresh install of EVERYTHING! I'll let you know if the problem persists.
Comment #7
tr commentedI believe this is a core Drupal problem with disabling/uninstalling fields. The way to avoid it is just don't disable the catalog. But once you get the problem, I think the only way to recover is to manually clean up the database. I'm going to try to present a complete list of steps here, but no guarantees.
Follow these steps:
Disable uc_catalog. Uninstall uc_catalog.
Delete tables:
field_data_taxonomy_catalog
field_revision_taxonomy_catalog
Remove taxonomy_catalog row from tables:
field_config
field_config_instance
Truncate (empty) tables:
cache_field
Enable uc_catalog.
Comment #8
fineartist99 commentedwhen you say disable uc_catalog are you talking about in the database or the drupal admin section under modules?
if you're talking about the drupal admin section under modules I only see the catalog module.
if you're talking about in the database I did a search for uc_catalog and found it in the following tabels-
dr_block
dr_registry
dr_role_permission
dr_system
dr_taxonomy_vocabulary
I browsed dr_block and this is what I see (see attachment).
Let me know what you mean by Disable uc_catalog. Uninstall uc_catalog. because I don't see uc_catalog in the drupal admin section under modules.
Thank you for any help that you may be able to provide.
Comment #9
bytemenz commentedHi TR,
I followed the steps you listed in #7 and found a few interesting things...
First field_data_taxonomy_catalog and field_revision_taxonomy_catalog did not exist, despite plenty of field_data and field_revision tables existing within the database.
Second the taxonomy_catalog row did exist in field_config and field_config_instance, so I removed this.
Uninstalling the module didn't remove the files so I manually removed the uc_catalog directory and files, then ran cron and cleared cache before downloading a fresh copy of ubercart from drupal.org and uploading the uc_catalog files to sites/all/modules/ubercart/uc_catalog
I then went to enable the Catalog module again and got the same error:
FieldException: Attempt to create an instance of a field taxonomy_catalog that doesn't exist or is currently inactive. in field_create_instance() (line 453 of /var/www/vhosts/xxx.xxxxx.co.nz/httpdocs/modules/field/field.crud.inc).
Lastly, I rechecked the database and this time the rows don't exist in the field_config or field_config_instance tables as well as the field_data_taxonomy_catalog and field_revision_taxonomy_catalog tables being absent.
Not too sure where to go from here, but thought I'd at least post up my findings. BTW I'm using the latest stable versions of Drupal (7.7) and Ubercart (7.x-3.0-beta4)
Comment #10
SergO commentedI got this message when I had installed this component first time, but I had a "Catalog" taxanomy vocabulary already (It was used as base for main menu). In my case I loaded backup and renamed vocabulary. (Drupal7.8, Ubercart 7x-3.0-rc2)
Comment #11
longwaveCannot reproduce this now, I think it was fixed in #1330500: Provide a way to repair the taxonomy_catalog field