Closed (fixed)
Project:
Taxonomy Lineage
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Jul 2010 at 20:49 UTC
Updated:
19 Aug 2010 at 01:10 UTC
Jump to comment: Most recent file
When viewing a view, using either previous dev build or latest dev build:
Parse error: syntax error, unexpected T_STRING, expecting ']' in /.../drupal-6.17/sites/all/modules/lineage/views_plugin_style_lineage_nested.inc(229) : eval()'d code on line 1
This error does not appear in watchdog. Probably related to something that has changed with the most recent version of views. Note that the view itself seems to be nesting properly, at least.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | lineage_866552.patch | 830 bytes | xjm |
Comments
Comment #1
xjmThis is related to an apostrophe in the term name (because of the use of
eval()). Patching shortly.Comment #2
xjmAttached patch resolves the issue.
Comment #3
xjmFix committed to -dev:
http://drupal.org/cvs?commit=398614
Comment #4
stinky commentedEven after installing the newest dev version, I'm getting following error msg. in views:
"Parse error: syntax error, unexpected T_STRING, expecting ']' in .../modules/lineage/views_plugin_style_lineage_nested.inc(229) : eval()'d code on line 1"
Comment #5
xjm#4, can you just confirm quickly for me that your copy of
views_plugin_style_lineage_nested.inccontains the functionaddslashes()on line 229? If it does, can you try to figure out which term is giving the error and post the term name?(I really should just refactor it not to use eval...)
Comment #6
stinky commentedAh... I didn't realize this was just a patch. I had downloaded 6.x-1.x-dev from the project page, http://ftp.drupal.org/files/projects/lineage-6.x-1.x-dev.tar.gz
but I just now went to http://drupal.org/cvs?commit=398614 and ran the patch. It works great! Thanks so much.
Comment #7
xjmGood to hear. The dev builds of modules include patches after they've been committed, but there is a delay of 12-24h most of the time before the dev build gets rebuilt by the packaging script.