Difference between revisions of "Can't open GUI"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 61: | Line 61: | ||
That means mod_fcgid is not installed for Apache. | That means mod_fcgid is not installed for Apache. | ||
[[mod_fcgid installation| Install mod_fcgid]] |
Revision as of 20:34, 8 December 2007
Troubleshooting
- Check GUI log just after window fails to open.
Error
LoadError (Expected /home/mor/app/controllers/callc_controller.rb to define CallcController)
If you have Debian try:
NoMethodError (undefined method `in_place_edit_for' for CallcController:Class)
The problem is that overnight Rails 2.0 was released. That ruined MOR running properly.
To fix this you need to execute:
gem install rails -v=1.2.3
then go to /home/mor/config/environment.rb
and add line:
RAILS_GEM_VERSION = '1.2.3'
save and restart apache – it should work.
MOR code will be fixed to be Rails 2.0 compatible.
FCGI info is shown in text format
If you see something like this:
#!/usr/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log' # require File.dirname(__FILE__) + "/../config/environment" require 'fcgi_handler' RailsFCGIHandler.process!
That means mod_fcgid is not installed for Apache.