Closed (duplicate)
Project:
Hierarchical Select
Version:
5.x-3.x-dev
Component:
Code - Content Taxonomy Views
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
8 Jul 2008 at 15:34 UTC
Updated:
7 Aug 2008 at 21:08 UTC
Jump to comment: Most recent file
Comments
Comment #1
wim leersWhen you configure it to save the lineage, you must enable the "multiple values" field setting.
And please upgrade to version 3 beta 2, it will handle this automatically :)
Comment #2
humanoid commentedI have the same problem. I'm using the 5.x-3.x-dev (2008-Jul-07), Drupal 5.7, and I have enable the "multiple values" by activating "Lineage setting" and "enable Dropbox". The error appears after saving and the selected values are not saved:
* warning: Illegal offset type in .../modules/hierarchical_select/modules/hs_content_taxonomy.module on line 293.
* warning: Illegal offset type in .../modules/hierarchical_select/modules/hs_content_taxonomy.module on line 293.
Also, the widget is not working anymore without using content-taxonomy as a general replacement for the taxonomy-selection as I had this before. After upgrading to beta2 the regular taxonomy selectbox is shown. I've run update.php and also completely removed the module and installed it again.
I'm looking forward to see this work, it's a great module. Thanks for that so long!
Jürgen
Comment #3
humanoid commentedhmpf... sorry just wanted to set ticket to active
Comment #4
wim leersPlease go through these steps:
Before you submit any issues, go through these steps:
1) go to Adminster > Logs > Status report (admin/logs/status) to check if your Hierarchical Select installation doesn't detect problems
2) read the "Troubleshooting" section of README.txt
3) read UPGRADE.txt if you have problems after upgrading from version 2 to version 3
Comment #5
mistresskim commentedThanks for fast response. Upgraded to 5.x-3.0-beta2 without any log errors or problems, but I'm still getting the illegal offset error.
Screenshots attached of the settings for the vocabulary, the field and the HS config of the field. Let me know if anything looks weird.
Comment #6
wim leersYou did not associate the vocabulary with the same node type twice, did you (once through Taxonomy, once through Content Taxonomy).
Comment #7
mistresskim commentedNot sure what you mean. Is the above a question? :)
In taxonomy I have associated the vocabulary with the node type World Event. Then in the World Event settings I have a field which uses HS to select from the taxonomy. Is that wrong?
Comment #8
wim leersThat's very wrong.
It must be either one, not both. Consult the Content Taxonomy documentation.
Comment #9
mistresskim commentedAh right. That makes sense. I've unassociated World Event with the Location taxonomy but I'm still getting the error. I will reinstall Content Taxonomy and see what happens.
Comment #10
humanoid commentedI've gone to these 3 steps, everything should be ok. I've also
1) removed the "Use the Hierarchical Select form element for this vocabulary." Option -> When saving the content taxonomie still the Illegal offset type error occurs.
2) removed the vocabular from this content type > Also When saving the content taxonomie still the Illegal offset type error occurs.
Also
I remember before I was playing with the regular taxonomy select and after updating from 3.x dev to 3.0 beta2 at the weekend, the Hierarchical Select form don't shown anymore but the regular form of the taxonomy selection. There were also some confusion because of the different modules, both of this versions where shown within admin/build/modules. Because of that I deactivated and later deleted the whole module before uploading and activating the latest version again. But the config data was still the same. Maybe there ist some wrong config data still saved ?
best regards & thanks for your help!
Jürgen
Comment #11
mistresskim commentedInstalled Content Taxonomy again, deleted old Place field on World Event type, then made another one and configured it for HS, but I can still only get the deepest option to work. Full lineage still gives me the offset error. Wim, is there anything else I should do?
Comment #12
sonden commentedSubscribing
Comment #13
mistresskim commentedManaged to get this working properly just by chance and doing things in a different order.
Following Wim's advice I unassigned my content type from the vocabulary on the Location vocabulary page. Also for the general HS settings on the Location vocab page, this time I chose "Save only the deepest term".
Before I could not select the 'Multiple Values' option in the Data Settings when editing my Place field, but after changing the vocab page as above, I was able to do this.
Finally on the HS configuration for the Place field, I chose the "Save term lineage" in order to get all three levels of my hierarchy displayed.
And bingo, it worked! :)
Anyway, attached are new screenshots with the correct settings that worked for me. Maybe of use to others who are stuck.
Comment #14
summit commentedHi Wim,
I also have this error...the error was gone by doing: http://drupal.org/node/234622#comment-889836 to hs_content_taxonomy.module.
Altering line 293
to:
But now the terms as tags are not altered or saved anymore :(:(
Hopefully helpful adding to this discussion.
I have to rollback the whole module now, while I am going on vacations.
Wim good luck with finding a solution and after holidays I report me back!
Greetings,
Martijn
Comment #15
wim leersI still can't reproduce this. I'll need Drupal admin + FTP/SSH access to figure out why this is happening.
Comment #16
wim leersI think this is because of the save_lineage setting. This setting *requires* that you have the "multiple values" setting checked. The HS config form does this automatically for you, but only since a certain revision of only a couple of weeks ago. If you haven't saved your settings in the mean time, it will not have been set automatically yet.
So, please save the HS config form for that field one more time.
Comment #17
summit commentedHi Wim,
I am on holidays now in Spain, but would very much like to respond though I am not able to test thoroughly.
I have "save only the deepest" setting on and not the save_lineage setting..could that alter things?
Greetings,
Martijn
Comment #18
wim leersHow did you configure these 2 settings:
- HS dropbox
- content_taxonomy field "multiple values" setting
Comment #19
summit commentedI checked both I know. But am unable to look now, because my internet is to slow to go to admin, sorry..
greetings,
Martijn
Comment #20
wim leersPlease export both your HS config and the CCK field and post it here.
Comment #21
summit commentedHi Wim,
After several tries on this slow internet I got them!
The content_taxonomy:
Thanks for going into this and greetings from Spain!
Martijn
Comment #22
wim leersI'm afraid you forgot to export your CCK field… I really need that :)
And have a good time there in Spain! Where exactly in Spain are you btw?
Comment #23
summit commentedHi Wim,
I am in Aguilas, near Lorca/Murcia in Spain, very hot..sitting now outsite with wifi.
Slow internet, but succeeded hopefully with the CCK field settings which you asked for:
Thanks again for going into this!
Greetings,
Martijn
Comment #24
bennos commentedChanging the Lines from Comment http://drupal.org/node/279912#comment-919805
worked for me.
Currently it is not been fixed in the CVS.
bennos
Comment #25
summit commentedHi Wim,
Just back from Spain, any progress in this field please?
Thanks in advance for your reply!
greetings,
Martijn
Comment #26
wim leersI think and – especially this – *hope* that this is a duplicate of http://drupal.org/node/283397. See http://drupal.org/node/283397#comment-955019 to find out why I really really hope this…