maninc / fedena Goto Github PK
View Code? Open in Web Editor NEWProject Fedena open source school management system based on Ruby on Rails.
Home Page: http://www.projectfedena.org/
Project Fedena open source school management system based on Ruby on Rails.
Home Page: http://www.projectfedena.org/
After creating an application, the Admission link in the admin menu results in 500 error. Logs show that the template is broken. I am not sure if this is an issue with Fedena in general, or just this fork.
Processing StudentController#admission1 (for 127.5.17.129 at 2013-08-28 08:26:27) [GET]
Parameters: {"action"=>"admission1", "controller"=>"student"}
Rendering template within layouts/application
Rendering student/admission1
ActionView::TemplateError (missing interpolation argument in "%Y-%m-%{count}" ({:object=>"2013-08-28"} given)) on line #66 of app/views/student/admission1.html.erb:
63: <div class="student_admission_date">
64: <label for="student_admission_date"><%= t('admission_date') %> <span class="necessary-field">*</span> </label>
65: <div class="text-input-bg-admission">
66: <%= calendar_date_select_tag 'student[admission_date]', I18n.l(Date.today,:format=>:default),
67: :year_range => 15.years.ago..5.years.from_now, :readonly=>true, :popup=>"force" %>
68: </div>
69: </div>
vendor/bundle/ruby/1.8/gems/i18n-0.4.0/lib/i18n/backend/base.rb:177:in `interpolate_without_deprecated_syntax'
vendor/bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/i18n_interpolation_deprecation.rb:21:in `interpolate'
vendor/bundle/ruby/1.8/gems/i18n-0.4.0/lib/i18n/backend/base.rb:48:in `translate'
vendor/bundle/ruby/1.8/gems/i18n-0.4.0/lib/i18n/backend/fallbacks.rb:45:in `translate'
vendor/bundle/ruby/1.8/gems/i18n-0.4.0/lib/i18n/backend/fallbacks.rb:43:in `each'
vendor/bundle/ruby/1.8/gems/i18n-0.4.0/lib/i18n/backend/fallbacks.rb:43:in `translate'
vendor/bundle/ruby/1.8/gems/i18n-0.4.0/lib/i18n.rb:152:in `t'
vendor/bundle/ruby/1.8/gems/i18n-0.4.0/lib/i18n/backend/base.rb:61:in `localize'
vendor/bundle/ruby/1.8/gems/i18n-0.4.0/lib/i18n.rb:231:in `l'
app/views/student/admission1.html.erb:66
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_helper.rb:499:in `fields_for'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_helper.rb:282:in `form_for'
app/views/student/admission1.html.erb:43
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in `send'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in `render'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in `with_template'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in `render'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in `render_without_benchmark'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render_without_wicked_pdf'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render_without_wicked_pdf'
app/controllers/application_controller.rb:320:in `render'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1326:in `default_render'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1332:in `perform_action_without_filters'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
vendor/bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
vendor/bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
vendor/bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
vendor/bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
vendor/bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
vendor/bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
vendor/bundle/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:106:in `call'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/rack/request_handler.rb:97:in `process_request'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_request_handler.rb:521:in `accept_and_process_next_request'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/classic_rails/application_spawner.rb:99:in `spawn_application'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/utils.rb:470:in `safe_fork'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/classic_rails/application_spawner.rb:84:in `spawn_application'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb:230:in `spawn_rails_application'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/usr/share/rubygems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/usr/share/rubygems/gems/passenger-3.0.21/helper-scripts/passenger-spawn-server:102
Rendering /var/lib/openshift/521de8635973ca53ce000274/app-root/runtime/repo/public/500.html (500 Internal Server Error)
please can you post an update with a working admission link.thanks
This fork of fedena is much updated and seems promising. Could you pay a look at it, and if possible port to openshift ?
PDF Reports were giving a 500 error. None of the reports can be generated as PDF.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.