Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Installation Problems with 2.2.3

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1268 Views
  • textura
    Community Member
    3 Posts

    Installation Problems with 2.2.3 Link to this post


    I am having problems with the basic installation. When I run install.php, I get the following:


    Installing SilverStripe...

    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation
    # Creating 'tutorial/_config.php'...
    # Creating /[CUT]/silverstripe-v2.2.3/tutorial/_config.php
    # Creating '.htaccess' file...
    # Creating /[CUT]/silverstripe-v2.2.3/.htaccess
    # Building database schema...

    Fatal error: Class 'Page_Controller' not found in /home/.sites/35/site106/web/silverstripe-v2.2.3/sapphire/core/model/GhostPage.php on line 101


    I have looked for Class Page_Controller through the PHP source files but can't find it. What have I done wrong and how do I fix it?

    System config:

    PHP: 5.2.3
    Apache: 2.0.52
    MySQL: 4.1.20

  • textura
    Community Member
    3 Posts

    Re: Installation Problems with 2.2.3 Link to this post

    Well I've got a bit further.

    I finally tracked down that Page.php file was missing from mySite. Uploaded and now I
    get a bit further. The error message is now

    Fatal error: DATABASE ERROR: Couldn't run query: SELECT `Permission`.*, `Permission`.ID, if(`Permission`.ClassName,`Permission`.ClassName,'Permission') AS RecordClassName FROM `Permission` WHERE (`Code` = 'ADMIN') ORDER BY ID LIMIT 1 | Unknown column 'Permission.ID' in 'field list' in /home/.sites/35/site106/web/silverstripe-v2.2.3/sapphire/core/model/Database.php on line 431

    I have had a look at the database using phpMyAdmin, and it agrees that there is no field called ID (there is tid, pid and rid). So what is wrong?

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.