By shaunpv on
I have installed Drupal many many times and have never had this error: after I put in the Database info and it starts to install i get Parse error: syntax error, unexpected T_VARIABLE in /home/bevintel/public_html/dev/modules/taxonomy/taxonomy.module on line 891
on line 891 there is
$term = $terms[$vid][$child];
if (count($parents[$vid][$term->tid]) > 1) {
// We have a term with multi parents here. Clone the term,
// so that the depth attribute remains correct.
this is line 891 -> $term = clone $term;
}if i comment it out, site goes to the login screen but it never lt me create the admin login info at the install any ideas?
Comments
Solution for PHP4
More info here.
Change line 891 to
$term = drupal_clone($term);