Well, hostmonster controls the rails system - they have it setup so
that it does not stop or start, its just there somehow - dont ask me,
i cant answer that. but maybe you have some insight?
the error is "Application error
Rails application failed to start properly"
I changed the environment to "development" but I still do not see any
additional error messages.
Now, if i remove the /vendor/plugins/active_scaffold directory the
site works, and if i try to navigate to a page i know has active
scaffold I get this error message (maybe this will help?):
NameError in Admin#index
Showing layouts/admin.html.erb where line #9 raised:
undefined local variable or method `active_scaffold_includes' for
#<ActionView::Base:0x2b87d232d248>
Extracted source (around line #9):
6: <meta http-equiv="content-type" content="text/html;charset=UTF-8" /
>
7: <title>GDC Medical Website Administration</title>
8: <%= javascript_include_tag :defaults %>
9: <%= active_scaffold_includes %>
10: </head>
11: <body>
12:
RAILS_ROOT: /home/gdcmedic/public_html/gdc
Application Trace | Framework Trace | Full Trace
app/views/layouts/admin.html.erb:9:in
`_run_erb_47app47views47layouts47admin46html46erb'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb:
338:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb:
338:in `execute'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/
template_handlers/compilable.rb:29:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/
template_handlers/compilable.rb:29:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/
template.rb:35:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/
template.rb:22:in `render_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb:
245:in `render_file'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
layout.rb:257:in `render_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:51:in `render'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
core_ext/benchmark.rb:8:in `realtime'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:51:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:1157:in `default_render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:1168:in `perform_action_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
filters.rb:580:in `call_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
filters.rb:573:in `perform_action_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
rescue.rb:201:in `perform_action_without_caching'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
caching/sql_cache.rb:13:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
connection_adapters/abstract/query_cache.rb:33:in `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
query_cache.rb:8:in `cache'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
caching/sql_cache.rb:12:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:529:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:529:in `process_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
filters.rb:569:in `process_without_session_management_support'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
session_management.rb:130:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:389:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:149:in `handle_request'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:107:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:104:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:104:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:120:in `dispatch_cgi'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:35:in `dispatch'
dispatch.cgi:10
app/views/layouts/admin.html.erb:9:in
`_run_erb_47app47views47layouts47admin46html46erb'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb:
338:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb:
338:in `execute'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/
template_handlers/compilable.rb:29:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/
template_handlers/compilable.rb:29:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/
template.rb:35:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/
template.rb:22:in `render_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb:
245:in `render_file'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
layout.rb:257:in `render_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:51:in `render'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
core_ext/benchmark.rb:8:in `realtime'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:51:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:1157:in `default_render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:1168:in `perform_action_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
filters.rb:580:in `call_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
filters.rb:573:in `perform_action_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
rescue.rb:201:in `perform_action_without_caching'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
caching/sql_cache.rb:13:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
connection_adapters/abstract/query_cache.rb:33:in `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
query_cache.rb:8:in `cache'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
caching/sql_cache.rb:12:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:529:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:529:in `process_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
filters.rb:569:in `process_without_session_management_support'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
session_management.rb:130:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:389:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:149:in `handle_request'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:107:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:104:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:104:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:120:in `dispatch_cgi'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:35:in `dispatch'
dispatch.cgi:10
Request
Parameters:
None
Show session dump
---
:return_to:
:csrf_id: 0490ae8c9c10ec5a11b237c5ce34a521
:user_id: 2
flash: !map:ActionController::Flash::FlashHash {}
Response
Headers:
{"Status"=>"200 OK",
"cookie"=>[],
"Cache-Control"=>"no-cache"}
-One thing I should note: the site is located in a different directory
than it used to on the host - it used to be under "public" but now it
is "test" so imagine domainname.com/test instead of domannaim.com/
public
or for the area where the active scaffold is located domainname.com/
test/admin
interestingly i found that if I try to log out of admin (when i remove
active scaffold calls to see if I can atleast log in) it tells me that
domainname.com/logout does not exist - however it should be set to
domainname.com/test/logout.
Is there a link to these issues? if not, lets stick to the active
scaffold problem.
Thanks,
-joel
On Sep 4, 4:43 pm, cntrytwist <[EMAIL PROTECTED]> wrote:
> Seeing the exact output from the error would help in figuring out what
> is wrong.
>
> AS init copies files into the public folder each time the webserver
> starts up. So if you try to put AS into a running application, no
> changes will happen.
> That is just my thoughts without anything to go one.
> Hope that may point you into the right direction.
>
> On Sep 4, 11:51 am, Capslock118 <[EMAIL PROTECTED]> wrote:
>
> > First a few bits of info:
> > site is on hostmonster.com
> > rails 2.1.0 (or is it 2.0.1?)
>
> > I have the site on my local server and it runs great with the active
> > scaffold in place. The site is running great on hostmonster.com
> > without the /vendor/plugins/active_scaffold directory and contents. -
> > this however prevents me from using the active_scaffolds (used in
> > admin site modifying area) and in fact I get an error saying that
> > active_scaffolds is missing - i cant give the exact error at the
> > moment, i can at a later time today.
>
> > The second I start moving my local copy of /vendor/plugins/
> > active_scaffold (which works) to my sites equivielent location I
> > recieve a "Application Error: Rails failed to start properly".
>
> > I decided to create a new rails project on the same server named test,
> > then uploaded the active_scaffolds folder to the correct directory to
> > see if this would effect a site that does not use the active-scaffolds
> > and I did not experience this error.
>
> > It looks to me like something is pointing in the wrong direction or
> > something - I do not know the inner workings of active_scaffold, does
> > anyone have any insight to this? am i on the right track with my
> > statement?
>
> > Note: i have moved other plugins in the same fashion and they work
> > fine.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---