Hi Everybody,

I am doing a installation on the latest and greatest version 1.8 . I installed and tested on my localhost ( Ubuntu ) and all went well, and tested out great !!

Now I am trying get the installation done on the Live website but am getting : Parse error: syntax error, unexpected T_FUNCTION in ..... (string to the includes folder) ....../include/class.format.php on line 218 during the ..... /Setup/install.php/ stage

The live website :

PHP Version: 5.2.17 (Zend: 2.2.0)

cURL support

enabled

It also has a "https" certificate

This seems to be the code:

// Make showing offsite images optional

$text = preg_replace_callback('//',

function($match) { ... .... ... .... .... .... ... .... .... ... ... ... .... ... .... ... ... ... ( Line 218 )

// Drop embedded classes -- they don't refer to ours

$match = preg_replace('/class="*"/', '', $match);

return sprintf('',

$match, $match, $match);

},

$text);

if ($inline_images)

return self:($text);

return $text;

}

Anybody got any Ideas ??

Andy

Write a Reply...