Jump to:

4945 Posts in 17872 Topics by 1494 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Fatal error when running the installation

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

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

Page: 1
Go to End
Author Topic: 507 Views
  • Alexw
    Community Member
    2 Posts

    Fatal error when running the installation Link to this post


    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 (http://www.silverstripe.org/stable-download/). Any suggestions how I can solve this issue?

    Thanks in advance,

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.