[drupal-devel] [bug] Table Prefix
chx
drupal-devel at drupal.org
Thu Jun 23 13:10:57 UTC 2005
Issue status update for http://drupal.org/node/25600
Project: Drupal
Version: cvs
Component: base system
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: kubaZygmunt
Updated by: chx
Status: patch
Yes, this is a bug, if you look at the bootstrap patch, there were
versions when I thought variables in settings.php should be written as
$GLOBALS['something'] but then introduced global $something . Forgot
when that something is db_prefix .
chx
Previous comments:
------------------------------------------------------------------------
June 23, 2005 - 13:28 : kubaZygmunt
Attachment: http://drupal.org/files/issues/bootstrap.diff (422 bytes)
I've found that new cvs version doesn't get properly db_prefix.
In bootstrap.inc (function _drupal_bootstrap($phase) )
I added another global variable $db_prefix, and then it goes .
I don't know if my solution is good because on my local site I can't
see any blocks and on my internet site I have some caching and I can't
see anything :)
------------------------------------------------------------------------
June 23, 2005 - 14:45 : kubaZygmunt
Above I've put my patch
------------------------------------------------------------------------
June 23, 2005 - 14:56 : Jaza
Attachment: http://drupal.org/files/issues/db_prefix_global.patch (582 bytes)
Also noticed this bug, when trying to install a fresh CVS snapshot.
Attached is my patch against CVS HEAD (same as kubaZygmunt's,
basically).
More information about the drupal-devel
mailing list