3991 Posts in 1039 Topics by 1213 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
| Go to End | Next > | |
| Author | Topic: | 5293 Views |
-
2.3.1 install file broken

21 March 2009 at 12:24pm Last edited: 26 March 2009 12:57am
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
nowline 62 & 63
<li>........checked="checked"<?}?> ><label for="EmptyTemplate">..........</li>
becomes:
<li>........checked="checked"<?php } ?> ><label for="EmptyTemplate">..........</li>
-
Re: 2.3.1 install file broken

23 March 2009 at 12:02pm
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. -
Re: 2.3.1 install file broken

23 March 2009 at 12:12pm
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 -
Re: 2.3.1 install file broken

23 March 2009 at 2:21pm
Small correction:
file location is:
sapphire\dev\install
cheers Dave
-
Re: 2.3.1 install file broken

25 March 2009 at 8:52am
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!
-
Re: 2.3.1 install file broken

26 March 2009 at 12:56am
thanks for the correction daveP, added to my original post
-
Re: 2.3.1 install file broken

30 March 2009 at 5:12am
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 threadplease advice
thank you
azul -
Re: 2.3.1 install file broken

30 March 2009 at 6:18am
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
| 5293 Views | ||
| Go to Top | Next > |




