Also this section seems relevant where it refers to specific page action but I 
can't figure out exactly what the problem is...:

Processing Admin::WelcomeController#login (for 98.143.144.89 at 2010-11-05 
03:16:43) [GET]
  Parameters: {"action"=>"login", "controller"=>"admin/welcome"}
Redirected to http://orgnot.com/admin/welcome
Completed in 19ms (DB: 1) | 302 Found [http://orgnot.com/admin/login]


Processing Admin::WelcomeController#login (for 98.143.144.89 at 2010-11-05 
03:16:44) [GET]
  Parameters: {"action"=>"login", "controller"=>"admin/welcome"}
Redirected to http://orgnot.com/admin/welcome
Completed in 6ms (DB: 1) | 302 Found [http://orgnot.com/admin/login]


Processing Admin::WelcomeController#index (for 98.143.144.89 at 2010-11-05 
03:16:44) [GET]
  Parameters: {"action"=>"index", "controller"=>"admin/welcome"}
Redirected to http://orgnot.com/admin/pages
Completed in 6ms (DB: 1) | 302 Found [http://orgnot.com/admin/welcome]


Processing Admin::PagesController#index (for 98.143.144.89 at 2010-11-05 
03:16:45) [GET]
  Parameters: {"action"=>"index", "controller"=>"admin/pages"}
Rendering template within layouts/application
Rendering admin/pages/index

ActionView::TemplateError (PGError: ERROR:  relation "custom_fields" does not 
exist
LINE 1: SELECT * FROM "custom_fields" WHERE ("custom_fields".page_id...
                      ^
: SELECT * FROM "custom_fields" WHERE ("custom_fields".page_id = 1 AND (name = 
'stereotype'))  LIMIT 1) on line #1 of 
vendor/extensions/stereotype/app/views/admin/_stereotype_td.html.haml:
1: - stereotype = page.custom_fields.find(:first, :conditions => ["name = ?", 
"stereotype"])
2: %td.published_status.status
3:   = stereotype.value if stereotype

    vendor/extensions/stereotype/app/views/admin/_stereotype_td.html.haml:1:in 
`_run_haml_vendor47extensions47stereotype47app
On 05/11/2010, at 00:37, Jim Gay wrote:

> On Thu, Nov 4, 2010 at 11:24 PM, Obi <ezi...@gmail.com> wrote:
>> Thanks for the tip, I ran the error log (just for last 20 results) and I got 
>> the following message which I do not understand:
>> 
>> passenger (2.2.15) lib/phusion_passenger/utils.rb:252:in `safe_fork'
>>    passenger (2.2.15) 
>> lib/phusion_passenger/railz/application_spawner.rb:377:in 
>> `handle_spawn_application'
>>    passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in 
>> `__send__'
>>    passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in 
>> `main_loop'
>>    passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:196:in 
>> `start_synchronously'
>>    passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:163:in `start'
>>    passenger (2.2.15) 
>> lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
>>    passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:253:in 
>> `spawn_rails_application'
>>    passenger (2.2.15) 
>> lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
>>    passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:247:in 
>> `spawn_rails_application'
>>    passenger (2.2.15) 
>> lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
>>    passenger (2.2.15) 
>> lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
>>    passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:246:in 
>> `spawn_rails_application'
>>    passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:145:in 
>> `spawn_application'
>>    passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:278:in 
>> `handle_spawn_application'
>>    passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in 
>> `__send__'
>>    passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in 
>> `main_loop'
>>    passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:196:in 
>> `start_synchronously'
>> 
>> Rendering /var/www/orgnot/public/500.html (500 Internal Server Error)
>> 
>> Does this tell you guys anything?
> 
> You need more than 20. Look through the errors to find something that
> came from your application and that's how you can start tracking it
> down.
> There might be a line in there similar to this:
> 
> /export/home/obi/radiant_app/vendor/extensions/something/something_extension.rb:13
> 
> That will point you to a file and a line number where the error
> occurred. But you need to look further up the log. Try the last 200
> lines.
> 
>> 
>> Cheers
>> 
>> On 04/11/2010, at 23:35, Jim Gay wrote:
>> 
>>> On Thu, Nov 4, 2010 at 8:00 PM, Obi <ezi...@gmail.com> wrote:
>>>> Hi Guys,
>>>> 
>>>> For some reason I can no longer log into my Radiant admin Panel, when I try
>>>> I get the following message:
>>>> 
>>>> Application error
>>>> 
>>>> Change this error message for exceptions thrown outside of an action (like
>>>> in Dispatcher setups or broken Ruby code) in public/500.html
>>>> 
>>>> I have no idea what caused this and would appreciate any help. If there is
>>>> anymore info you need that would help you help me, then just ask.
>>>> Thanks
>>> 
>>> You'll need to login to your server and get details from the log.
>>> 
>>> tail -900 log/production.log
>>> 
>>> for the last 900 lines in the log (don't post them all here, please)
>>> Or "tail -400", "tail -999999", etc
>>> 
>>> 
>>> 
>>> --
>>> Jim Gay
>>> Saturn Flyer LLC
>>> http://www.saturnflyer.com
>>> 571-403-0338
>> 
>> 
> 
> 
> 
> -- 
> Jim Gay
> Saturn Flyer LLC
> http://www.saturnflyer.com
> 571-403-0338

Reply via email to