4575 Posts in 1387 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1167 Views |
-
Install problems

20 July 2010 at 1:27am
When I try to install SilverStrpe I get this message "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in /kunden/159279_97618/webseiten/micro/sapphire/core/SSViewer.php on line 304" and inststallation stops...
I'm using Silverstripe version 2.4
-
Re: Install problems

20 July 2010 at 9:14am
Hi there, which server setup are you using including PHP
version? -
Re: Install problems

9 September 2010 at 8:58am Last edited: 9 September 2010 9:20am
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: offError message:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in sapphire/core/SSViewer.php on line 321What 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)
-
Re: Install problems

24 September 2010 at 5:57am Last edited: 24 September 2010 5:58am
Among others, this bug is fixed in SilverStripe v2.4.2
| 1167 Views | ||
|
Page:
1
|
Go to Top |



