Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
install system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2009 at 11:15 UTC
Updated:
4 Feb 2010 at 08:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
naxoc commentedThe obvious fix seems to work just fine. It removes the php error.
Comment #2
dries commentedSeems to make sense to me.
Comment #3
David_Rothstein commentedI think install_goto() should include this file, not _db_check_install_needed(). It's the one that's causing the problem.
Comment #4
naxoc commentedPutting the include in install_goto() does make more sense. I moved the include.
Comment #5
aren cambre commentedSubscribe.
Comment #6
dave reidThis is still a problem in HEAD (7.x-dev) so no need to change versions please.
Comment #7
David_Rothstein commentedI feel like there's an unwritten rule that global variables get declared at the top of a function, so I moved it, but otherwise looks good.
(Was easier to move it in the patch file than to explain it in any more detail :)
Comment #8
carlos8f commentedlooks fine.
Comment #9
dirksonii commentedTested this, it does appear to remove the drupal_exit() error.
Comment #10
dries commentedCommitted to CVS HEAD. Thanks.
Comment #11
int commentedso, now drupal will consum more memory at the install process?
Comment #12
heine commented@ #11, I doubt that. During the first few install steps, the inclusion of common.inc uses memory. However, common.inc was already included in the more memory-intensive parts of the installation, so the max memory usage for installation will be the same.
If you want to be sure, please measure.