Hi everyone,
today I've upgraded my site from 7.20 to 7.21. Before upgrade process SHS was working properly. However, even it's not displayed (both in node creation and exposed view) and populated.

Any ideas?

P.S: The term "Konut" on the screenshots means "Location" and is a taxonomoy term.
Fatih

Comments

Are there any errors (javascript, php-error, watchdog)?
Did you try clearing the cache?

One additionlal question: do you have clean-urls activated?

Assigned:Unassigned» Fatih Omruuzun
Status:Postponed (maintainer needs more info)» Active

Yes clean-urls are enabled, and I tested after clearing the cache. There is no js or php error except following;

Notice: shs_form_taxonomy_overview_terms_submit() (/home/content/81/10495781/html/mysite/sites/all/modules/shs/shs.module dosyasının 705 satırı) içinde Undefined index: #vocabulary.
Notice: shs_form_taxonomy_overview_terms_submit() (/home/content/81/10495781/html/mysite/sites/all/modules/shs/shs.module dosyasının 705 satırı) içinde Trying to get property of non-object.

(The error message received when I tried to sort taxonomy terms alphabetically)

Assigned:Fatih Omruuzun» Unassigned
Status:Active» Postponed (maintainer needs more info)

Could you provide some more information about your configuration? For example javascript-related modules, settings, etc. ...

Assigned:Fatih Omruuzun» Unassigned
Status:Active» Postponed (maintainer needs more info)

Here is the list of my configuration;
Drupal 7.21 running on Godaddy Apache sharing hosting,
CSS and JS compression is not enabled,
Colorbox and JQuery are enabled for picture gallery

that's all...

Do you see the element in the field configuration?

Doy you mean SHS as the field widget? Yes, I see... However, it is not displayed while creating a new node.

I mean in the field configuration of the node type (admin/structure/types/...).

StatusFileSize
new15.06 KB

Yes, it exists on the configuration page;

I have the same issue with no JS and PHP errors

I have the same issue with no JS and PHP errors

A man walks into a service station, says "My car makes some strange noise. Please fix this." and leaves without telling what kind of noise he meant, what type of car he has and even without showing the car to the mechanics.

Please provide as much information as possible to help me reproduce this problem!

Yes, it exists on the configuration page;

I guess this is the widget type selection (if you make screenshots, please switch the page language to english first, to help me understanding the contents).
I meant the field configuration itself where you can enter the field label, make the field required and select a default value. If the widget is visible there, there must be a problem with one of the other fields used in this content type.

Did you try creating a new content type with a widget of type "Simple hierarchical select" only?

StatusFileSize
new157.81 KB
new169.11 KB

I believe I am experiencing the same thing. I'm a Drupal novice, so please guide me if I'm not providing all of the information you need.

Here's exactly what I did and what I'm seeing:
1. Set up a new taxonomy called "cars" with the following terms:

    - nissan
        - sentra (relationships/parent term=nissan)
            - 1992 (relationships/parent term=sentra)
            - 1993 (relationships/parent term=sentra)
    - toyota
        - corolla (relationships/parent term=toyota)
            - 1980 (relationships/parent term=corolla)

2. Added a "term reference" field named "car" to the article content type using widget type "Simple hierarchical select".
3. Select "edit" for the new "car" field and note that the default value section does not have the dropdowns that it used to (see first screenshot attached)
4. On adding new content of type "article", the "car" field also shows up empty without the select boxes that used to show up with simple hierarchical select. (see second screenshot attached).

My environment is:
- wamp server 2.2 on windows 7
- drupal 7.20
- Simple Hierarchical Select 7.x-1.6

-Justin

I have the same issue with no JS and PHP errors

A man walks into a service station, says "My car makes some strange noise. Please fix this." and leaves without telling what kind of noise he meant, what type of car he has and even without showing the car to the mechanics.

If you like car's metaphore:
I'll say it's more like I can't open my windows after the maintenance :-).

Anyway, I just wanted to point the issue and take the time to write a better explanation.

So, I worked on upgrade to Drupal 6 to Drupal 7 and figured out that the better way to have hierarchical select in views is to use your module.
So I reconfigure my field and views to use SHS instead of HS and it worked perfectly when I was on Drupal 7.19. then i upgraded to 7.21 and it didn't work anymore. The "Default value" in the field setting and the exposed filter are empty

