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.

CommentFileSizeAuthor
views.help_.ini_.patch384 bytesdonquixote
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

donquixote’s picture

It's line 166, of course, not 174.

thekevinday’s picture

It 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.

merlinofchaos’s picture

Status: Active » Needs review

Setting appropriate status.

wicketywick’s picture

Title: views.help.ini causes a parsing error. » views.help.ini causes a parsing error / how do I enclose the string in line 166
donquixote’s picture

Title: views.help.ini causes a parsing error / how do I enclose the string in line 166 » views.help.ini causes a parsing error (missing quotes)

(change the title back to something meaningful)

drasgardian’s picture

Confirming that this turned up when I upgraded to php 5.3 and the described solution fixed it for me.

dawehner’s picture

Issue tags: +PHP 5.3

Add Tag

fpdiver’s picture

subscribe

Also confirming solution fixed it for me

harshit.chandel’s picture

Great job
It Works...Thanks a lot!!!

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

based on prior reports. we are using this at economist as well.

kdhartstrom’s picture

The fix worked for me as well. Another php 5.3 thing I guess.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches.

Kurt_Danko’s picture

Hi 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?

merlinofchaos’s picture

Just 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.

mivtech’s picture

Thanks. It works! great

Status: Fixed » Closed (fixed)
Issue tags: -PHP 5.3

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