Hi Wim,

I have installed the HS Beta1 and now I do not see the correct widget on node/add pages.
The "normal" taxonomy widget shows itself.
I rerolled the latest 28 june- dev version, and than the widget shows itself again. Do I miss a instal-setup feature?

I have Jquery 2 installed, put the jquery 2 files in /misc and update HS Beta 1.
But the widget is not showing.

Thanks in advance for going into this.

greetings,
Martijn

Comments

summit’s picture

And the content_taxonomy fields with the HS widget give blank pages...

greetings,
Martijn

a.siebel’s picture

subscribe - I have the same Problem...

Normal Taxonomy fields don't working.
Content Taxonomy fields are working - But adding new terms don't work
Views Exposed filters don't working

wim leers’s picture

Assigned: Unassigned » wim leers
Category: bug » support
Status: Active » Fixed

You still have to run update.php, as is being reported in the Drupal status report.

And for the blank pages: see http://drupal.org/node/276269.

wim leers’s picture

Also: you have to enable a separate module now for Taxonomy support ;)

summit’s picture

I see..an indepenent module..yes I didn't notice this..and now taxonomy is dependend on taxonomy_subscription..ok.
Will report back after getting this done.

EDIT: reporting back. Did all necessary things, installed subscriptions with taxonomy subscriptions to be able to install HS taxonomy.
Now the widget is showing, so this is great!
But...the widget hangs now on IE and Firefox.

This is my configuration:

$config = array( 'config_id' => 'content-taxonomy-field_regionl_tax_intro', 'save_lineage' => 0, 'enforce_deepest' => 0, 'node_count' => 0, 'level_labels' => array( 'status' => 0, 'labels' => array( 0 => '', 1 => '', 2 => '', 3 => '', ), ), 'dropbox' => array( 'status' => 1, 'title' => 'Regional', 'limit' => 0, 'reset_hs' => 1, ), 'editability' => array( 'status' => 1, 'item_types' => array( 0 => '', 1 => '', 2 => '', 3 => '', ), 'allow_new_levels' => 1, 'max_levels' => 3, ), ); 

Thanks for going into this again!

greetings,
Martijn

wim leers’s picture

Is hs_taxonomy dependent on hs_taxonomy_subscriptions? That's a bug then!

EDIT: it's not:
dependencies = hierarchical_select taxonomy

But hs_taxonomy_subscriptions does depend on hs_taxonomy.

summit’s picture

Hi Wim,
You were right, it is required by..not dependend, sorry for misreading, but the widget still hangs both on IE and firefox.
EDIT hanging was already reported I see: http://drupal.org/node/276347, sorry for that Wim.

Greetings, Martijn

wim leers’s picture

Status: Fixed » Closed (duplicate)

So I assume this issue is only about the freezing/hanging now? In that case, marking as duplicate. Please change it to active if that's not the case.

a.siebel’s picture

Status: Closed (duplicate) » Active

I still have the problem:
* I've updatet the database
* I've installed jquery 1.2
* I've enabled all HS Modules
* I configured two taxonomy content fields, and one views exposed filter
* The status report does'nt show errors

And still I have problems:
* normal taxonomy fields don't show as HS, so i had to use content taxonomy fields. There I can't insert new values. After entering an item the taxonomy list is unchanged.
* The views exposed filter for one of the vocabularies don't show as HS.

wim leers’s picture

Status: Active » Closed (duplicate)

"normal taxonomy fields don't show as HS"
-> That's because you have to enable the Hierarchical Select Taxonomy module first now.

"The views exposed filter for one of the vocabularies don't show as HS."
-> That's because you have to enable the Hierarchical Select Taxonomy Views module first now.

This issue was marked as a *duplicate*, so you should have posted this in the other issue (the non-duplicate one)!

a.siebel’s picture

Status: Closed (duplicate) » Active

>"normal taxonomy fields don't show as HS"
-> That's because you have to enable the Hierarchical Select Taxonomy module first now.

I have enabled the HST module.

>"The views exposed filter for one of the vocabularies don't show as HS."
-> That's because you have to enable the Hierarchical Select Taxonomy Views module first now.

I have enabled the HSTV module

>This issue was marked as a *duplicate*, so you should have posted this in the other issue (the non-duplicate >one)!

this issue isn't in relation to the "non-duplicate"

Implementation (module) Hierarchy type Entity type Create new items Node count
Hierarchical Select Content Taxonomy Content Taxonomy Node Ja Ja
Hierarchical Select Content Taxonomy Views Content Taxonomy Anzeigen Nein Ja
Hierarchical Select Menu Menü k.A. Nein Nein
Hierarchical Select Taxonomy Taxonomie Node Ja Ja
Hierarchical Select Taxonomy Views Taxonomie Ansichten Nein Ja

