← 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

 

I don't have wwwroot set in my config and don't get the error message.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/778272

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

Status in Mahara:
  Triaged

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/778272/+subscriptions


References