Menu

Unable to create users

Help
2014-11-21
2019-07-10
  • Ajmal Hamza

    Ajmal Hamza - 2014-11-21

    Hi,

    I am unable to create users from Users -> Examiners -> create.
    I am getting an error in UI as,

    We're sorry, but something went wrong.
    We've been notified about this issue and we'll take a look at it shortly.

    In the apache error log, I am getting the following error:

    App 14822 stderr: RuntimeError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]):
    App 14822 stderr: app/mailers/user_mailer.rb:165:in user_set_password' App 14822 stderr: app/controllers/users_controller.rb:53:increate'

    Can anybody please help? Thank you!

     
  • PIT Solutions

    PIT Solutions - 2014-11-24

    You have not configured the host URL which triggered the issue. It can be configured at Settings page > URL.

     
  • leel

    leel - 2019-07-08

    Hi,
    I am unable to create examinees.
    When I try to approve registered examinees , I get the following error.

    Routing Error

    No route matches "/welcome/admin_dashboard"

    Also on selecting organisation levels, I get the below error

    NoMethodError in Category_titles#index
    Showing /var/www/VirtualX/app/views/category_titles/index.html.erb where line #3 raised:
    undefined method empty?' for nil:NilClass Extracted source (around line #3): 1: 2: <h2><%=t('org.org_levels')%></h2> 3: <%unless @category_types.empty?%> 4: <% @category_types.each do |category_type| %> 5: <%if category_type.id == 1%> 6: <%=link_to t('org.class'), :action=>'index', :controller=>"category_titles", :type=>category_type.id%><br><br> Rails.root: /var/www/VirtualX Application Trace | Framework Trace | Full Trace app/views/category_titles/index.html.erb:3:in_app_views_category_titles_index_html_erb__1476405293_70066185768560_0'

     
  • PIT Solutions

    PIT Solutions - 2019-07-10

    Can you confirm that you have followed the Deployment guide for setup and ensure that you completed

    Step 17:
    Run the command:
    rake db:migrate RAILS_ENV=production

    Step 18:
    Run the command:
    rake db:seed RAILS_ENV=production

     

Log in to post a comment.