Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get the following error message (with 6.x-2.6)
warning: parse error, expecting `TC_DOLLAR_CURLY' or `TC_QUOTED_STRING' or `'\"'' in ./sites/all/modules/contrib/views/help/views.help.ini on line 190 in [..]\sites\all\modules\contrib\advanced_help\advanced_help.module on line 667.
Solution is to enclose the string in line 174 of views.help.ini in double quotes.
Comment | File | Size | Author |
---|---|---|---|
views.help_.ini_.patch | 384 bytes | donquixote | |
Comments
Comment #1
donquixote CreditAttribution: donquixote commentedIt's line 166, of course, not 174.
Comment #2
thekevinday CreditAttribution: thekevinday commentedIt is interesting that this problem was only detected with php-5.3.
Nevertheless, it seems to be an obvious syntax error.
If this helps get this bug fixed any sooner, I am confirming the problem exists and the solution works properly.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedSetting appropriate status.
Comment #4
wicketywick CreditAttribution: wicketywick commentedComment #5
donquixote CreditAttribution: donquixote commented(change the title back to something meaningful)
Comment #6
drasgardian CreditAttribution: drasgardian commentedConfirming that this turned up when I upgraded to php 5.3 and the described solution fixed it for me.
Comment #7
dawehnerAdd Tag
Comment #8
fpdiver CreditAttribution: fpdiver commentedsubscribe
Also confirming solution fixed it for me
Comment #9
harshit.chandel CreditAttribution: harshit.chandel commentedGreat job
It Works...Thanks a lot!!!
Comment #10
moshe weitzman CreditAttribution: moshe weitzman commentedbased on prior reports. we are using this at economist as well.
Comment #11
kdhartstrom CreditAttribution: kdhartstrom commentedThe fix worked for me as well. Another php 5.3 thing I guess.
Comment #12
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted to all branches.
Comment #13
Kurt_Danko CreditAttribution: Kurt_Danko commentedHi everyone!
Completely new to this but I've been following Tom Geller's guide to learning Drupal and finally hit the error that's been discussed in this topic.
I'm embarrassed to say that despite the solution being in front of me I'm not sure what to do with it. Would someone mind explaining the steps to correcting the error?
Comment #14
merlinofchaos CreditAttribution: merlinofchaos commentedJust download the -dev version. If you like you can *just* take the views.help.ini out of the -dev version and use it, which will fix the problem.
Comment #15
mivtech CreditAttribution: mivtech commentedThanks. It works! great