Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
We setup a Silverstripe site 6 months ago and it had been working good, thanks. Now, without any changes the site is unavailable and displays the following message:
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/site/public_html/sapphire/core/ManifestBuilder.php on line 18
The site is using PHP 4.4.7. Searching the forum I see comments about PHP5.2. We installed on 4.4.7 and haven't changed the server or Silverstripe install. How can we get it working again...?
Already present in .htaccess
AddHandler application/x-httpd-php5 .php
So, you must have php5 too, because SS doesn't work in php4 at all AFAIK.
(You're using AddHandler application/x-httpd-php5 .php to switch on PHP5).
I don't think I'm of any use for your specific problem, but it might be useful to mention your SS-version here.
Took a look at my ManifestBuilder.php file (latest version) and I'm not having anything on line 18 at all.
I would also recommend that you'd upgrade if your SS installation is 6 months old. There have been tons of improvements now.