Recent Posts by peter_ljung

Subscribe to Recent Posts by peter_ljung 2 posts found

posted 9 years ago
peter_ljung 2 posts

Forum: Instiki – Topic: instiki_session cookie overflows after some editing

Thanks for your reply !

I made a quick test with the latest source from git. I only replaced the /app folder of my current wiki, but I seem to have some kind of problem.

I got an error (directly in the browser)

ActionView::TemplateError (wrong number of arguments (6 for 3..5)) on line #21 of app/views/wiki/page.rhtml:
18: 
19: <div class="byline">
20: <%= @page.revisions? ? "Revised" : "Created" %> on <%= format_date(@page.revised_at) %> 
21: by <%= author_link(@page) %>
22: <%= "(#{@page.author.ip})" if @page.author.respond_to?(:ip) %>
23: <% if @web.count_pages? %>
24: <% total_chars = @page.content.length %>

lib/url_generator.rb:13:in `make_link'
app/helpers/application_helper.rb:53:in `author_link'
app/views/wiki/page.rhtml:21:in `_run_rhtml_app47views47wiki47page46rhtml'
app/controllers/wiki_controller.rb:368:in `show'
/usr/local/lib/phusion-passenger20/lib/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
/usr/local/lib/phusion-passenger20/lib/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
/usr/local/lib/phusion-passenger20/lib/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
/usr/local/lib/phusion-passenger20/lib/phusion_passenger/request_handler.rb:448:in `block (3 levels) in start_threads'

I think I will wait for the 19.8 release on this one. This is not a huge problem.

 
posted 9 years ago
peter_ljung 2 posts

Forum: Instiki – Topic: instiki_session cookie overflows after some editing

The instiki_session cookie seems to increase when I edit my Instiki site.

After a while I reach the 4kB limit and instiki returns an:

Status: 500 Internal Server Error
                  ActionController::Session::CookieStore::CookieOverflow

My web server (http://www.lounge.se) is setup as follows:

  • OpenBSD 5.6
  • ruby 2.0.0p481
  • passenger-4.0.44
  • mysql-server-5.1.7
  • Instiki 1.9.7

When I clear the cookie it start working again for a while until it reached 4k limit agina.

Any suggestions of what could be wrong?