Closed (fixed)
Project:
Taxonomy Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2008 at 02:35 UTC
Updated:
27 Aug 2009 at 23:08 UTC
When using PHP Version 4.4.7, after installing and enabling this module I started getting the following error on every page of my site:
"Parse error: syntax error, unexpected '&', expecting T_VARIABLE"
After searching I found some suggestions that PHP5 may solve the issue. Once I upgraded to PHP5 the error went away.
Comments
Comment #1
styro commentedDid it say what line of which file the error occurred? (I don't have easy access to PHP 4.4)
Comment #2
jlevis commentedI'm really sorry... I forgot to note the whole error... and since the upgrade fixed the problem I can't reproduce it anymore either!
Again, very sorry.
J
Comment #3
styro commentedComment #4
batpurev commentedthis error came up on php 4.4.7 install
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /domains/39862/web/info/sites/all/modules/filefield_paths/filefield_paths.module on line 101
there is another site with this error came up by Google search URL is: http://www.node.sk/ (Note that the maintainer of this site might have already solved this problem at the time you read this post!)
Comment #5
batpurev commentedhi all,
this problem is due to requirements of FileField_Path (http://drupal.org/project/filefield_paths) and FileField (http://drupal.org/project/filefield) modules. FileField requires PHP 5 to run and FileField_Path is supporting module for FileField so the error occurs.
Comment #6
styro commented