# Error between development and production modes

**URL:** <https://www.ruby-forum.com/t/error-between-development-and-production-modes/149603>\
**Category:** Radiant CMS\
**Created:** [September 26, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/error-between-development-and-production-modes/149603 "2008-09-26T18:08:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vpredoehl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/67e7ee/32.png) [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Post date:** [September 26, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/error-between-development-and-production-modes/149603/1 "2008-09-26T18:08:03Z")

</div>

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](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/](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](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](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

---

<div class="post-metadata">

**Author:** ![vpredoehl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/67e7ee/32.png) [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Post date:** [September 28, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/error-between-development-and-production-modes/149603/2 "2008-09-28T18:05:24Z")

</div>

Hello,

My error came from page\_preview extension :  
[http://github.com/vigetlabs/radiant\_page\_preview\_extension/tree/master](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