I checked for JS errors since I use Jquery update (1.7 version) but nothing.
I checked for PHP errors in my log but nothing regarding SHS.

I'll look at the changelog for Drupal 7.20 to see if I can find something

So I re-installed my entire drupal stack with all the same versions of everything including drupal 7.21 and shs 7.x-1.6 and the issue is gone. Not sure what the story is here; I still have one local setup that exhibits this behavior. Devs, let me know if there's anything I can harvest for you from that installation. I'll keep it around for a little while.

the same issue here.

Not sure, when exactly it stopped to work - after upgrade of Drupal, or of SHS itself. Still, the same state as on screenshot of first post - well, in fact there is NO shs-working field at all. On the field level everything is fine.

I have the following error: page not found js/shs/json

I've installed js module and cleared cache - did not worked.

Hummm I had the exact same error "NetworkError: 404 Not Found - http://dev.cd.v3.loc/js/shs/json". No fields were displayed.

The latest dev fixed the issue at first: the fields were displayed, but now I can't create/save any new terms: I get the "NetworkError: 404 Not Found - http://dev.cd.v3.loc/js/shs/json" in the console when the save button/link is clicked.

Version:7.x-1.6» 7.x-1.x-dev
Status:Postponed (maintainer needs more info)» Needs review
StatusFileSize
new422 bytes

OK looking at the commit #8c89ca1 Fix error in SHS on sites with no clean urls., the problem was because only one out of the 2 Drupal.settings.basePath has been changed to ?q=js/shs/json. I'm not sure this is only for sites with no clean urls, as I do have clean urls enabled but maybe this is because I'm on an nginx box... Anyway patch attached.

Hi. I have a same problem. I used this module like #12. And when i console in firebug i see it

POST http://www.mysite/js/shs/json    500 Internal Server Error    469ms

I apply patch #17 but didn't work SHS.
I use nginx on plesk 11

Drupalion,

This patch is against the dev branch that already had a partial fix for this issue, could you confirm that you are using dev? Also don't forget to clear you cache..

Thanks. Fix with latest shs-dev

Its not working for me.. im using dev version + drupal 7.21

Having around 8 term reference field.. some loaded.. some not..

Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://example.com?q=js/shs/json

Status:Needs review» Reviewed & tested by the community

Hi.
Sorry for the late response but I have been off for a while.

To summarize: it seems the main problem has been an old commit with that I tried to fix a problem with non-clean URLs. The current development version includes the fix from jibize (sorry, I didn't mention you in the commit :( ) so the error should be gone now.
Could all of you download the latest development version and test if its working now?

Status:Reviewed & tested by the community» Fixed

Well, I guess this is fixed now. The main error I see here was "page not found: js/shs/json" which is fixed now. We tested the update on an old site (<7.20) and got no further errors.

Feel free to reopen the issue if the error still exists for you with the latest development version.

Category:support» bug
Status:Fixed» Active

No worries for the commit... ;-)

Sorry to reopen this but it looks like the changes didn't make it to 7.x-1.6, as

url: Drupal.settings.basePath + 'js/shs/json',

is back to the latest stable release. As mentioned in the previous post it looks like this break the widget on nginx box, Reverting it back to

url: Drupal.settings.basePath + '?q=js/shs/json',

Fixed the problem...

Status:Active» Fixed

This is fixed in the latest development version and cannot be fixed in version 7.x-1.6 since 7.x-1.6 was released in March and this error has been fixed after that.

@stBorchert,

Ouhaaa I guess I need to leave my computer alone and get some sleep now!! Sorry about this...

Of course everything is working fine now, thank you!

Status:Fixed» Closed (fixed)

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

I have spent half a day trying to fix this( drupal 7.22), thought it was my fault, finally the dev version fixed my problem. please add a notice about this issue if possible, as many users may have the same problem.
Thanks for the developer, this module saved me.

Issue summary:View changes

Wasnt able to see it populate in the form .... but https://drupal.org/comment/7408178#comment-7408178 fixed this for me.

Cheers