wim leers’s picture

You are posting to an issue that was MARKED AS duplicate. This is indeed not related, so why are you posting to the same issue?

Enabling those modules is good. But did you also *configure* Hierarchical Select for them?

a.siebel’s picture

I posted here, because I had the same problem and you said:

> So I assume this issue is only about the freezing/hanging now? In that case, marking as duplicate. Please
> change it to active if that's not the case.

My configuration for HS-Views. I have disabled

$config = array(
'config_id' => 'taxonomy-views-personengallerie-4',
'save_lineage' => 0,
'enforce_deepest' => 1,
'node_count' => 1,
'level_labels' => array(
'status' => 0,
'labels' => array(
0 => '',
1 => '',
),
),
'dropbox' => array(
'status' => 0,
'title' => '',
'limit' => 0,
'reset_hs' => 1,
),
'editability' => array(
'status' => 0,
'item_types' => array(
),
'allow_new_levels' => 0,
'max_levels' => 3,
),
);

and as normal HS:

$config = array(
'config_id' => 'taxonomy-2',
'save_lineage' => 0,
'enforce_deepest' => 0,
'node_count' => 0,
'level_labels' => array(
'status' => 0,
'labels' => array(
0 => '',
1 => '',
),
),
'dropbox' => array(
'status' => 0,
'title' => '0',
'limit' => 0,
'reset_hs' => 1,
),
'editability' => array(
'status' => 0,
'item_types' => array(
0 => '',
1 => '',
),
'allow_new_levels' => 0,
'max_levels' => 1,
),
);

Both widgets don't show up.

wim leers’s picture

Title: HS Beta1 not showing correct widget, HS dev 28june ok » HS b1 not showing (default widget being displayed)

Oh, right. My apologies Gaara. Studying for an exam + looking at multiple Drupal issues simultaneously == this kind of incorrect statements/behavior of me. Sorry!

I'm not sure I'm going to be able to reproduce this, since it's working for me. It'd speed things up if you could give me admin access to your Drupal site.

Eugene Fidelin’s picture

+ Subscribe
I install ALL HS modules and configure vocabulary but taxonomy filed doesn't show as HS
But in vocabulary preview - i see HS element and its works fine

wim leers’s picture

Eugef: did you upgrade to the latest dev tarball? That should fix it.

Gaara: the same answer applies to you.

This has been fixed 5 days ago: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/hierarchica....

wim leers’s picture

Status: Active » Fixed
Eugene Fidelin’s picture

Wim Leers: Yes - i have the latest version of hs_taxonomy.module file but HS didn't shown when editing node with taxonomy

Eugene Fidelin’s picture

I find out that for my form in hs_taxonomy.module in function hs_taxonomy_form_alter() variable $form['taxonomy'] is empty!
But i see default taxonomy input!
I use Ubercart - maybe this causes problems

Eugene Fidelin’s picture

Dear Wim Leers - i think you can create release beta 2 - because it is very difficult to download all patched files from CVS
Thanx for greate module!

Eugene Fidelin’s picture

Dear Wim Leers - i think you can create release beta 2 - because it is very difficult to download all patched files from CVS
Thanx for greate module!

summit’s picture

Title: HS b1 not showing (default widget being displayed) » HS b1 not showing dev-july-08-(default widget being displayed)
Version: 5.x-3.0-beta1 » 5.x-3.x-dev
Status: Fixed » Active

Hi Wim,

I am sorry to report that on the version 5.x.3.x-dev (2008-jul-08)
// $Id: hs_taxonomy.module,v 1.7 2008/07/03 22:50:57 wimleers Exp $

I still got this situation, that the normal taxonomy HS is not working.
The context_taxonomy is working, but the normal widget not.

Do I have to download a newer file please?

My configuration file is:

$config = array(
  'config_id'       => 'taxonomy-138',
  'save_lineage'    => 0,
  'enforce_deepest' => 0,
  'node_count'      => 0,
  'level_labels' => array(
    'status' => 0,
    'labels' => array(
      0 => '',
      1 => '',
      2 => '',
      3 => '',
      4 => '',
    ),
  ),
  'dropbox' => array(
    'status'    => 1,
    'title'     => '',
    'limit'     => 0,
    'reset_hs'  => 1,
  ),
  'editability' => array(
    'status' => 1,
    'item_types' => array(
      0 => '',
      1 => '',
      2 => '',
      3 => '',
      4 => '',
    ),
    'allow_new_levels' => 1,
    'max_levels'       => 4,
  ),
);

