← Back to team overview

mahara-contributors team mailing list archive

[Bug 778272] Re: if log_environ is called during install, then initial password isn't prompted for

 

git bisect tells me

87d10aa63a81d5752b0bf7475791344820e9706c is first bad commit
commit 87d10aa63a81d5752b0bf7475791344820e9706c
Author: Francois Marier <francois@xxxxxxxxxxxxxxx>
Date:   Wed Apr 20 16:07:55 2011 +1200

    Stop shipping a .htaccess file (Bug #766800)
    
    Change-Id: I0c4d7bd2e59d257448b94eb210613b2e94e2689c

:040000 040000 16e8a0b8e6ce2b21b0cf13ba08be170e8c980de8
8a4c419ade1bb2179faa9e5bd2c28aa3e8a17ddd M      htdocs

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/778272

Title:
  if log_environ is called during install, then initial password isn't
  prompted for

Status in Mahara ePortfolio:
  New

Bug description:
  During the install process the message below is given. The page
  directly after the install (where it usually asks for the initial
  password) is skipped, and goes straight to dashboard (with the same
  error message). No way to set the admin password.

  [ENV] 57 You have dangerous PHP settings, magic_quotes_gpc is on. Mahara is trying to work around this, but you should really fix it
  Call stack (most recent first):
  log_message("You have dangerous PHP settings, magic_quotes_gpc ...", 1, true, true) at /var/www/mahara-test/lib/errors.php:121
  log_environ("You have dangerous PHP settings, magic_quotes_gpc ...") at /var/www/mahara-test/lib/mahara.php:98
  ensure_sanity() at /var/www/mahara-test/init.php:82
  require("/var/www/mahara-test/init.php") at /var/www/mahara-test/admin/upgrade.php:32

  Interestingly, if $cfg->wwwroot is set, the errors are still there,
  but it asks for password as usual


References