Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hello!

    When I try to enter in /activities/list and I'm not logged I got the following error message:
    The page you were looking for doesn't exist.

    You may have mistyped the address or the page may have moved.


    Thanks!
    • CommentAuthoradmin
    • CommentTimeJun 18th 2008
     permalink
    Full url please?

    -- Erlend
  2.  permalink
    http://inova.clockingit.com:3000/activities/list

    Running in my company server. Using latest version of ClockingIT.


    Thanks.
    • CommentAuthoradmin
    • CommentTimeJun 18th 2008
     permalink
    As it's your server, and your setup, I'm not sure how I'm supposed to figure out what's wrong. :-)

    -- Erlend
    • CommentAuthoradmin
    • CommentTimeJun 18th 2008
     permalink
    If you restart your server, and send me the log from the first request to /activities/list, it might help a bit.

    -- Erlend
  3.  permalink
    Yeah...

    Its my server and my SETUP. And your application.
    I don't known how its occurs...
    Can you give-me instructions to how debug/trace?

    I think that the problem is when try to redirect to login...


    Thanks.
    • CommentAuthoradmin
    • CommentTimeJun 18th 2008 edited
     permalink
    Like I said, I'd need to see the relevant parts from log/production.log to be able to try and help.

    It doesn't happen on any of my installs, so something is different with your setup.

    -- Erlend
  4.  permalink
    Humm.. Ok...

    The log is this:
    Processing ActivitiesController#list (for 192.168.0.42 at 2008-06-18 14:25:05) [GET]
    Session ID: 2bc97f87b748a641e41c9bb9b753110f
    Parameters: {"action"=>"list", "controller"=>"activities"}


    ActiveRecord::RecordNotFound (Couldn't find User without an ID):
    /vendor/rails/activerecord/lib/active_record/base.rb:1248:in `find_from_ids'
    /vendor/rails/activerecord/lib/active_record/base.rb:504:in `find'
    /app/controllers/application.rb:30:in `current_user'
    /app/controllers/application.rb:62:in `authorize'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `send!'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `call'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:441:in `run'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:716:in `run_before_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:695:in `call_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
    /vendor/rails/actionpack/lib/action_controller/caching.rb:678:in `perform_action'
    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
    /vendor/rails/actionpack/lib/action_controller/caching.rb:677:in `perform_action'
    /vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send'
    /vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process_without_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
    /vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in `process'
    /vendor/rails/actionpack/lib/action_controller/base.rb:388:in `process'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:171:in `handle_request'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in `process'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in `process'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in `process_client'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `each'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `process_client'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `initialize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `new'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `initialize'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `new'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in `each'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in `run'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
    /usr/bin/mongrel_rails:16:in `load'
    /usr/bin/mongrel_rails:16


    Rendering /dados/cit/public/404.html (404 Not Found)
  5.  permalink
    I got the same error when I try to access

    • http://inova.clockingit.com:3000/tasks/list

    • http://inova.clockingit.com:3000/users/list

    • http://inova.clockingit.com:3000/users/edit_preferences

    • And every page that need to be logged

    • CommentAuthoradmin
    • CommentTimeJun 18th 2008
     permalink
    Why don't you try and log in? Looks like you've got a session with a bogus user_id. I've committed a small attempt at a work around, which might get you sorted. If not, you'll need to delete the session with id 2bc97f87b748a641e41c9bb9b753110f from the database.

    delete from sessions where session_id='2bc97f87b748a641e41c9bb9b753110f';

    -- Erlend
    • CommentAuthoradmin
    • CommentTimeJun 18th 2008
     permalink
    Hum, on 2nd thought, you'll be redirected to the activities/list on the login.

    Could you just try to access /login/logout ?

    -- Erlend
  6.  permalink
    I had truncated the table: "TRUNCATE TABLE `sessions`"
    And I still getting that error.

    /login/logout shows the same page

    Like I said, every page that I access (not logged) give this error.


    Thanks.
    • CommentAuthoradmin
    • CommentTimeJun 18th 2008
     permalink
    ActiveRecord::RecordNotFound (Couldn't find User without an ID) which your error contains, means that it's trying to look up a user without an ID which won't work. Are you able to view any page at all?

    Did this work earlier? When did it stop working? Is it working for other people? Does it work if you go to /login/login and login?

    -- Erlend
    • CommentAuthoradmin
    • CommentTimeJun 18th 2008
     permalink
    What does 'git status' say?

    -- Erlend
  7.  permalink
    If I remember, its never worked in here.
    All users that use this install got the same error.

    I'm using darcs.
    darcs check returns that the repository is consistent.


    []'s Renan
    • CommentAuthoradmin
    • CommentTimeJun 18th 2008
     permalink
    You have of course created the users and the company? If you want this to work, could you please try the Git version instead? I've more or less deprecated the darcs version.

    -- Erlend
  8.  permalink
    Alright!

    I downloaded with git and everything is OK!
    But, I accidentally closed the widget called "Projects". I've not seem the "Add Widget" or whatever like that.


    Thanks Erlend!
    • CommentAuthoradmin
    • CommentTimeJun 19th 2008
     permalink
    Go to overview page, hover mouse over the overview menu.

    -- Erlend