Remember me? forgot password | register

SilverStripe Forum

7191 Posts in 1867 Topics by 1056 members

Jump to:

Site Builders

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Community » SilverStripe Forum » Site Builders » Installer stops at, "Building database schema..."
Page: 1 go to end Reply
Author Topic: Installer stops at, "Building database schema..." 25790 views
  • GrimMethod
    GrimMethod's avatar
    2 posts

    Installer stops at, "Building database schema..." Link to this post

    I'm really wanting to try out this CMS but everytime I run the installer it stops:

    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 'mysite/_config.php'...
    # Creating '.htaccess' file...
    # Building database schema...

    Afterwords if I try and go to the site I either get redirected to the install.php, which says that it's already installed but I can reinstall over it, or I get an error page like this:

    ERROR:
    Error

    The website server has not been able to respond to your request.

    The installer says everything checks out "OK" so I have no idea what's wrong. If I delete the MySQL database it does create it again but it doesn't populate the database with anything.

  • willr
    avatar
    Core Development Team
    768 posts
    3 SilverStripe Sites 3 SilverStripe Themes

    Re: Installer stops at, "Building database schema..." Link to this post

    add this to the _config.php file in the Mysite Folder - Director::set_environment_type("dev"); this will output a more useful error message rather then just error.

  • GrimMethod
    GrimMethod's avatar
    2 posts

    Re: Installer stops at, "Building database schema..." Link to this post

    I can't seem to get the error page back again, each time I try and install it just stops at the same part, "Building database schema." Then if I try and visit the index it redirects me to the install.php and asks me to install it again. The way I got the error I think was when I tried installing it locally and then importing the database and uploading the files.

    When the installer runs it's able to create the database if it's not there but it never creates any of the tables or populates the database with anything before it stops.

    Last edited: 17 October 2007 at 5:35pm

  • stockholm
    stockholm's avatar
    3 posts

    Re: Installer stops at, "Building database schema..." Link to this post

    Hi, I have the same problem. Installation stops on "Building database schema...". Any ideas are very welcome.

    Last edited: 8 November 2007 at 9:28pm

  • paddimac
    paddimac's avatar
    Community Member
    4 posts

    Re: Installer stops at, "Building database schema..." Link to this post

    I am also getting the same error. I tried adding the 'dev' setting, but dont see any errors. It just stops. I do have enough memory, but am running PLesk 8.3. Any help appreciated.

  • creativechaos
    creativechaos's avatar
    Community Member
    1 post

    Re: Installer stops at, "Building database schema..." Link to this post

    Hi all,

    Had the same issue as this... turned out to be an issue with MySQL and the mod_rewrite I think... Here's what I did to get past the stopping at "Building database schema" bit.

    1. Uploaded software to host as per normal.

    2. Uploaded a new .htaccess to my webroot with the following content:

    ### SILVERSTRIPE START ###
    RewriteEngine On
    Options -MultiViews

    RewriteRule \.js$ - [L]
    RewriteRule \.css$ - [L]
    RewriteRule \.png$ - [L]
    RewriteRule \.jpg$ - [L]
    RewriteRule \.gif$ - [L]
    RewriteRule \.php$ - [L]

    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

    php_flag zend.ze1_compatibility_mode Off

    ### SILVERSTRIPE END ###

    3. Attempted to run the installation again and this time I started receiving errors about the mod_rewrite not being configured correctly.

    4. Clicked continue to ignore the errors and continue with the installation

    5. Installation appeared to be successful but only got a blank page so I went to (mysite)/db/build?flush=1 which showed that the db was being correctly created.

    6. Went to http://www.mydomain.com and still just a blank screen, so then I loaded that with the url http://www.mydomain.com?flush=1

    7. Went to http://www.mydomain.com/admin and logged in. Clicked each of the pages in the CMS and clicked on the "Save and Publish" button for each.

    Once this was done I was up and running...

    Hope this might help others.

    25790 views
go to top Reply

Currently Online:

Racc, vstrazz

Welcome to our latest member: Anonymous user