Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Error Message

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: 1247 Views
  • alchimie
    Avatar
    Community Member
    2 Posts

    Error Message Link to this post

    Hi there,

    When I go to install the CMS I get the below message.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /data/members/paid/a/l/alchimie-prades.fr/htdocs/www/install.php on line 518

    Is there anything I can do to fix this?

    Rich

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Error Message Link to this post

    What version of PHP does your host have? SilverStripe will only work on PHP 5, it doesn't work on 4.

  • alchimie
    Avatar
    Community Member
    2 Posts

    Re: Error Message Link to this post

    I think I solved this issue with the help of a previous forum post - I put the below code into my htaccess file, and it was all good.

    AddType x-mapp-php5 .php
    AddHandler application/x-httpd-php5 .php

    Cheers dude,

    Rich

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