Sorry If I am having an old version, but I can't see a newer tarball.
If not, thanks in advance going into this again!

greetings,
Martijn

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)

Eugef: hm, good catch. Seems like some module is altering the weight of the Taxonomy module then… Could you please execute this query:
SELECT weight FROM system WHERE module = 'taxonomy

Summit: same question for you.

summit’s picture

Hi Wim,
I have the moduleweight module installed. It says taxonomy 0 which I think is the same as the query, right?
I have set the weight for module Hierarchical Select Taxonomy to 10
Now the widget is showing!!, but still no save of terms.. and more problems, I can't see the next level of the HS widget now.
I have vocabulary

  Europe
  -- Netherlands
  -- England
      etc..

But when I select Europe, I see the ADD button, but nothing happens..the in earlier 3 version showing list with Netherlands, England etc.. is not showing anymore!

I have the RC1 tarball installed and tried 3.dev (2008-Aug-03) now and Jquery update 2 (both 2 and 2.dev 2 august. Logs seems ok. This is what I see in the logs

Hierarchical Select All updates installed. jQuery Update 2.x installed. 
Hierarchical Select Views Taxonomy The Views module is new enough. 
jQuery Update Installed correctly 
The current installed version of jQuery is 1.2.6 

Problem I have now:

I see the ADD button but with clicking it, nothing happens now.
No term is added to the list under the HS select list, which first was showing when you click ADD..

The following error messages are also reported:

    * warning: Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179.
    * warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /public_html/includes/form.inc on line 218.
    * warning: uasort() [function.uasort]: The argument should be an array in /public_html/includes/common.inc on line 2145.
    * warning: Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179.
    * warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /public_html/includes/form.inc on line 218.
    * warning: uasort() [function.uasort]: The argument should be an array in /public_html/includes/common.inc on line 2145.

My normal HS taxonomy settings are:

$config = array(
  'config_id'       => 'taxonomy-138',
  'save_lineage'    => 0,
  'enforce_deepest' => 0,
  'entity_count'    => 0,
  'level_labels' => array(
    'status' => 0,
    'labels' => array(
      0 => '',
      1 => '',
      2 => '',
      3 => '',
      4 => '',
    ),
  ),
  'dropbox' => array(
    'status'    => 1,
    'title'     => '',
    'limit'     => 0,
    'reset_hs'  => 1,
  ),
  'editability' => array(
    'status' => 1,
    'item_types' => array(
      0 => '',
      1 => '',
      2 => '',
      3 => '',
      4 => '',
    ),
    'allowed_levels' => array(
      0 => '1',
      1 => '1',
      2 => '1',
      3 => '1',
      4 => '1',
    ),
    'allow_new_levels' => 1,
    'max_levels'       => 4,
  ),
);

Sorry for my errorreport Wim.
Greetings,
Martijn

wim leers’s picture

Please enable developer mode to get debug output.

Change this line in the .module file:
define('HS_DEVELOPER_MODE', 0);
to:
define('HS_DEVELOPER_MODE', 1);

groovypower’s picture

I took the most recent views and hierarchical select modules from CVS as of this afternoon and was still getting the problem as well. I do not have the devel module installed yet, but will try to tomorrow if you still need the info.

summit’s picture

Hi Wim,

This is what the devel-sheet says.
I have two vocabularies: regionaal (138) and categories/rubrieken (109).

The widget itself hangs on IE and FF now.

Config diagnostics (config id: taxonomy-138): no problems found!
Calculated hierarchical select selection: Array
(
)
Calculated dropbox selection: Array
(
)
Generated hierarchy: stdClass Object
(
    [lineage] => Array
        (
            [0] => label_0
        )

    [levels] => Array
        (
            [0] => Array
                (
                    [none] => <geen>
                    [create_new_item] => <create new item>
                    [1706] => Afrika
                    [426] => Amerika
                    [1602] => Australie
                    [976] => Azie
                    [139] => Europa
                )

        )

    [childinfo] => Array
        (
            [0] => Array
                (
                    [1706] => 1
                    [426] => 2
                    [1602] => 3
                    [976] => 1
                    [139] => 27
                )

        )

)
Generated dropbox: stdClass Object
(
    [title] => All selections
    [lineages] => Array
        (
        )

    [lineages_selections] => Array
        (
        )

)
Config diagnostics (config id: taxonomy-109): no problems found!
Calculated hierarchical select selection: Array
(
)
Calculated dropbox selection: Array
(
)
Generated hierarchy: stdClass Object
(
    [lineage] => Array
        (
            [0] => label_0
        )

    [levels] => Array
        (
            [0] => Array
                (
                    [none] => <geen>
                    [create_new_item] => <create new item>
                    [110] => Abonnement
                    [111] => Artikelen
                    [179] => Auto
                    [1735] => Autoreizen
                    [112] => Beautyproducten
                    [915] => Bedrijfsuitjes
                    [289] => Biologisch
                    [114] => Boek
                    [115] => Brochure
                    [1663] => Busreizen
                    [147] => Campings
                    [116] => Catalogi
                    [117] => CD-roms
                    [324] => Computer
                    [800] => Consumenten Electronica
                    [3164] => Creatieve vakanties
                    [920] => Dating
                    [249] => Design
                    [577] => E-cards
                    [2330] => EK 2008
                    [158] => Energiebesparing
                    [790] => Entertainment
                    [355] => Fietsvakanties
                    [1709] => Fleetmanagement
                    [236] => Foto
                    [167] => Geld
                    [118] => Gezondheid
                    [119] => Goede doel
                    [410] => Hemelvaart arrangementen
                    [283] => Homeopathie
                    [137] => Hotels
                    [721] => ICT
                    [257] => Jongerenvakantie jongerenreizen
                    [1704] => Kerst
                    [121] => Keukenboek
                    [162] => Kinderen
                    [287] => Korting
                    [133] => Land
                    [2469] => Lenzen
                    [633] => Makelaars
                    [3190] => Marco van Basten
                    [642] => Media
                    [1801] => Merken
                    [177] => Milieu
                    [505] => Mobiele Telefonie
                    [984] => Mode
                    [714] => Muziek
                    [123] => Natuurproducten
                    [2331] => Nederlands Elftal
                    [628] => Nieuws
                    [186] => occassions
                    [1702] => Ontwikkelingswerk
                    [653] => Opticiens
                    [2286] => Oud en Nieuw
                    [240] => Ouderschap
                    [2335] => Pasen-2008
                    [124] => Pensioenfondsen
                    [318] => Persoonlijke verzorging
                    [407] => Pinksterarrangementen
                    [165] => Politiek / Overheid
                    [125] => Proefnummers
                    [126] => Recepten
                    [242] => Reizen
                    [740] => Scheepvaart
                    [705] => Scholing
                    [233] => Schoonheid
                    [1785] => Senioren
                    [352] => Single reizen
                    [2465] => Singles
                    [1710] => Sinterklaas
                    [127] => SMS / Bellen
                    [3322] => Spiritueel
                    [320] => Sport
                    [2282] => Start vinden
                    [128] => Stickers
                    [592] => Taal
                    [2267] => Theater
                    [981] => Tips
                    [660] => Uitgaan
                    [227] => Uitstapjes
                    [357] => Vacatures
                    [428] => Vakantie
                    [129] => Vakantiebrochure
                    [132] => Vakantiehuizen
                    [130] => Veiligheid
                    [869] => Vergaderen
                    [750] => Vertalingen
                    [271] => Verzekeringen
                    [131] => Video
                    [690] => Vliegtickets
                    [2346] => Voetbal
                    [2347] => Voetballers
                    [2333] => Voetbalreizen
                    [2332] => Voetbalstadions
                    [717] => vragen en antwoorden
                    [282] => Vrouwen
                    [715] => Winkelen
                    [176] => Wintersport
                    [501] => Wonen
                    [284] => Ziekte en genezing
                    [422] => Zoekmachine optimalisatie
                    [245] => Zomergids
                    [254] => Zomervakantie
                    [351] => Zomervakantie in Italie
                    [1698] => ZZervicenodes
                )

        )

    [childinfo] => Array
        (
            [0] => Array
                (
                    [110] => 0
                    [111] => 2
                    [179] => 7
                    [1735] => 0
                    [112] => 0
                    [915] => 0
                    [289] => 0
                    [114] => 0
                    [115] => 0
                    [1663] => 14
                    [147] => 11
                    [116] => 0
                    [117] => 1
                    [324] => 3
                    [800] => 0
                    [3164] => 2
                    [920] => 0
                    [249] => 1
                    [577] => 0
                    [2330] => 0
                    [158] => 0
                    [790] => 0
                    [355] => 0
                    [1709] => 0
                    [236] => 1
                    [167] => 4
                    [118] => 1
                    [119] => 0
                    [410] => 0
                    [283] => 0
                    [137] => 12
                    [721] => 2
                    [257] => 0
                    [1704] => 6
                    [121] => 0
                    [162] => 3
                    [287] => 0
                    [133] => 1
                    [2469] => 0
                    [633] => 0
                    [3190] => 0
                    [642] => 2
                    [1801] => 0
                    [177] => 0
                    [505] => 2
                    [984] => 0
                    [714] => 0
                    [123] => 0
                    [2331] => 0
                    [628] => 1
                    [186] => 0
                    [1702] => 0
                    [653] => 0
                    [2286] => 0
                    [240] => 0
                    [2335] => 6
                    [124] => 0
                    [318] => 4
                    [407] => 0
                    [165] => 2
                    [125] => 0
                    [126] => 0
                    [242] => 24
                    [740] => 0
                    [705] => 1
                    [233] => 0
                    [1785] => 0
                    [352] => 0
                    [2465] => 0
                    [1710] => 0
                    [127] => 4
                    [3322] => 0
                    [320] => 2
                    [2282] => 0
                    [128] => 0
                    [592] => 1
                    [2267] => 7
                    [981] => 0
                    [660] => 4
                    [227] => 5
                    [357] => 0
                    [428] => 12
                    [129] => 0
                    [132] => 7
                    [130] => 0
                    [869] => 0
                    [750] => 0
                    [271] => 11
                    [131] => 0
                    [690] => 0
                    [2346] => 0
                    [2347] => 0
                    [2333] => 0
                    [2332] => 0
                    [717] => 0
                    [282] => 0
                    [715] => 0
                    [176] => 35
                    [501] => 7
                    [284] => 0
                    [422] => 0
                    [245] => 0
                    [254] => 15
                    [351] => 0
                    [1698] => 0
                )

        )

)
Generated dropbox: stdClass Object
(
    [title] => All selections
    [lineages] => Array
        (
        )

    [lineages_selections] => Array
        (
        )

)

And after refreshing (F5) I got:

Hierarchical Select AJAX request.
    form_id: page_node_form
    hs_form_build_id: Hierarchical Select AJAX request.
    form_id: page_node_form
    hs_form_build_id: Config diagnostics (config id: taxonomy-138): no problems found!Calculated hierarchical select selection: Array
(
)
Calculated dropbox selection: Array
(
)
Generated hierarchy: stdClass Object
(
    [lineage] => Array
        (
            [0] => label_0
        )

    [levels] => Array
        (
            [0] => Array
                (
                    [none] => <geen>
                    [create_new_item] => <create new item>
                    [1706] => Afrika
                    [426] => Amerika
                    [1602] => Australie
                    [976] => Azie
                    [139] => Europa
                )

        )

    [childinfo] => Array
        (
            [0] => Array
                (
                    [1706] => 1
                    [426] => 2
                    [1602] => 3
                    [976] => 1
                    [139] => 27
                )

        )

)
Generated dropbox: stdClass Object
(
    [title] => All selections
    [lineages] => Array
        (
        )

    [lineages_selections] => Array
        (
        )

)
Config diagnostics (config id: taxonomy-109): no problems found!Calculated hierarchical select selection: Array
(
)
Calculated dropbox selection: Array
(
)
Generated hierarchy: stdClass Object
(
    [lineage] => Array
        (
            [0] => label_0
        )

    [levels] => Array
        (
            [0] => Array
                (
                    [none] => <geen>
                    [create_new_item] => <create new item>
                    [110] => Abonnement
                    [111] => Artikelen
                    [179] => Auto
                    [1735] => Autoreizen
                    [112] => Beautyproducten
                    [915] => Bedrijfsuitjes
                    [289] => Biologisch
                    [114] => Boek
                    [115] => Brochure
                    [1663] => Busreizen
                    [147] => Campings
                    [116] => Catalogi
                    [117] => CD-roms
                    [324] => Computer
                    [800] => Consumenten Electronica
                    [3164] => Creatieve vakanties
                    [920] => Dating
                    [249] => Design
                    [577] => E-cards
                    [2330] => EK 2008
                    [158] => Energiebesparing
                    [790] => Entertainment
                    [355] => Fietsvakanties
                    [1709] => Fleetmanagement
                    [236] => Foto
                    [167] => Geld
                    [118] => Gezondheid
                    [119] => Goede doel
                    [410] => Hemelvaart arrangementen
                    [283] => Homeopathie
                    [137] => Hotels
                    [721] => ICT
                    [257] => Jongerenvakantie jongerenreizen
                    [1704] => Kerst
                    [121] => Keukenboek
                    [162] => Kinderen
                    [287] => Korting
                    [133] => Land
                    [2469] => Lenzen
                    [633] => Makelaars
                    [3190] => Marco van Basten
                    [642] => Media
                    [1801] => Merken
                    [177] => Milieu
                    [505] => Mobiele Telefonie
                    [984] => Mode
                    [714] => Muziek
                    [123] => Natuurproducten
                    [2331] => Nederlands Elftal
                    [628] => Nieuws
                    [186] => occassions
                    [1702] => Ontwikkelingswerk
                    [653] => Opticiens
                    [2286] => Oud en Nieuw
                    [240] => Ouderschap
                    [2335] => Pasen-2008
                    [124] => Pensioenfondsen
                    [318] => Persoonlijke verzorging
                    [407] => Pinksterarrangementen
                    [165] => Politiek / Overheid
                    [125] => Proefnummers
                    [126] => Recepten
                    [242] => Reizen
                    [740] => Scheepvaart
                    [705] => Scholing
                    [233] => Schoonheid
                    [1785] => Senioren
                    [352] => Single reizen
                    [2465] => Singles
                    [1710] => Sinterklaas
                    [127] => SMS / Bellen
                    [3322] => Spiritueel
                    [320] => Sport
                    [2282] => Start vinden
                    [128] => Stickers
                    [592] => Taal
                    [2267] => Theater
                    [981] => Tips
                    [660] => Uitgaan
                    [227] => Uitstapjes
                    [357] => Vacatures
                    [428] => Vakantie
                    [129] => Vakantiebrochure
                    [132] => Vakantiehuizen
                    [130] => Veiligheid
                    [869] => Vergaderen
                    [750] => Vertalingen
                    [271] => Verzekeringen
                    [131] => Video
                    [690] => Vliegtickets
                    [2346] => Voetbal
                    [2347] => Voetballers
                    [2333] => Voetbalreizen
                    [2332] => Voetbalstadions
                    [717] => vragen en antwoorden
                    [282] => Vrouwen
                    [715] => Winkelen
                    [176] => Wintersport
                    [501] => Wonen
                    [284] => Ziekte en genezing
                    [422] => Zoekmachine optimalisatie
                    [245] => Zomergids
                    [254] => Zomervakantie
                    [351] => Zomervakantie in Italie
                    [1698] => ZZervicenodes
                )

        )

    [childinfo] => Array
        (
            [0] => Array
                (
                    [110] => 0
                    [111] => 2
                    [179] => 7
                    [1735] => 0
                    [112] => 0
                    [915] => 0
                    [289] => 0
                    [114] => 0
                    [115] => 0
                    [1663] => 14
                    [147] => 11
                    [116] => 0
                    [117] => 1
                    [324] => 3
                    [800] => 0
                    [3164] => 2
                    [920] => 0
                    [249] => 1
                    [577] => 0
                    [2330] => 0
                    [158] => 0
                    [790] => 0
                    [355] => 0
                    [1709] => 0
                    [236] => 1
                    [167] => 4
                    [118] => 1
                    [119] => 0
                    [410] => 0
                    [283] => 0
                    [137] => 12
                    [721] => 2
                    [257] => 0
                    [1704] => 6
                    [121] => 0
                    [162] => 3
                    [287] => 0
                    [133] => 1
                    [2469] => 0
                    [633] => 0
                    [3190] => 0
                    [642] => 2
                    [1801] => 0
                    [177] => 0
                    [505] => 2
                    [984] => 0
                    [714] => 0
                    [123] => 0
                    [2331] => 0
                    [628] => 1
                    [186] => 0
                    [1702] => 0
                    [653] => 0
                    [2286] => 0
                    [240] => 0
                    [2335] => 6
                    [124] => 0
                    [318] => 4
                    [407] => 0
                    [165] => 2
                    [125] => 0
                    [126] => 0
                    [242] => 24
                    [740] => 0
                    [705] => 1
                    [233] => 0
                    [1785] => 0
                    [352] => 0
                    [2465] => 0
                    [1710] => 0
                    [127] => 4
                    [3322] => 0
                    [320] => 2
                    [2282] => 0
                    [128] => 0
                    [592] => 1
                    [2267] => 7
                    [981] => 0
                    [660] => 4
                    [227] => 5
                    [357] => 0
                    [428] => 12
                    [129] => 0
                    [132] => 7
                    [130] => 0
                    [869] => 0
                    [750] => 0
                    [271] => 11
                    [131] => 0
                    [690] => 0
                    [2346] => 0
                    [2347] => 0
                    [2333] => 0
                    [2332] => 0
                    [717] => 0
                    [282] => 0
                    [715] => 0
                    [176] => 35
                    [501] => 7
                    [284] => 0
                    [422] => 0
                    [245] => 0
                    [254] => 15
                    [351] => 0
                    [1698] => 0
                )

        )

)
Generated dropbox: stdClass Object
(
    [title] => All selections
    [lineages] => Array
        (
        )

    [lineages_selections] => Array
        (
        )

)

With the following error-messages:

warning: Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179. 
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /public_html/includes/form.inc on line 218. 
warning: uasort() [function.uasort]: The argument should be an array in /public_html/includes/common.inc on line 2145. 
warning: Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179. 
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /public_html/includes/form.inc on line 218. 
warning: uasort() [function.uasort]: The argument should be an array in /public_html/includes/common.inc on line 2145. 

EDIT: 7 august tarball giving still same situation.
Error console on FF gives:

Warning: Unknown property 'zoom'.  Declaration dropped.
Source File: /modules/hierarchical_select/hierarchical_select.css Line: 202

Warning: Error in parsing value for property 'filter'.  Declaration dropped.
Source File: modules/hierarchical_select/hierarchical_select.css Line: 203

Hope all this information helps Wim!
greetings,
Martijn

groovypower’s picture

The only error I am getting is in the hierarchical select configuration page

Fix the indicated errors in the #config property first!
Config diagnostics (config id: taxonomy-views-resources-1): Array
(
[0] => 'params' is missing values for: exclude_tid, root_term.
)
wim leers’s picture

Title: HS b1 not showing dev-july-08-(default widget being displayed) » Hierarchical Select not showing (module conflict, but which one?)
Priority: Normal » Minor

groovypower: on which page? That just means I forgot to set those parameters somewhere, it won't cause Hierarchical Select to now show at all.

Summit: your problem is … very weird. Could you give me access to this site? I'm 100% sure that this is caused by another module. Increasing the weight of Hierarchical Select should not be causing those errors. It's been too long since I've been deep into the details of HS, so I can't say it by heart, but if you can give me access to the site, it'll be fixed in no time.

summit’s picture

Hi Wim,

Please PM me what you need for access.
Thanks a lot in advance for going into this!

Greetings,
Martijn

groovypower’s picture

I had selected Configure Hierarchical Select from my Views Edit page at the exposed filter section. The path is admin/build/views/view_name/hs_config/1

My vocabulary I am trying to shhow gives this result from devel:


    *

      Config diagnostics (config id: taxonomy-1): no problems found!

    *

      Calculated hierarchical select selection: Array
      (
      )

    *

      Calculated dropbox selection: Array
      (
          [0] => -1
      )

    *

      Generated hierarchy: stdClass Object
      (
          [lineage] => Array
              (
                  [0] => label_0
              )

          [levels] => Array
              (
                  [0] => Array
                      (
                          [none] => <none>
                          [create_new_item] => <create new item>
                          [48] => academic (2)
                          [99] => Advocacy Types (1)
                          [90] => Body Parts (2)
                          [92] => Client Types (6)
                          [101] => Communication Methods (1)
                          [91] => Disability Types (5)
                          [102] => Facility Types (2)
                          [50] => fashion (1)
                          [96] => Financial (4)
                          [71] => legal (2)
                          [20] => medical (15)
                          [94] => Profession (3)
                          [98] => Religion (1)
                          [97] => Service and Support Agency (4)
                          [58] => special needs (2)
                          [43] => Your future begins right here, right now (1)
                      )

              )

          [childinfo] => Array
              (
                  [0] => Array
                      (
                          [48] => 1
                          [99] => 1
                          [90] => 2
                          [92] => 5
                          [101] => 1
                          [91] => 3
                          [102] => 2
                          [50] => 0
                          [96] => 3
                          [71] => 6
                          [20] => 6
                          [94] => 3
                          [98] => 1
                          [97] => 2
                          [58] => 0
                          [43] => 0
                      )

              )

      )

    *

      Generated dropbox: stdClass Object
      (
          [title] => Current Selected Tags
          [lineages] => Array
              (
              )

          [lineages_selections] => Array
              (
              )

      )

wim leers’s picture

After a chat and a an inspection of the web site, no doubt is left, this is a module that overrides HS's #after_build callback, which sets the form cache, which explains these errors:

warning: Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179. 
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /public_html/includes/form.inc on line 218. 
warning: uasort() [function.uasort]: The argument should be an array in /public_html/includes/common.inc on line 2145. 
warning: Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179. 
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /public_html/includes/form.inc on line 218. 
warning: uasort() [function.uasort]: The argument should be an array in /public_html/includes/common.inc on line 2145.

And these errors make it impossible for HS to function correctly.

So it'll be up to you to track down that module…

groovypower: it seems your cause is different, since you're not getting any errors. Do you have many modules installed? It'd be great if you could reproduce it on a fresh Drupal install and then post the steps.

groovypower’s picture

Hi Wim,

I did a fresh install that still has the issue. Besides default, I only installed the Views module and HS. I created a taxonomy tags with a hierarchy and 3 pages with random tags. I then installed the views module (Views and Views UI) and created the resource page. The view worked fine. I then installed the HS module (JQuery Update, HS, HS Select Flat List, HS Taxonomy, and HS Taxonomy Views), and the widget is gone. Versions are Drupal 5.9 core and Views/HS from cvs as of 8/6 at about 4:00 pm PST.

Jeff aka groovypower

P.S. I can pm you with admin privileges if you need.

wim leers’s picture

Please send me the admin priviliges then!

summit’s picture

I deleted almost all my modules and left over with:
Global Redirect 5.x-1.3-1
Hierarchical Select 5.x-3.0-rc2
jQuery Update 5.x-2.x-dev (2008-Aug-02)
Path Redirect 5.x-1.2
Pathauto 5.x-2.3
Poormanscron 5.x-1.1
Secure Site 5.x-1.2
Token 5.x-1.11
Update Status 5.x-2.2

but still the misterious errors occur and HS not working. Any one else has same experience as I with the errors:

    * warning: Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179.
    * warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /public_html/includes/form.inc on line 218.
    * warning: uasort() [function.uasort]: The argument should be an array in /public_html/includes/common.inc on line 2145.
    * warning: Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179.
    * warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /public_html/includes/form.inc on line 218.
    * warning: uasort() [function.uasort]: The argument should be an array in /public_html/includes/common.inc on line 2145.

Greetings,
Martijn

wim leers’s picture

Try disabling Secure Site, then Global Redirect, then Path Redirect. I think it's one of those.

summit’s picture

Hi Wim,

Did this, still no correct working HS and still error messages.
Sorry to report this.

greetings,
Martijn

nimek’s picture

Version: 5.x-3.x-dev » 5.x-3.0-rc2

I have a solution :)

