ihave activae pageroute and nodeprofile but ...
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home.10/arrimage/www/drupal5/sites/all/modules/nf_handshake/nf_handshake.module on line 1208

Comments

rconstantine’s picture

Thanks for checking this out. I figured there might be errors (maybe dependencies?) that I missed which is why I gave this a 0.9 version number.

Anyway, let me see...

line 1208...

Um, are you using PHP 4.x? Perhaps it doesn't like how I'm using objects in that line.

If you are, a workaround would be to change line 1208 to:
$iusername = db_fetch_object(db_query("SELECT name FROM {users} WHERE uid = %d", $result->iuid));
and line 1209 to:
$ausername = db_fetch_object(db_query("SELECT name FROM {users} WHERE uid = %d", $result->auid));
and lastly, line 1211 to:
$rows[] = array(array('data' => $iusername->name), array('data' => $ausername->name),

Let me know if that does it for you. I didn't even think about PHP4. I'll be glad when Drupal goes to all PHP5 in February!!!

rconstantine’s picture

Assigned: Unassigned » rconstantine
Status: Active » Fixed

Unless phildu has something to say, this is fixed. Will upload soon.

Anonymous’s picture

Status: Fixed » Closed (fixed)