Closed (fixed)
Project:
eC Live Subproducts
Version:
5.x-2.09
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2007 at 15:37 UTC
Updated:
13 Mar 2008 at 15:26 UTC
If I activate EC Live Subproducts modules, I get an error message in log (it appears only once):
Illegal choice ec_live_subproducts_attribute in Types element
Then categories are partly disabled, when I add vocabulary, no node type is displayed and the the only choice is Free tagging.
What is wrong ?
Frederic
Comments
Comment #1
flebas commentedI have disabled and uninstalled EC Live Subproducts, then installed it again whithout error.
You can close the case.
Frederic
Comment #2
syllance commentedsorry to reopen this one, but I have the same issue and cannot get rid of it after cleaning and reinstall.
this happens on both php4/5 and on unix/mac (mamp). the only common thing is drupal 5.2. I also tried the cvs head verison with the same result :
Illegal choice ec_live_subproducts_attribute in Types element.
when activating the module, and improper setup (no cat created).
I'll have a closer look, but if someone knows how to set this up, let me know.
Comment #3
superstar commentedWe had a similar problem last month.
It happens because the category setup was moved out of the module code into the install file in version 2.09. However the category setup in the install requires the content type (node type) "ec_live_subproducts_attribute" to exist first - which is not actually created until after the install. What came first, the chicken or the egg?
So, the only work around I could come up with is to add the ec_live_subproducts_attribute node type manually to the database before installing the module. Then it works no problem. The node type will be removed when the module is uninstalled as per normal.
Comment #4
syllance commentedThat fixed the module install. Thanks a lot superstar.
I'm moving this to a bug report, and let it open.
Comment #5
brmassa commentedGuys,
im really sorry for my absense. the new eC4 is consuming my time!
Im gonna fix it soon.
regards,
massa
Comment #6
StevenSokulski commentedCan someone please explain how I would go about creating node type "ec_live_subproducts_attribute" from the database. I did a search within the .install file and went digging but did not find anything resembling a db_query that contained this string. Please let me know what I've missed.
Thanks.
Comment #7
simplyspoke commentedWhat I did was installed sub products, after the error export the "node_type" table in phpadmin to get the code to create the live_subproduct entry. Then uninstalled the module and in phpadmin ran the following code under the "node type" table:
INSERT INTO `node_type` VALUES ('ec_live_subproducts_attribute', 'Subproduct Attribute', 'ec_live_subproducts_attribute', 'Some special products can have changeable attributes.', '', 1, 'Title', 1, 'Body', 0, 0, 0, 1, 'ec_live_subproducts_attribute');Then only had to return and reselect the module.
Comment #8
sphism commentedHello,
I've had a lot of problems getting ec live subproducts to work.
I've tried a fresh install and added the node type for ec_live_subproducts_attribute as described above.
When i install the module i still get an error saying an illegal choice has been made.
thenn when i go to:
administer >> ecommerce >> Subproduct attributes >> create variations
it takes me to:
q=admin/content/taxonomy/-1/add/term&destination=admin/store/attributes
the -1 isn't a category so even if i make variations i can't list them.
I'm guessing that before installing ec live subproducts i will also need to create the correct vocabulary and terms, since the module isn't making them.
But what vocabulary and terms do i need to add? Or can i point the module to the correct terms after i've installed it?
Everything was going great with the webshop until it came to adding variations. The standard subproduct module can't handle a large number of variations and i can't get this one to work at all.
Please help.
matt
Comment #9
brmassa commentedGuys,
im so deeply involved on eC4 that i really dont have the time to support EC LS anymore. if someone provides a patch, i will be glad to use it.
regards,
massa
Comment #10
rvarkonyi commentedHi guys,
seems like I'm having similar issues with this module. "ec_live_subproducts_attribute" table gets created with no problem, but still I'm not able to get the vocabularies. Somehow I discovered that running the update script solves this problem, but other issues arise later that affect the stock control which is again a very important part. Could you please tell me step by step how to uninstall the module? Does that mean disabling it and removing the sql tables? Or is there anything else to do?
Thanks