ActionController::UnknownAction

5 views
Skip to first unread message

Josep Segura

unread,
Feb 12, 2010, 6:53:01 PM2/12/10
to lipsi...@googlegroups.com
Hi,

I'm playing with lipsiablog, trying to see how lipsiadmin works, but I have a problem that i'm not able to resolve, when I try to choose a category when creating a new post, I have the error:

Processing BackendController#base (for 127.0.0.1 at 2010-02-13 00:30:10) [GET]
  Parameters: {"small"=>"1", "toolbar"=>"0", "load"=>"/backend/categories.js"}
  Attachment Columns (1.1ms)   SHOW FIELDS FROM `attachments`
  Account Columns (1.6ms)   SHOW FIELDS FROM `accounts`
  Account Load (1.0ms)   SELECT * FROM `accounts` WHERE (`accounts`.`id` = 1) LIMIT 1
  Setting Load (0.2ms)   SELECT * FROM `settings` LIMIT 1
  Setting Columns (1.8ms)   SHOW FIELDS FROM `settings`

ActionController::UnknownAction (No action responded to base. Actions: wsdl):
  haml (2.2.16) lib/sass/plugin/rails.rb:19:in `process'

Since I don't what's happening, I've tried to follow the "screencast- Basic concepts", with similar result:

Processing Backend::MenusController#new (for 127.0.0.1 at 2010-02-12 23:39:15) [GET]
  Parameters: {"_dc"=>"1266014355719"}
  Account Columns (1.1ms)   SHOW FIELDS FROM `accounts`
  Account Load (0.2ms)   SELECT * FROM `accounts` WHERE (`accounts`.`id` = 1) LIMIT 1
  Account Load (0.2ms)   SELECT * FROM `accounts` WHERE (`accounts`.`id` = 1)
  CACHE (0.0ms)   SELECT * FROM `accounts` WHERE (`accounts`.`id` = 1)
  Menu Columns (1.1ms)   SHOW FIELDS FROM `menus`
Rendering backend/menus/new
Rendered backend/menus/_form (9.4ms)
Completed in 184ms (View: 54, DB: 3) | 200 OK [http://localhost/backend/menus/new?_dc=1266014355719]
  SQL (18.4ms)   SET NAMES 'utf8'
  SQL (0.1ms)   SET SQL_AUTO_IS_NULL=0


Processing BackendController#base (for 127.0.0.1 at 2010-02-12 23:39:20) [GET]
  Parameters: {"small"=>"1", "toolbar"=>"1", "load"=>"/backend/categories.js"}


I use rails 2.3.5, lipsiadmin 5.1.1 (for the screencast, 4.1.8 for the blog), mongrel, on an ubuntu 9.10 machine.

Any clues?

Josep.



Davide D'Agostino

unread,
Feb 12, 2010, 6:55:05 PM2/12/10
to lipsi...@googlegroups.com
Seems to be a problem with actionwebservice

Did you try:

sudo rake gems:install ?


--
Hai ricevuto questo messaggio perché sei iscritto al gruppo "Lipsiadmin" di Google Gruppi.
Per postare messaggi in questo gruppo, invia un'email a lipsi...@googlegroups.com.
Per annullare l'iscrizione a questo gruppo, invia un'email a lipsiadmin+...@googlegroups.com.
Per ulteriori opzioni, visita il gruppo all'indirizzo http://groups.google.com/group/lipsiadmin?hl=it.

Josep Segura

unread,
Feb 12, 2010, 6:59:15 PM2/12/10
to lipsi...@googlegroups.com
Yes, it was the way I installed lipsiadmin



2010/2/13 Davide D'Agostino <d.dag...@lipsiasoft.com>

Josep Segura

unread,
Feb 13, 2010, 11:39:12 AM2/13/10
to lipsi...@googlegroups.com
Davide,

I can not see the relationship of the error with actionwebservice, following the steps of the screencast I have this error when trying to select a category:

Processing BackendController#base (for 127.0.0.1 at 2010-02-13 17:36:32) [GET]

  Parameters: {"small"=>"1", "toolbar"=>"1", "load"=>"/backend/categories.js"}
  Account Columns (1.2ms)   SHOW FIELDS FROM `accounts`

  Account Load (0.2ms)   SELECT * FROM `accounts` WHERE (`accounts`.`id` = 1) LIMIT 1
  Account Load (0.1ms)   SELECT * FROM `accounts` WHERE (`accounts`.`id` = 1)

ActionView::MissingTemplate (Missing template backend/base.erb in view path app/views):

  haml (2.2.16) lib/sass/plugin/rails.rb:19:in `process'

2010/2/13 Davide D'Agostino <d.dag...@lipsiasoft.com>
Seems to be a problem with actionwebservice

Davide D'Agostino

unread,
Feb 13, 2010, 12:02:36 PM2/13/10
to lipsi...@googlegroups.com
Mmm strange for me all works well.

Try only one thing (but Im not sure that is the problem)

gem uninstall haml -a
gem install haml -v 2.2.3

Josep Segura

unread,
Feb 13, 2010, 12:40:51 PM2/13/10
to lipsi...@googlegroups.com
The problem persists...

Davide D'Agostino

unread,
Feb 13, 2010, 12:42:22 PM2/13/10
to lipsi...@googlegroups.com
Try to send me a zip with your app.

Davide D'Agostino

unread,
Feb 14, 2010, 6:53:35 PM2/14/10
to lipsi...@googlegroups.com
I tried your app and all thing works great except a problem with post.

ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'posts.permalink' in 'order clause': SELECT * FROM `posts`  ORDER BY posts.permalink DESC LIMIT 50):
  lipsiadmin (5.1.2) lib/controller/ext.rb:139:in `store_data_from'
  lipsiadmin (5.1.2) lib/controller/ext.rb:163:in `store_data'
  lipsiadmin (5.1.2) lib/controller/ext.rb:159:in `send'
  lipsiadmin (5.1.2) lib/controller/ext.rb:159:in `store_data'
  app/controllers/backend/posts_controller.rb:22:in `index'
  app/controllers/backend/posts_controller.rb:19:in `index'
  haml (2.2.19) lib/sass/plugin/rails.rb:19:in `process'

I changed only db settings:

development:
  adapter: mysql
  encoding: utf8
  database: onyar_development
  username: root
  pool: 5
  password:
  socket: /tmp/mysql.sock

And all work great.

Which ruby version do you use?


Il giorno 13/feb/2010, alle ore 18.40, Josep Segura ha scritto:

Josep Segura

unread,
Feb 15, 2010, 5:18:05 AM2/15/10
to lipsi...@googlegroups.com
Davide, thanks for your time. The ruby version I use is: ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]

I am a little confused with all this. I think I have some configuration problem somewhere...



2010/2/15 Davide D'Agostino <d.dag...@lipsiasoft.com>

Davide D'Agostino

unread,
Feb 15, 2010, 5:24:27 AM2/15/10
to lipsi...@googlegroups.com
Mmm, you have another machine for do a test? The problem seems to be with rails and haml that with in your env didn't know haml templates.

We use LipsiADMIN in Padrino Framework.

Install it: sudo gem install padrino an then follow "Complete Project" here: http://wiki.github.com/padrino/padrino-framework/basic-projects
Reply all
Reply to author
Forward
0 new messages