Hİ,
drupal 7 with hieararchical select 7.x-3.x-dev (23 feb) i got the error message below (completely white screen)

Parse error: syntax error, unexpected '{' in
...modules\hierarchical_select\hierarchical_select.module on line 1644

CommentFileSizeAuthor
#7 hs-1071484.patch810 bytesxjm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ccheu’s picture

Status: Active » Needs review

Just a parenthesis pairing issue. Go to your hierarchical_select.module and edit line 1644.

Original code:
if (($first_case || $second_case || $third_case) && (isset($special_items) && !count($special_items['none'])) {

Change to:
if (($first_case || $second_case || $third_case) && (isset($special_items) && !count($special_items['none']))) {

yourrfriend’s picture

It works.
Thanks

ccheu’s picture

Status: Needs review » Closed (fixed)

You're welcome. :)

Wim Leers’s picture

Status: Closed (fixed) » Reviewed & tested by the community

This has not yet been committed. Hence it's not yet fixed.

ccheu’s picture

OK Wim, just found out the rules about changing the status. I will not mess with the status then. :)

Jerome F’s picture

I can confirm this fix works

xjm’s picture

FileSize
810 bytes

Patch implementing this fix attached.

Wim Leers’s picture

Title: Parse error: syntax error, unexpected '{' in » Syntax error
Assigned: Unassigned » Wim Leers
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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