HS doesn't work with clean URLs off
dopedwizard - October 15, 2009 - 23:01
| Project: | Hierarchical Select |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Wim Leers |
| Status: | closed |
Jump to:
Description
Status in log file checked: Hierarchical Select All updates installed. Implementation modules are installed correctly.
Whenever we try to add a new Taxonomy term and than try to assign it to a parent term we get the error 'Received an invalid response from server.'
When using terms that were assigned previously we also get this error message after selecting the parrent term in a cck field.
We searched quiet a bit but could not come across anyone else having this issue.
rgds
dopedwizard

#1
There must be something causing this problem other than HS, since HS works fine for thousands of people. Most likely, it's a module that's conflicting. Before continuing, please try to reproduce it on a vanilla Drupal install. If you can't, it's a conflicting module. Then I'm afraid you will have to track down which module is causing it. Without posting steps to reproduce, there's nothing I can do!
#2
Just installed a vanilla install on a different server and I have the exact same issue
Drupal 6.14
Clean urls are off
nothing installed except hierachical select into
/sites/all/modules
everything acitvated except for the two unsupported features and the the once related to cck and views as they are not isntalled.
After adding a term and than adding vocabulary it is ok, but if I than want to assign a parent to the vocabulary I get teh same error ass above.
Sample:
City <- adding vocab city (works)
adding term Toronto to city works
Now I want to add the term 5th AVe. to toronto and when selecting toronto as the parrent I get the above stated error message as said I have installed drupal on two different servers and on both I gethte same issue.
rgds
wiz
#3
Could you please make a screencast that:
1) shows the configuration of your site
2) shows the problem
That makes it easier for me to reproduce the problem. Thanks!
P.S.: you can use this free application: http://jingproject.com/
#4
Hi,
ok solved ... it did have to have clean urls activated to work, did not know this, did not read it anywhere else as well. Is this a mandatory setting for the module to work?
rgds
wiz
#5
It should not be mandatory. Considering that adding a city works for you, but then adding another term fails, excludes that from being the cause.
#6
Mh nope seems to be mandatory, not that it bothers me, but as soon as i turn off clean urls on any of the two installations it fails again.
#7
Ok, weird. I'll remember this, but I think it's an isolated case.
#8
Ok well just to let you know have tried it now with a local install, and had the same issue. So this was now on two shared hostes and one local install.
rgds
wiz
#9
Getting this too. Also clean urls off.
#10
Hi,
I had the same problem but only for administrator users.
After many tests, I think it was due to a conflict with the module Administration menu.
Indeed, with that module disabled now I don't have that error anymore.
#12
Updating to mirror new information.
Anybody who's got the time to investigate which one it is? (Or maybe even both.)
#13
I vote for clean urls, turned it on and it works. Didn't have administration menu.
#14
So... I have both Clean URLS *and* Administration menu enabled, and I'm getting this error when trying to preview an exposed HS filter in views. Haven't tested it outside of the views panel, however I figured I'd try and be helpful and post some response code from firebug:
I know it's a little specific toward views, but I thought it might help those who are smarter than I :)
#15
(Adding 'off' to the title to indicate the issue is when clean urls is off to avoid the brief bit of worry I at least had thinking it was buggy with them on. Sorry no time to try and tackle this)
#16
I think you can remove Admin menu from the title, I still have the problem whith that module disabled, sorry for the mistake.
I can't identify why the error happens for now.
When selecting the parent term in node form, sometimes it works well the first time but it fails when doing it immediatly after the second time.
Errors messages are :
'Received an invalid response from the server'
in Firebug : drupal/hierarchical_select_json? 500 Internal server Error
on the page :
* warning: Missing argument 2 for drupal_retrieve_form() in drupal/includes/form.inc on line 325.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in drupal/includes/form.inc on line 371.
* warning: uasort() [function.uasort]: The argument should be an array in drupal/includes/common.inc on line 2875.
I need to do other tests.
#17
Yep, reproduced, in both D5 and D6.
@hefox: thanks for the fixed title :P :)
#18
Fixed! This was a regression caused by #535274: HS does not maintain GET arguments.
- D6: http://drupal.org/cvs?commit=281706
- D5: http://drupal.org/cvs?commit=281708
#19
Automatically closed -- issue fixed for 2 weeks with no activity.