Liveuser_Admin: listing users alphabetically
| From: | Jeroen Houben | Date: | Tue, 06 Sep 2005 12:30:20 +0000 |
| Subject: | Liveuser_Admin: listing users alphabetically | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20805@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to list my users in alphabetical order, but it throws me an error (see below).
He're my code:
$params = array();
$params['orders'] = array('auth_user_id');
$users = $lu_admin->perm->getUsers($params);
regards,
Jeroen
array(7) {
["code"]=>
int(-4)
["params"]=>
array(1) {
["reason"]=>
string(90) "not all fields (0) could be linked to a table (perm_users, userrights, rights, groupusers)"
}
["package"]=>
string(14) "LiveUser_Admin"
["level"]=>
string(9) "exception"
["time"]=>
float(1126009544.0531)
["context"]=>
array(4) {
["file"]=>
string(56) "/usr/local/share/php/pear/LiveUser/Admin/Storage/SQL.php"
["line"]=>
int(658)
["function"]=>
string(10) "findTables"
["class"]=>
string(30) "LiveUser_Admin_Perm_Storage_DB"
}
["message"]=>
string(125) "Couldn't create the query, reason: not all fields (0) could be linked to a table (perm_users, userrights, rights, groupusers)"
}
array(7) {
["code"]=>
int(-4)
["params"]=>
array(1) {
["reason"]=>
string(20) "no tables were found"
}
["package"]=>
string(14) "LiveUser_Admin"
["level"]=>
string(9) "exception"
["time"]=>
float(1126009544.0533)
["context"]=>
array(4) {
["file"]=>
string(56) "/usr/local/share/php/pear/LiveUser/Admin/Storage/SQL.php"
["line"]=>
int(388)
["function"]=>
string(12) "createSelect"
["class"]=>
string(30) "LiveUser_Admin_Perm_Storage_DB"
}
["message"]=>
string(55) "Couldn't create the query, reason: no tables were found"
}