← Back to team overview

mahara-contributors team mailing list archive

[Bug 881892] Re: User Search returns all users

 

My apologies - I have found out the reason for this behaviour.   This
occurs if the config.php file looks like this:

$cfg->wwwroot = 'http://myportfolio-new.ucl.ac.uk/';

// You will only need to specify this if you want to use HTTPS for
// logins, but not for regular pages. If you want to serve all of your
// Mahara content via HTTPS, just set $cfg->wwwroot to use HTTPS instead.
$cfg->httpswwwroot = 'https://myportfolio-new.ucl.ac.uk/';

In fact it should look like:

$cfg->wwwroot = 'https://myportfolio-new.ucl.ac.uk/';

// You will only need to specify this if you want to use HTTPS for
// logins, but not for regular pages. If you want to serve all of your
// Mahara content via HTTPS, just set $cfg->wwwroot to use HTTPS instead.
// $cfg->httpswwwroot = 'https://myportfolio-new.ucl.ac.uk/';

In other words if the wwwroot is https, then  the httpswwwroot  should
be commented out.


** Changed in: mahara
       Status: Incomplete => Invalid

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

Title:
  User Search returns all users

Status in Mahara ePortfolio:
  Invalid

Bug description:
  If I type a know user's surname into the 'Search' box (In
  User/User/Search in the Site Administration area) it works just fine.
  However typing the *same* surname into the light green 'User Search'
  box at the top left of the screen after login, returns *all* users by
  username.

  Details: version 1.4.0. Database: mysql - details:

  mysql> SHOW VARIABLES LIKE "%version%";
  -----------------------------------------------------+
  Variable_name 	Value

  -----------------------------------------------------+
  protocol_version 	10
  version 	5.0.89-log
  version_comment 	MySQL Community Server (GPL)
  version_compile_machine 	i686
  version_compile_os 	pc-linux-gnu

  -----------------------------------------------------+

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


References