Ticket #1127 (new defect)

Opened 2 years ago

Last modified 10 months ago

cannot DEBUG installer

Reported by: mikelietz Owned by:
Priority: minor Milestone: 0.9
Component: Documentation Version: SVN
Keywords: installer debug Cc:

Description

On the  debugging wiki page we instruct users to add this line to their config.php:

define( 'DEBUG', true );

If they do so prior to installation, though, the install cannot complete because config gets read once in system/index.php, then again in installhandler.  It dies here at line 88

One workaround for this is to use this line in config.php instead:

if( !defined( 'DEBUG' ) ) define( 'DEBUG', true );

which is overkill the rest of the time, since DEBUG shouldn't ever be already defined before config.php is read.

Change History

comment:1 Changed 16 months ago by anon

  • Priority changed from major to minor
  • Component changed from -none- to Documentation

comment:2 Changed 16 months ago by anon

  • Milestone changed from Undetermined to 0.9

comment:3 Changed 10 months ago by michaeltwofish

We read the config file in the installer so that we don't bother to write it if the values are the same. We could just not check, and write it anyway.

Note: See TracTickets for help on using tickets.