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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

Trying to install for first time


Go to End


3 Posts   2398 Views

Avatar
lpjr86

Community Member, 2 Posts

7 January 2016 at 12:31am

Hi,

I'm tryng to install Siverstripe for the first time and am following the video tutorial. I am encountering this error when installing SilverStripe:

573 $newTable = false;
574
575 // backwards compatibility patch for pre 2.4 requireField() calls
576 $spec_orig = $spec;
577
578 if (!is_string($spec)) {
579 $spec['parts']['name'] = $field;
580 $spec_orig['parts']['name'] = $field;
581 //Convert the $spec array into a database-specific string
582 $spec = $this->$spec['type']($spec['parts'], true);
583 }
584
585 // Collations didn't come in until MySQL 4.1. Anything earlier will throw a syntax error if you try and use
586 // collations.
587 // TODO: move this to the MySQLDatabase file, or drop it altogether?
588 if (!$this->database->supportsCollations()) {

Can anyone help?

Thanks

Avatar
lpjr86

Community Member, 2 Posts

7 January 2016 at 12:32am

It is complaining about line 582

Avatar
wfsu

Community Member, 1 Post

9 January 2016 at 8:07am

Had the same issue. I am using a new install of MAMP. Changed from PHP 7 (default) to 5.6 and it solved the issue. Wish me luck on the rest.