Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » SS installation worked for 3 months - now php error

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: 800 Views
  • michaelhmm
    Avatar
    Community Member
    23 Posts

    SS installation worked for 3 months - now php error Link to this post

    Our Silverstripe installation has stopped working after 3 months of being ok with the following error

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/makin26/public_html/silverstripe/sapphire/core/ManifestBuilder.php on line 35

    having looked in the forums this error has occurred on installation sometimes and once to someone who had a site working for 6months but there is no instructions on how to solve the problem

    php 5 is installed on the server so this isn't the problem

  • michaelhmm
    Avatar
    Community Member
    23 Posts

    Re: SS installation worked for 3 months - now php error Link to this post

    I solved this with help from SS IRC

    my webhost had turned off php5 but it still showed as enabled in the hosting control panel.

    I checked the running version of php by placing a file calling phpinfo() into the root folder.

    This showed that, somehow, the version of php had changed to 4.4.9 yet the control panel still showed php5 enabled?!

    Resetting php5 in the control panel got the site going again

    800 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.