Forum .LRN Q&A: Response to Can't add users to dotlrn on Postgres 7.1.3

Collapse
Posted by Tracy Adams on
The error is caused because the check to see if the user is a site-wide-admin assumes the user is a dotlrn user. As a quick fix, delete the following block of code from /packages/dotlrn/www/admin/user.adp:
<if @site_wide_admin_p@ eq t> This user is a site-wide admin. (<a href="site-wide-admin-toggle?user_id=@user_id@ &value=revoke&referer=@return_url@">revoke) </if> <else> <a href="site-wide-admin-toggle?user_id=@user_id@&value=grant&referer=@return_url@">Make this user a site wide admin.</a> </else>
I haven't had time to work out a more complete fix and we are able to make dotlrn users via the dotlrn admin page. This will allow you to continue....