You must download and install module weight module and set Hierarchical Select weigth to 10
and Hierarchical Select Taxonomy weight to 9.

Save settings and it works perfectly :)

Best regards for everyone who makes drupal so powerful :)

summit’s picture

Hi Nimek,

I confirm this is working!
May the problem in by situation was that HS Taxonomy had a weight of 10 and HS had a weight of 0.
So HS needs to have a higher weight than taxonomy to just show.
And HS needs to have a higher weight than HS Taxonomy to work! otherwise errors with Missing argument 1 for drupal_retrieve_form() in /public_html/includes/form.inc on line 179 etc..

Great you posted your solution Nimek!
greetings,
Martijn

wim leers’s picture

Title: Hierarchical Select not showing (module conflict, but which one?) » Status report check: Hierarchical Select must have a higher weight than the Hierarchical Select implementations
Category: support » task
Status: Postponed (maintainer needs more info) » Active

Hm, that's very odd. HS Taxonomy can never have a weight of 10 by default. By default it gets 0, and HS gets 1. But I'll add a check for this to hook_requirements().

Thanks nimek! :)

Tpainton-1’s picture

Yesseri, that fixed the problem! And no need to give out the ol' admin password either ;)

summit’s picture

Hi Wim,
I set the weight of 10 myself, higher than 1 was necessary to show the HS widget.
To get rid of the errors I needed to set the HS taxonomy to 9 as greatly told by Nimek.

