ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Template Error : uninitialized constant ApplicationHelper::Liquid

Added by Frédéric Thomas at 2012-02-23 08:57 pm

Hi everybody,

I have just installed ChiliProject 3.0 with the libapache2-mod-passenger and a mysql database on an Ubuntu 11.10. I am using the mysql2 driver.

But when I try to create an issue I get an internal Error with this log :

Processing IssuesController#create (for 192.168.41.20 at 2012-02-23 19:19:59) [POST]
Parameters: {"commit"=>"Create", "project_id"=>"mycompagny-si", "action"=>"create", "authenticity_token"=>"qls4C0dcjqIcZKbRxnhwcYGup5gNtg1vJyflA//0cWw=", "send_notification"=>"1", "issue"=>{"start_date"=>"2012-02-23", "estimated_hours"=>"2", "priority_id"=>"6", "parent_issue_id"=>"", "done_ratio"=>"0", "assigned_to_id"=>"", "subject"=>"Add the rsync management for the database", "tracker_id"=>"1", "due_date"=>"2012-02-29", "status_id"=>"1", "description"=>"Add the rsync to the second disk"}, "controller"=>"issues", "attachments"=>{"1"=>{"description"=>""}}}

ActionView::TemplateError (uninitialized constant ApplicationHelper::Liquid) on line #15 of app/views/mailer/_issue_text_html.rhtml:
12: <% end %>
13: </ul>
14:
15: <%= textilizable(issue, :description, :only_path => false) %>

app/helpers/application_helper.rb:489:in `textilizable'
app/views/mailer/_issue_text_html.rhtml:15:in `_run_rhtml_app47views47mailer47_issue_text_html46rhtml_locals_issue_issue_text_html_issue_url_object'
app/views/mailer/issue_add.text.html.rhtml:3:in `_run_rhtml_app47views47mailer47issue_add46text46html46rhtml'
app/models/mailer.rb:453:in `render_multipart'
app/models/mailer.rb:49:in `issue_add'
app/models/issue_observer.rb:21:in `after_create'
app/models/issue_observer.rb:20:in `each'
app/models/issue_observer.rb:20:in `after_create'
/usr/lib/ruby/1.8/observer.rb:185:in `notify_observers'
/usr/lib/ruby/1.8/observer.rb:184:in `each'
/usr/lib/ruby/1.8/observer.rb:184:in `notify_observers'
app/controllers/issues_controller.rb:122:in `create'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'

Does anyone get such errors ? How can I resolve it ?

Thanks a lot for your answers.

Frédéric


Replies (1)

RE: Template Error : uninitialized constant ApplicationHelper::Liquid - Added by Felix Schäfer at 2012-02-24 01:19 pm

Did you properly upgrade and restart ChiliProject?

(1-1/1)