17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 30817 Views |
-
Installer stops at, "Building database schema..."

12 October 2007 at 11:36pm
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:
ErrorThe 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.
-
Re: Installer stops at, "Building database schema..."

14 October 2007 at 7:24pm
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.
-
Re: Installer stops at, "Building database schema..."

17 October 2007 at 5:34pm Last edited: 17 October 2007 5:35pm
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.
-
Re: Installer stops at, "Building database schema..."

8 November 2007 at 10:14am Last edited: 8 November 2007 9:28pm
Hi, I have the same problem. Installation stops on "Building database schema...". Any ideas are very welcome.
-
Re: Installer stops at, "Building database schema..."

12 March 2008 at 5:01am
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.
-
Re: Installer stops at, "Building database schema..."

16 May 2008 at 6:21pm
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 -MultiViewsRewriteRule \.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.
-
Re: Installer stops at, "Building database schema..."

7 September 2008 at 4:36pm
I have tried replacing the .htaccess file with a new file containing the text suggested above and it is not helping. I still get the error:
Fatal error: Class MySQLQuery cannot extend from interface Query in /www.mysite.com/sapphire/core/model/MySQLDatabase.php on line 452
(I've replaced my URL with "www.mysite.com")
I also cannot figure out how to turn on extra debugging. Everything in the install check script seems to indicate that my site is ready for the installation. Please advise.
-
Re: Installer stops at, "Building database schema..."

20 November 2008 at 9:17pm
I have this same problem as well, and the proposed solution above did not change anything. Database tables are never created.
There must be somebody out there who has figured this out by now.
Travis Cable
| 30817 Views | ||
| Go to Top | Next > |


