Hello,
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_pass 127.0.0.1:9000;
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'
MySQLDatabase.php:580
I tried with and without the simple theme. Also, I did not change any code just yet. This a bare download from Option 1 (http://www.silverstripe.org/stable-download/). Any suggestions how I can solve this issue?
Thanks in advance,
Alexw