Closed (fixed)
Project:
Hierarchical Select
Version:
5.x-3.0-rc3
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
30 Jun 2008 at 13:01 UTC
Updated:
27 Sep 2008 at 22:42 UTC
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
Comment #1
summit commentedAnd the content_taxonomy fields with the HS widget give blank pages...
greetings,
Martijn
Comment #2
a.siebel commentedsubscribe - 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
Comment #3
wim leersYou 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.
Comment #4
wim leersAlso: you have to enable a separate module now for Taxonomy support ;)
Comment #5
summit commentedI 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:
Thanks for going into this again!
greetings,
Martijn
Comment #6
wim leersIs hs_taxonomy dependent on hs_taxonomy_subscriptions? That's a bug then!
EDIT: it's not:
dependencies = hierarchical_select taxonomyBut hs_taxonomy_subscriptions does depend on hs_taxonomy.
Comment #7
summit commentedHi 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
Comment #8
wim leersSo 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.
Comment #9
a.siebel commentedI 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.
Comment #10
wim leers"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)!
Comment #11
a.siebel commented>"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
Comment #12
wim leersYou 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?
Comment #13
a.siebel commentedI 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.
Comment #14
wim leersOh, 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.
Comment #15
Eugene Fidelin commented+ 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
Comment #16
wim leersEugef: 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....
Comment #17
wim leersComment #18
Eugene Fidelin commentedWim Leers: Yes - i have the latest version of hs_taxonomy.module file but HS didn't shown when editing node with taxonomy
Comment #19
Eugene Fidelin commentedI 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
Comment #20
Eugene Fidelin commentedDear 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!
Comment #21
Eugene Fidelin commentedDear 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!
Comment #22
summit commentedHi 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:
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
Comment #23
wim leersEugef: 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 = 'taxonomySummit: same question for you.
Comment #24
summit commentedHi 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
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
Problem I have now:
The following error messages are also reported:
My normal HS taxonomy settings are:
Sorry for my errorreport Wim.
Greetings,
Martijn
Comment #25
wim leersPlease 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);Comment #26
groovypower commentedI 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.
Comment #27
summit commentedHi 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.
And after refreshing (F5) I got:
With the following error-messages:
EDIT: 7 august tarball giving still same situation.
Error console on FF gives:
Hope all this information helps Wim!
greetings,
Martijn
Comment #28
groovypower commentedThe only error I am getting is in the hierarchical select configuration page
Comment #29
wim leersgroovypower: 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.
Comment #30
summit commentedHi Wim,
Please PM me what you need for access.
Thanks a lot in advance for going into this!
Greetings,
Martijn
Comment #31
groovypower commentedI 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:
Comment #32
wim leersAfter a chat and a an inspection of the web site, no doubt is left, this is a module that overrides HS's
#after_buildcallback, which sets the form cache, which explains these errors: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.
Comment #33
groovypower commentedHi 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.
Comment #34
wim leersPlease send me the admin priviliges then!
Comment #35
summit commentedI 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:
Greetings,
Martijn
Comment #36
wim leersTry disabling Secure Site, then Global Redirect, then Path Redirect. I think it's one of those.
Comment #37
summit commentedHi Wim,
Did this, still no correct working HS and still error messages.
Sorry to report this.
greetings,
Martijn
Comment #38
nimek commentedI 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 :)
Comment #39
summit commentedHi 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
Comment #40
wim leersHm, 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! :)
Comment #41
Tpainton-1 commentedYesseri, that fixed the problem! And no need to give out the ol' admin password either ;)
Comment #42
summit commentedHi 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
Comment #43
wim leersHigher 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.
Comment #44
summit commentedHi 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
Comment #45
wim leersComment #46
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #47
quioxte commentedworked for me too
Comment #48
iLikeSunshine commentedWorked for me as well.