# 500 status on /admin/

**URL:** <https://www.ruby-forum.com/t/500-status-on-admin/97458>\
**Category:** Radiant CMS\
**Created:** [July 7, 2006, 5:33am UTC](https://www.ruby-forum.com/t/500-status-on-admin/97458 "2006-07-07T05:33:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuartbrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Post date:** [July 7, 2006, 5:33am UTC](https://www.ruby-forum.com/t/500-status-on-admin/97458/1 "2006-07-07T05:33:29Z")

</div>

I’ve just installed radiant locally on Ubuntu 6.06 / MySQL 5.0.22. I  
have no problems accessing the application running on localhost:3000 but  
when I try to access the [http://localhost:3000/admin/](http://localhost:3000/admin/) controller I get a  
status 500 with the message “Change this error message for exceptions  
thrown outside of an action (like in Dispatcher setups or broken Ruby  
code) in public/500.html”.

I’m obviously a new rails user and completely clueless about radiant.  
I’m just assuming some kind of permissions/authentication error that is  
throwing an un-handled exception. Any ideas?

I’ve played with the demo and am very excited about this CMS. I just  
need to get a little more experience with rails/ruby/webrick  
configuration.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![stuartbrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Post date:** [July 7, 2006, 3:07pm UTC](https://www.ruby-forum.com/t/500-status-on-admin/97458/2 "2006-07-07T15:07:48Z")

</div>

A 500 error is the generic catch-all for Rails apps. I’d say the first  
thing  
to do is check your log file in log/development.log. If you’re running  
with  
Webbrick you should also be able to follow what’s happening in the  
terminal  
window. Since you’re getting a functioning application at the root  
level, it  
sounds like most everything is configured correctly. Post back if you  
find  
something interesting!

(My first post to this list - hopefully it’s useful. Let me just say  
Radiant  
is excellent & deserves the hype it’s been given! I’m hoping to help out  
the  
community because great software needs a great community.)

|| Dean

---

<div class="post-metadata">

**Author:** ![stuartbrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Post date:** [July 8, 2006, 6:29am UTC](https://www.ruby-forum.com/t/500-status-on-admin/97458/3 "2006-07-08T06:29:21Z")

</div>

Stuart B. wrote:

> I’ve just installed radiant locally on Ubuntu 6.06 / MySQL 5.0.22. I  
> have no problems accessing the application running on localhost:3000 but  
> when I try to access the [http://localhost:3000/admin/](http://localhost:3000/admin/) controller I get a  
> status 500 with the message “Change this error message for exceptions  
> thrown outside of an action (like in Dispatcher setups or broken Ruby  
> code) in public/500.html”.

Stuart, did Dean’s advice help?

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![stuartbrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Post date:** [October 2, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/500-status-on-admin/97458/4 "2006-10-02T17:05:30Z")

</div>

John W. Long wrote:

> Stuart B. wrote:
> 
> > I’ve just installed radiant locally on Ubuntu 6.06 / MySQL 5.0.22. I  
> > have no problems accessing the application running on localhost:3000 but  
> > when I try to access the [http://localhost:3000/admin/](http://localhost:3000/admin/) controller I get a  
> > status 500 with the message “Change this error message for exceptions  
> > thrown outside of an action (like in Dispatcher setups or broken Ruby  
> > code) in public/500.html”.
> 
> Stuart, did Dean’s advice help?
> 
> –  
> John L.  
> [http://wiseheartdesign.com](http://wiseheartdesign.com)

Hi all, since Stuart didn’t reply and I am loathe to start a new thread  
I thought I would just hijack this one since we are having the same  
problem. I set up Radiant using cgi with no problems, but when I change  
my .htaccess to use fastcgi I get a 500 error when I try to access  
/admin switching back to cgi fixes the problem, but who in the world  
wants to use cgi.

I get no errors in either the apache (1.3) logs or in any of the ruby  
logs.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![stuartbrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Post date:** [October 2, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/500-status-on-admin/97458/5 "2006-10-02T17:17:16Z")

</div>

Phil,

Make sure that dispatch.fcgi is executable and that the shebang line  
points  
directly to your ruby installation and not /usr/bin/env ruby.

> From a shell, you can type ‘which ruby’ to find out where ruby is installed.

Other than those, make sure that dispatch.fcgi is readable and  
executable by  
the Apache user.

Sean C.  
[seancribbs.com](http://seancribbs.com)

---

<div class="post-metadata">

**Author:** ![stuartbrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Post date:** [October 17, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/500-status-on-admin/97458/6 "2007-10-17T22:03:12Z")

</div>

Did anyone resolve this error? I have the same problem and can’t seem  
to find a solution that works.

> Hi Sean,
> 
> Tried both of these and no joy. My Ruby is at /usr/bin/ruby and the  
> ownership of dispatch.fcgi is myuser:httpd (this is a vhost in a shared  
> environment) with permissions of 755. Still no joy. I don’t think it’s  
> a permissions issue as all other pages display just fine even after  
> clearing the cache. The only problem I have is with /admin.

---

<div class="post-metadata">

**Author:** ![stuartbrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Post date:** [October 3, 2006, 2:01pm UTC](https://www.ruby-forum.com/t/500-status-on-admin/97458/7 "2006-10-03T14:01:30Z")

</div>

Sean C. wrote:

> Phil,
> 
> Make sure that dispatch.fcgi is executable and that the shebang line  
> points  
> directly to your ruby installation and not /usr/bin/env ruby.
> 
> > From a shell, you can type ‘which ruby’ to find out where ruby is installed.
> 
> Other than those, make sure that dispatch.fcgi is readable and  
> executable by  
> the Apache user.
> 
> Sean C.  
> [seancribbs.com](http://seancribbs.com)

Hi Sean,

Tried both of these and no joy. My Ruby is at /usr/bin/ruby and the  
ownership of dispatch.fcgi is myuser:httpd (this is a vhost in a shared  
environment) with permissions of 755. Still no joy. I don’t think it’s  
a permissions issue as all other pages display just fine even after  
clearing the cache. The only problem I have is with /admin.
