Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7505991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:06:41+00:00 2026-05-29T22:06:41+00:00

The error (in application.js) is shown in firebug when loading the login page with

  • 0

The error (in application.js) is shown in firebug when loading the login page with localhost:3000 and the page hangs. The Gemfile looks like:

gem 'jquery-rails', '~>1.0.19'

The code (including the require) causing error above in application.js file is:

//= require jquery
//= require jquery_ujs
//= require_tree .

$(document).ready(function() {
    $("#tabs").tabs();
});

The purpose of the code is to load the user menu tab and is a copy from another working app.

In applicaion.html.erb, we have the following:

<head>
  <title><%= title %></title>
   <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <%= stylesheet_link_tag    "application" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
</head>

Any thoughts about the error? Thanks so much.

UPDATE:

html source code of the page:

<!DOCTYPE html>
<html>
<head>
  <title>Login</title>
  <link href="/assets/application.css?body=1" media="screen" rel="stylesheet" type="text/css" />
<link href="/assets/sessions.css?body=1" media="screen" rel="stylesheet" type="text/css" />
<link href="/assets/users.css?body=1" media="screen" rel="stylesheet" type="text/css" />
  <script src="/assets/jquery.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery_ujs.js?body=1" type="text/javascript"></script>
<script src="/assets/sessions.js?body=1" type="text/javascript"></script>

<script src="/assets/user_menus.js?body=1" type="text/javascript"></script>
<script src="/assets/users.js?body=1" type="text/javascript"></script>
<script src="/assets/application.js?body=1" type="text/javascript"></script>
  <meta content="authenticity_token" name="csrf-param" />
<meta content="qdYThMHV8HB+Joc9HnE3ZiR/S0hkIeulOuMsIt3iFiw=" name="csrf-token" />
</head>

<body id="login">



<h1>Login</h1>
<form accept-charset="UTF-8" action="/session" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="qdYThMHV8HB+Joc9HnE3ZiR/S0hkIeulOuMsIt3iFiw=" /></div>

<div>
    <p><label for="email">Name:</label> <input id="email" name="email" type="text" value="" /></p>
    <p><label for="password">Password:</label> <input id="password" name="password" type="password" value="" /></p>
    <p><label></label><input class="button" name="commit" type="submit" value="login" /></p>
</div>
</form>

</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:06:42+00:00Added an answer on May 29, 2026 at 10:06 pm

    You need to add //= require jquery-ui to your application.js file if you want to use the jQuery UI functionality.

    See the project’s README

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My jQuery ajax call is failing with an undefined error. My js code looks
Normally I just redirect to a custom error page in on the Application_Error event,
When a page times out(Request Timed Out) in my application, the Application_Error sub in
I'm getting an error when my application starts. It appears to be after it's
All throughout an application wherever error messages (or other user messages) are used I
Unlike this question: Linker Error while building application using Boost Asio in Visual Studio
I get this error when trying to load a Zend Framework application: Fatal error:
In what situations should one catch java.lang.Error on an application?
Is it possible to generate the HTML page normally shown for an uncaught exception
I get the following error in firebug in Firefox 3 with both MooTools and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.