Hi everybody, I''m new to ruby, rails, and apache so please help me. After extracting the files and changing the windows hosts file according to website, my www.mycookbook.com and typo won''t load (using SCGI), I don''t use proxy and have disabled the firewall. The WEBrick won''t work either (the result is the same). I believe that the Apache and MySQL working fine because I can use phpMyAdmin without a problem. I tried to create a new rails application, and I can jump to the first welcome page, I can render_text in the derived controller without a problem (only if I use dispatch.cgi, not .fcgi but it took me 2 seconds to display "Hello world!"), but when I try scaffolding, the page won''t load either. I believe that my database.yml is OK, I just don''t know why it won''t connect to my database. If anybody know what''s going on please help. Thanks,John Tjanaka _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060208/98b378f8/attachment.htm
On 2/8/06, johncheung at excite.com <johncheung at excite.com> wrote:> > Hi everybody, > > I''m new to ruby, rails, and apache so please help me. After extracting the > files and changing the windows hosts file according to website, my > www.mycookbook.com and typo won''t load (using SCGI), I don''t use proxy and > have disabled the firewall. The WEBrick won''t work either (the result is the > same). I believe that the Apache and MySQL working fine because I can use > phpMyAdmin without a problem. > > I tried to create a new rails application, and I can jump to the first > welcome page, I can render_text in the derived controller without a problem > (only if I use dispatch.cgi, not .fcgi but it took me 2 seconds to display > "Hello world!"), but when I try scaffolding, the page won''t load either. I > believe that my database.yml is OK, I just don''t know why it won''t connect > to my database. > > If anybody know what''s going on please help.Try looking at the Apache error log (accessible from the main Instant Rails menu) and the scgi.log in the log subdirectory of each Rails app to see if they contain any useful information. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060208/981a8b1a/attachment.htm