So I think HS needs to have a higher weight than almost all other modules, and HS taxonomy needs to have a weight of 1 smaller to work correctly, right?

Greetings,
Martijn

wim leers’s picture

Higher than 1 is *not* necessary. Maybe if you're using it with some other module that requires it, but not with a default Drupal install.

summit’s picture

Status: Closed (fixed) » Active

Hi Wim,

I think the module is working now also fine on my other site www.trekking-world.com. Thanks a lot for really a great enhancement to drupal input!
But the module HS and module HS taxonomy weights is a delicate matter.
Because also other modules are installed, the HS didn't work on HS 1 and HS taxonomy 0 on www.trekking-world.com als HS 10 and HS Taxonomy 9 didn't work.
After playing around this day I noticed I need to set HS to 2 and HS taxonomy to 1, then it works.

Is it possible to have HS working without needing to have right module-weights?
The errors: Missing argument 1 for drupal_retrieve_form(), uasort() [function.uasort]: The argument should be an array and call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback
are I think related to the weight issue. Without setting the weights ok, these errors occur and the HS widget is not working ok.

EDIT: With placing HS module in sites/all/modules the problem doesn't occur.

Greetings,
Martijn

wim leers’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

quioxte’s picture

Status: Active » Closed (fixed)

worked for me too

iLikeSunshine’s picture

Version: 5.x-3.0-rc2 » 5.x-3.0-rc3

Worked for me as well.