Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. OpenProject 3.0 dropdown don't display

OpenProject 3.0 dropdown don't display

Added by Matt Brown almost 11 years ago

Hi, just completed an installation of OP3 stable on Linux Mint 16. Running with the development database on MySQL. I’ve had a successful install, had to piece things together from a few different examples, but once I understood what the steps were doing I was OK.

Anyhow, I started the development OP3 with the command bundle exec rails server

I’ve point my Firefox 29.0 broswer to http://localhost:3000, and tried to login but the Login dropdown will not stay dropped. It drops for only a fraction of a second then its gone. I log in by going to http://localhost:3000/login and get a full login page. Once logged in, the “Project”, and “Modules” dropdown do not work either. It will drop for a fraction of a second, I see where it says “View All Projects”, and then it too disapears and will not diplay again.

I access the OP app from a Windows PC and get the same results on Chrome, Firefox and IE. It’s probably not my browsers, because the dropdowns work for me on this site here.

Anyone have any ideas? I am running from the bundled web server

bundle exec rails server
require ‘rails/all’… 0.290s
Bundler.require… 1.570s
=> Booting Thin
=> Rails 3.2.18 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Application.initialize!… [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
2.050s

Thin web server (v1.5.1 codename Straight Razor)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop


Replies (5)

RE: OpenProject 3.0 dropdown don't display - Added by Ilkka Rantanen almost 11 years ago

Hello,

I have similar kind of problem. I just installed OP3 to Windows environment and managed to get everything working except the dropdown menus. In the development mode I get following error in the JavaScript console of Google Chrome:

Error: jQuery.fn.select2.defaults.escapeMarkup not found.
Exception: TypeError: Cannot read property ‘defaults’ of undefined application.js?body=1:136
Uncaught TypeError: Cannot read property ‘defaults’ of undefined application.js?body=1:136
Uncaught TypeError: Cannot read property ‘version’ of undefined top_menu.js?body=1:7
Uncaught TypeError: Cannot read property ‘version’ of undefined application.js?body=1:124

RE: OpenProject 3.0 dropdown don't display - Added by Christian Ratz almost 11 years ago

Hello,

problems like this are usually realted to assets precompiling or to the sass cache (in development mode). In development mode you should not have any precompiled assets, make sure your ‘public/assets’ folder is empty or does not exists. Clean the sass cache by removing ‘.sass-cache’ folder. Restart the rails server after this steps.

If you run OpenProject in production mode try to precompile the assets again.

Best
Ratzi

RE: OpenProject 3.0 dropdown don't display - Added by Ilkka Rantanen almost 11 years ago

Clearing the ‘public/assets’ folder fixed the problem for the development environment. I’ll go ahead and precompile the assets again for the production. Thank you already, Mr. Ratz.

RE: OpenProject 3.0 dropdown don't display - Added by Matt Brown almost 11 years ago

Happy to report that my problem with the dropdown disapeared when I ran in production. Building up my project now, and am very impressed with OpenProject.

RE: OpenProject 3.0 dropdown don't display - Added by Christian Ratz almost 11 years ago

I am happy that I could help and also that you like what we did.

If you plan to run OpenProject in production mode you should setup a system with Apache or Nginx together with Phusion Passenger.

Here you can find a howto for this for Debian OS and here for CentOS65

Best

Ratzi

  • (1 - 5/5)
Loading...