Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

Installing halts on creating database schema


Go to End
Reply


20 Posts   9444 Views

Avatar
Radweb

18 Posts

16 August 2007 at 9:22am

Edited: 16/08/2007 9:22am

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?

Avatar
Andy

230 Posts

21 August 2007 at 2:48pm

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

Avatar
Radweb

18 Posts

22 August 2007 at 8:51am

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.

Avatar
Andy

230 Posts

22 August 2007 at 11:16am

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

Avatar
Radweb

18 Posts

22 August 2007 at 1:48pm

Edited: 22/08/2007 2:41pm

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.

Avatar
BeefStake

23 Posts

22 August 2007 at 3:00pm

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

Avatar
Radweb

18 Posts

22 August 2007 at 3:25pm

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.

Avatar
Andy

230 Posts

22 August 2007 at 3:51pm

Edited: 22/08/2007 4:07pm

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.

Go to Top