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

ruralrooster’s picture

Make sure your server is running php5 not php4

jiem’s picture

I'm facing the same trouble with PHP 4.4.9.
If we actually need PHP 5.x to run DP6, so the page http://drupal.org/requirements should not say that PHP 4.4.0 is OK anymore.