Jump to:

4875 Posts in 7042 Topics by 1472 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » 2.3.1 install file broken

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1 2 3
Go to End
Author Topic: 5974 Views
  • Aram
    Avatar
    Community Member
    598 Posts

    2.3.1 install file broken Link to this post

    Just tried to install 2.3.1 and it looks like the sapphire/dev/install/config-form.html is missing some php start tags. I made the following fixes and it works
    now

    line 62 & 63

    <li>........checked="checked"<?}?> ><label for="EmptyTemplate">..........</li>

    becomes:

    <li>........checked="checked"<?php } ?> ><label for="EmptyTemplate">..........</li>

  • Bruce B
    Avatar
    Community Member
    145 Posts

    Re: 2.3.1 install file broken Link to this post

    Aram,
    thanks for this post. This error happened after 2.3.1 rc2. On my version it was lines 58 and 59 that both needed the change.

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: 2.3.1 install file broken Link to this post

    Hi all,

    This will only cause an error if short_open_tags is set to off, which is how it slipped through the cracks. We have since added automated tests that will attempt to parse the files with short_open_tags both off and on, which will stop this error from getting into a release in the future.

    The fix will be released in 2.3.2; in the meantime everyone suffering from this problem should use Aram's fix.

    Thanks,
    Sam

  • DaveP
    Avatar
    Community Member
    48 Posts

    Re: 2.3.1 install file broken Link to this post

    Small correction:

    file location is:

    sapphire\dev\install

    cheers Dave

  • Scout
    Avatar
    Community Member
    1 Post

    Re: 2.3.1 install file broken Link to this post

    Thanks Aram, I've never setup a SS site before so to find a problem in the install file didn't fill me with a lot of confidence from the get go.
    Also, Thanks Sam for explaining the problem and putting it into context.

    I was worried for a second there that I was going to have as much trouble as I did setting up a typo3 site!

    Sound like this is a great support forum already!

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: 2.3.1 install file broken Link to this post

    thanks for the correction daveP, added to my original post

  • azul
    Avatar
    Community Member
    1 Post

    Re: 2.3.1 install file broken Link to this post

    hello and good day

    i have tried instaling but i still get an error
    "
    Parse error: syntax error, unexpected $end in C:\wamp\www\silverstripe\sapphire\dev\install\config-form.html on line 178
    "

    do you have the good source cose for this fils
    {tried changing as stated in this thread

    please advice
    thank you
    azul

    Attached Files
  • Aram
    Avatar
    Community Member
    598 Posts

    Re: 2.3.1 install file broken Link to this post

    Hi Azul

    Make sure you have changed both lines and that there are spaces inbetween the tags and the }. So it should be:

    <?php[space]}[space]?>

    that will work

    5974 Views
Page: 1 2 3
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.