Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Installing halts on creating database schema

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

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

Page: 1 2 3
Go to End
Author Topic: 9220 Views
  • Radweb
    Avatar
    18 Posts

    Installing halts on creating database schema Link to this post

    Hello,

    I've uploaded the silverstripe script and created the database, all settings in the install.php page are green and fine (minus one warning about 'Check that the php.ini setting allow_call_time_pass_reference is on' - which I don't believe would halt it).

    When I continue with the install, the following appears:

    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 'assets' folder...
    Creating 'mysite/_config.php'...
    Creating '.htaccess' file...
    Existing .htaccess found, merging in SilverStripe rewrite rules
    Building database schema...

    I've waited a couple of minutes and the page does not reload or continue - and checking the database - nothing has been created.

    I'm running SilverStripe on a Linux server with Apache/PHP.

    Could someone please advise on a fix?

  • Andy
    Avatar
    230 Posts

    Re: Installing halts on creating database schema Link to this post

    My only suggestion is to try using the latest daily build at http://dailybuilds.silverstripe.com. There have been changes to the building of the database schema recently, perhaps these will solve your problem.

  • Radweb
    Avatar
    18 Posts

    Re: Installing halts on creating database schema Link to this post

    I have tried that and still no good.

    Im getting frustrated as have tried it 3 times on 3 diferent databases. It looks like such a good system... cant wait to use it.

  • Andy
    Avatar
    230 Posts

    Re: Installing halts on creating database schema Link to this post

    Try going to www.yoursite.com/db/build?flush=1 - this should give some more information on excatly what the problem is.

  • Radweb
    Avatar
    18 Posts

    Re: Installing halts on creating database schema Link to this post

    There is not DB folder in your script installation - and it returns a page not found when I try that url (obviously changing it to my domain).

    Could someone just export the database for me as SQL... having this alternative would be much simpler I can simply then import the database structure manually.

  • BeefStake
    Avatar
    23 Posts

    Re: Installing halts on creating database schema Link to this post

    Not quite sure if this will work dude :S...
    Keep me posted ill help were I can.

  • Radweb
    Avatar
    18 Posts

    Re: Installing halts on creating database schema Link to this post

    Well, I assume that if someone who didn't have a problem installing it could then send me any schema files (xml?) and their database structure/data in an SQL dump then that would be the equivelent of the script building the database schema.

    Worth a try - I've seen numerous more posts with people with the same problem and no answers - makes sense to have the SQL file for manual installation.

  • Andy
    Avatar
    230 Posts

    Re: Installing halts on creating database schema Link to this post

    There isn't meant to be a db folder, the 404 just means your redirect rules have not been set up correctly, due to the installation failing. I've attached a .htaccess, place it in your root directory and try the db/build again.

    9220 Views
Page: 1 2 3
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.