I am trying to get the database configuration functionality working with kohana 3.2. I want to attach the Config_Database as source:

Kohana::$config->attach(new Config_Database, False);

Described here: http://kohanaframework.org/3.2/guide/kohana/config I attach the new source after loading the modules (so the database module is loaded before attaching the source). But when I have attached the new source it seems as if kohana does not want to load any controller using the Auth module with ORM driver. Then the browser loads and loads but only a white page appears. All other controller, not using the ORM or Auth module, function properly.

Can anyone give a short explanation how to use the Config_Database functionality, or give a alternative.

有帮助吗?

解决方案

Update ORM module to 3.2/develop

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top