config/propel.ini
and
config/databases.yml
in the sandbox have not been updated yet for propel 1.3 and/or other symfony 1.2 advances.
This means that the sandbox is not useable "out of the box".
The following changes will rectify this:
diff -ruN sf_sandbox/config/databases.yml new_sandbox/config/databases.yml
--- sf_sandbox/config/databases.yml 2008-11-10 21:49:30.000000000 +0000
+++ new_sandbox/config/databases.yml 2008-11-16 15:46:37.000000000 +0000
@@ -2,6 +2,4 @@
propel:
class: sfPropelDatabase
param:
- phptype: sqlite
- database: %SF_DATA_DIR%/sandbox.db
-
+ dsn: sqlite://.//%SF_DATA_DIR%/sandbox.db
diff -ruN sf_sandbox/config/propel.ini new_sandbox/config/propel.ini
--- sf_sandbox/config/propel.ini 2008-11-10 21:49:30.000000000 +0000
+++ new_sandbox/config/propel.ini 2008-11-16 15:59:47.000000000 +0000
@@ -2,9 +2,6 @@
propel.packageObjectModel = true
propel.project = sf_sandbox
propel.database = sqlite
-propel.database.driver = mysql
-propel.database.url = sqlite://./../../../../../../../data/sandbox.db
-propel.database.creole.url = ${propel.database.url}
propel.database.user = root
propel.database.password =
propel.database.encoding = utf8
With these changes (and a couple of documentation tweaks to be bugged separately) the 1.2 tutorial will run against the 1.2 sandbox.