4873 Posts in 7242 Topics by 1471 members
|Go to End|
21 April 2010 at 11:17am Last edited: 21 April 2010 11:19am
I used subversion to checkout SS-v2.4.0-rc1 to my local Windows machine. Upon visiting the install.php page, I notice a couple of PHP warnings:
Where a field should be appearing for Database type: there is a PHP warning instead:
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\ss\sapphire\dev\install\config-form.html on line 147
Under the 'Re-Check Requirements' button there is another PHP warning:
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\ss\install.php on line 294
I fill out all the available fields for a local set up (localhost/root/no pwd/SS_mysite) and click Install SilverStripe. It gets to "Building database schema..." and throws the error:
[User Error] DB::connect: Not passed a valid database config
Line 88 in C:\xampp\htdocs\ss\sapphire\core\model\DB.php
Since this error is being generated because the database type is empty, it's clearly a problem that the Database Type field is not appearing on the install page. Line 147 in C:\xampp\htdocs\ss\sapphire\dev\install\config-form.html uses a variable called $foundDatabaseClasses that is never declared or defined anywhere in the entire codebase...
21 April 2010 at 5:15pm Last edited: 21 April 2010 5:20pm
Which subversion URL did you check out?
You should be using this command to checkout the 2.4.0 RC1 from Subversion:
I've tested this, and it works fine for me.
You've probably got a broken checkout.
22 April 2010 at 4:52am
Hmmm, I checked out from http://svn.silverstripe.com/open/phpinstaller/trunk, as per the instructions on the Daily Build/Subversion pages. I don't know what that gives me, but I guess it's not v.2.4.0-rc1.
I want to install and fiddle with the Workflow module, which only works with SS v2.4. I don't mind using something that may be a little unstable at the moment, but I want to be able to update it (via subversion) to whatever the stable 2.4 release ends up being.
Which checkout should I start with that will keep me on the path to the stable 2.4 version?
22 April 2010 at 6:48am Last edited: 22 April 2010 6:49am
Completed C:\xampp\htdocs\ss\cms - at revision: 103280
Error URL 'http://svn.silverstripe.com/open/modules/jsparty/tags/rc/2.4.0-rc1'
Error doesn't exist
22 April 2010 at 11:03am Last edited: 22 April 2010 11:09am
I've fixed the 2.4.0-rc1 tag, which had an external which doesn't exist. You'll be able to check that out now successfully.
However, if you don't mind a few things changing while stabilization of 2.4 occurs, you can check out the development 2.4 branch using this command:
See how you get on with that.
|Go to Top|