Error between development and production modes

Hello,

I tryed to run Radiant (with home made and common extensions) in
production mode on localhost, and I got the following error when I’m
trying to go to my root page ‘/’ :

Processing SiteController#show_page (for 127.0.0.1 at 2008-09-26
17:00:13) [GET]
Parameters: {“url”=>“/”, “action”=>“show_page”, “controller”=>“site”}
Redirected to http://localhost:3000/admin/login
Filter chain halted as
[#<ActionController::Filters::ClassMethods::SymbolFilter:0x458a56c
@filter=:authenticate>] rendered_or_redirected.
Completed in 0.00010 (10000 reqs/sec) | DB: 0.00000 (0%) | 302 Found
[http://localhost/]

Processing WelcomeController#login (for 127.0.0.1 at 2008-09-26
17:00:13) [GET]
Session ID:
BAh7CzoMdXNlcl9pZGkHOg5yZXR1cm5fdG8iES9hZG1pbi9sb2dpbiIMdXNl%0Acl9pZDA6E3JlcXVlc3RlZF9wYWdlMCIKZmxhc2hJQzonQWN0aW9uQ29udHJv%0AbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoMY3NyZl9pZCIl%0ANGM0YTk2NmI4NzQ1M2I4YzkwOGMzNTRiZDZiNzhhMWY%3D–cde753e8bab17abf3eb9bd7071b865958d8173a3
Parameters: {“action”=>“login”, “controller”=>“admin/welcome”}
Redirected to http://localhost:3000/admin/login
Filter chain halted as
[#<ActionController::Filters::ClassMethods::SymbolFilter:0x458a56c
@filter=:authenticate>] rendered_or_redirected.
Completed in 0.00010 (10000 reqs/sec) | DB: 0.00000 (0%) | 302 Found
[http://localhost/admin/login]

And the last process “WelcomeController#login” loop many times before
dead the rails process…
But it is working if I’m running a radiant page I created in development
mode (like /my-page).

I can’t connect to the backend because /admin/login is dead. I’m not
extending ‘login’ or ‘show_page’ methods in my extensions.

I’m using the following Radiant extensions :

  • copy_move
  • page_preview
  • reorder
  • settings
  • share_layouts
  • wym_editor_filter

Let me know if you need more informations.

Thank you,
Vincent

Hello,

My error came from page_preview extension :
http://github.com/vigetlabs/radiant_page_preview_extension/tree/master

I created my package from scratch, and every thing is working now
without this extension. I didn’t take time to find what is the
problem… maybe someone has an idea?

Cheers,
Vincent