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

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