← 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

 

This is the page directly after the install page, no prompt for initial
password

** Attachment added: "mahara-afterinstall-bad.png"
   https://bugs.launchpad.net/mahara/+bug/778272/+attachment/2115897/+files/mahara-afterinstall-bad.png

-- 
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