From f6b2709ff4972c307483a6937c2134d1abf1418d Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 10 Jul 2009 03:31:30 +0000 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/setup.php b/lib/setup.php index 66339af6ef..bedd57cf7d 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -263,7 +263,7 @@ global $SCRIPT; setup_validate_php_configuration(); /// Increase memory limits if possible - //raise_memory_limit('96M'); // We should never NEED this much but just in case... + raise_memory_limit('96M'); // We should never NEED this much but just in case... /// Connect to the database setup_DB(); -- 2.39.5