17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 8843 Views |
-
Installing halts on creating database schema

16 August 2007 at 9:22am Last edited: 16 August 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?
-
Re: Installing halts on creating database schema

21 August 2007 at 2:48pm
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.
-
Re: Installing halts on creating database schema

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.
-
Re: Installing halts on creating database schema

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.
-
Re: Installing halts on creating database schema

22 August 2007 at 1:48pm Last edited: 22 August 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.
-
Re: Installing halts on creating database schema

22 August 2007 at 3:00pm
Not quite sure if this will work dude :S...
Keep me posted ill help were I can. -
Re: Installing halts on creating database schema

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.
-
Re: Installing halts on creating database schema

22 August 2007 at 3:51pm Last edited: 22 August 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.
| 8843 Views | ||
| Go to Top | Next > |


