When i click on the administraton menu.... i get a page with this error.

Parse error: syntax error, unexpected '=', expecting ')' in /mounted-storage/home16b/sub003/sc19303-FLSR/www/home/modules/nodeprofile/usernode.module on line 262

I dont know what the problem with that particular code is... im not familiar enough with php.

Buut heres the line its referring to: function is_usernode(&$node, &$account = NULL) {

Comments

fago’s picture

ah thanks.

probably a php compability issue - are you using php4?
I only tested it with php5.

however, could you try removing the & before $account?
thanks

ckeo’s picture

my ISP says they run PHP v4.4.1 & PHP v5.1.1 so.... im guessing it defaults to the higher one.

ckeo’s picture

ok... i removed the & symbol and its working now.

Thanks
Craig

ckeo’s picture

Status: Active » Closed (fixed)
fago’s picture

Status: Closed (fixed) » Fixed

I've just committed this fix.. thanks

Anonymous’s picture

Status: Fixed » Closed (fixed)