Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The simple hierarchical select widget does not work on a BOA server. The widget displays only an empty field, instead of the option to select or add a term.
I suppose there is some filtering going on somewhere?
Firebug console displays the following:
POST http://example.com/js/shs/json 404 Not Found 16ms
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
I believe this used to work before. Anyway, filing as feature request.
Comments
Comment #1
omega8cc CreditAttribution: omega8cc commentedYou should also install https://drupal.org/project/js and add required
js.php
file in the platform root. See also: #1876418: Support for High performance JS Script callbackhandlerWe could probably add https://drupal.org/project/js to the contrib by default to make it easier.
Comment #2
ethnovode CreditAttribution: ethnovode commentedI'm using latest dev version of SHS on BOA but did not encounter this problem. (7.x-1.6+24-dev)
Comment #3
ethnovode CreditAttribution: ethnovode commentedComment #4
omega8cc CreditAttribution: omega8cc commentedSince BOA already supports High-performance JavaScript callback handler, it sends all /js requests to /js.php
The SHS module probably used the /js based URI also when High-performance JavaScript callback handler was not installed, so it had to fail. If it is fixed in a recent SHS, then even better, but you may still benefit from adding High-performance JavaScript callback handler.
Comment #5
ar-jan CreditAttribution: ar-jan commentedGreat, the -dev version of shs does indeed work.
Comment #6
ethnovode CreditAttribution: ethnovode commentedI put the js.php file and enabled js module, SHS is still working.
Thanks omega8cc!