]> git.mjollnir.org Git - moodle.git/commit
setup: Need memory before setup_DB.
authortjhunt <tjhunt>
Fri, 10 Jul 2009 03:31:30 +0000 (03:31 +0000)
committertjhunt <tjhunt>
Fri, 10 Jul 2009 03:31:30 +0000 (03:31 +0000)
commitf6b2709ff4972c307483a6937c2134d1abf1418d
tree4cc0bd63b9aaab33a451f189fd892ed48da8e935
parent6c77145468ee5a56bef36a33575ae0c7c543c5e0
setup: Need memory before setup_DB.

!This is the correct version of the previous commit!

I was getting an interesting failure with $CFG->prefix commented
out in config.php (by mistake!). Abbreviated stack trace
lib/setup.php -> setup_DB -> dml_exception('prefixcannotbeempty') ->
  get_string -> string_manager->__construct -> get_plugin_types

That loads lib.php from every module, which runs out of memeory.
lib/setup.php