Hi there,
I just wanted to give DSP a spin again and downloaded the Bitnami ‘standalone’ dreamfactory stack. Installation went through with a couple of errors:
[2014-07-17 14:21:21] app.ERROR: CDbCommand::execute() failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘bitnami_dreamfactory.df_sys_cache’ doesn’t exist. The SQL statement executed was: DELETE FROM df_sys_cache WHERE expire>0 AND expire<1405632069.
[2014-07-17 14:21:55] app.DEBUG: Dispatcher: event “swagger.cache_rebuilt” triggered by /system/config [] []
[2014-07-17 14:22:15] app.ERROR: Unable to delete configuration cache key “config.open_registration”
[2014-07-17 14:22:15] app.ERROR: Unable to delete configuration cache key “config.remote_login_providers”
Unfortunately I couldn’t log in (Following the steps of Ben’s screencast about DF). When I entered my user-credentials I got an 403 (the error is: “An error occurred, but the server provided no additional information.”). The log says it’s a CORS problem:
[2014-07-17 14:22:49] app.WARNING: Unable to parse received origin: [file://] [] []
[2014-07-17 14:22:49] app.ERROR: Unauthorized origin rejected via CORS > Source: http://localhost:8080 > Origin: file:// [] []
[2014-07-17 14:29:30] app.DEBUG: * Empty/expired cached configuration [] []
[2014-07-17 14:29:30] app.WARNING: Unable to parse received origin: [file://] [] []
[2014-07-17 14:29:30] app.ERROR: Unauthorized origin rejected via CORS > Source: http://localhost:8080 > Origin: file:// [] []
So I ended up enabling CORS for all domains ("*"). After that login works.
You should definitely note that in the Readme or in your screencast.
andy