On 13/08/10 08:06, Natasha Brown wrote:
I can not run update.php, I did it php5 update.php as
well. It gives me :
"parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in
.../w/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line
221"
Line221: "function smwfEncodeMessages( array
$messages, $icon = 'warning',
$seperator = ' <!--br-->' ) {
Array type hinting is supported in PHP 5.1+. You say you have 5.2.9
but you probably don't, you probably have 5.0. The version you see on
the command line doesn't have to be the same as the one it uses for
the web.
-- Tim Starling