The database select command requires that the database is called "drupal".
<?php
$result = db_query('SELECT uid,name,mail FROM drupal.users');
?>
Changing row 157 to this fixes the problem:
<?php
$result = db_query('SELECT uid,name,mail FROM users');
?>
Comments
Comment #1
beginner commentedActually it should be:
fixed in D5 and HEAD.
Thanks for reporting.
Comment #2
(not verified) commented