Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » T_VAR or } ManifestBuilder.php on line 18

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1078 Views
  • mpmx
    Avatar
    Community Member
    1 Post

    T_VAR or } ManifestBuilder.php on line 18 Link to this post

    Hi,

    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

    Thanks

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: T_VAR or } ManifestBuilder.php on line 18 Link to this post

    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.

    1078 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.