Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

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

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

2.3.1 install file broken


Go to End
Reply

19 Posts   6240 Views

Avatar
Carbon Crayon

21 March 2009 at 12:24pm (Last edited: 26 March 2009 12:57am), Community Member, 598 Posts

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>

Avatar
Bruce B

23 March 2009 at 12:02pm Community Member, 145 Posts

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.

Avatar
Sam

23 March 2009 at 12:12pm Administrator, 679 Posts

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

Avatar
DaveP

23 March 2009 at 2:21pm Community Member, 48 Posts

Small correction:

file location is:

sapphire\dev\install

cheers Dave

Avatar
Scout

25 March 2009 at 8:52am Community Member, 1 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!

Avatar
Carbon Crayon

26 March 2009 at 12:56am Community Member, 598 Posts

thanks for the correction daveP, added to my original post :)

Avatar
azul

30 March 2009 at 5:12am Community Member, 1 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
Avatar
Carbon Crayon

30 March 2009 at 6:18am Community Member, 598 Posts

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 :)

Go to Top