Hi,
I ran into the same issue during installation using a clean Silverstrip 2.4.1 installation package on a Server hosted at Domainfactory.
Some of my settings:
- PHP 5.3.1 (Server API CGI/FastCGI on a Linux OS)
- safe_mode: off, asp_tags: off
Error message:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in sapphire/core/SSViewer.php on line 321
What worked for me:
I wrapped a multiline comment around the single line comments located around code line 321:
// $content = "<!-- getTemplateContent() :: identifier: $identifier -->". $content;
// Adds an i18n namespace to all <% _t(...) %> calls without an existing one
// to avoid confusion when using the include in different contexts.
// Entities without a namespace are deprecated, but widely used.
this code finally worked (think it´s the closing %> in the comment which cause trouble ...
// $content = "<!-- getTemplateContent() :: identifier: $identifier -->". $content;
/*
// Adds an i18n namespace to all <% _t(...) %> calls without an existing one
// to avoid confusion when using the include in different contexts.
// Entities without a namespace are deprecated, but widely used.
*/
If this is really the issue, this should be fixed in SVN as well.
Cheers
P.S.: Forgot to mention that a previous installation on my local Windows 7 (64bit) computer with XAMPP 1.7.3 worked without any issues (works with the original and modified SSViewer.php file)