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

Fatal error when running the installation




Community Member, 2 Posts

30 September 2013 at 12:13am

Edited: 30/09/2013 12:14am


I'm currently running Nginx, PHP5.4 and MySQL5.6 on my development computer with Windows 8.
This is my Nginx config:

server {
listen 80;
server_name silverstripe;
root C:/nginx/htdocs/silverstripe/;
index index.php
autoindex off;
   if (!-f $request_filename) {
rewrite ^(.*)$ /framework/main.php?url=$1&$3 last;
   location ~ \.php$ {
root html;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME C:/nginx/htdocs/silverstripe$fastcgi_script_name;
include fastcgi_params;

But after filling in my MySQL details for the installation and clicking to install it gives me the following error:

Couldn't run query: SELECT DISTINCT "SiteTree"."ClassName", "SiteTree"."Created", "SiteTree"."LastEdited", "SiteTree"."URLSegment", "SiteTree"."Title", "SiteTree"."MenuTitle", "SiteTree"."Content", "SiteTree"."MetaTitle", "SiteTree"."MetaDescription", "SiteTree"."MetaKeywords", "SiteTree"."ExtraMeta", "SiteTree"."ShowInMenus", "SiteTree"."ShowInSearch", "SiteTree"."Sort", "SiteTree"."HasBrokenFile", "SiteTree"."HasBrokenLink", "SiteTree"."ReportClass", "SiteTree"."CanViewType", "SiteTree"."CanEditType", "SiteTree"."Version", "SiteTree"."ID", CASE WHEN "SiteTree"."ClassName" IS NOT NULL THEN "SiteTree"."ClassName" ELSE 'SiteTree' END AS "RecordClassName" FROM "SiteTree" WHERE ("URLSegment" = 'home' AND "ParentID" = 0) ORDER BY "SiteTree"."Sort" ASC LIMIT 1 Unknown column 'ParentID' in 'where clause'

I tried with and without the simple theme. Also, I did not change any code just yet. This a bare download from Option 1 ( Any suggestions how I can solve this issue?

Thanks in advance,