17452 Posts in 4473 Topics by 1971 members
|Go to End|
22 January 2008 at 12:16am
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
22 January 2008 at 4:11am
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.
|Go to Top|