Question: Last night I downloaded Instant Rails. I''m a n00b to programming. I keep running into the following error after making sure demo_development is correct in database.yml. When I try to start my apache server it gives me the following error: "Syntax error on line 320 of C:/instantrails/apache/conf/httpd.conf:DocumentRoot must be in a directory" I am not sure what I did wrong. I even wrote Matt Griffith and he doesn''t know either. Please help! I''ve attached the error to this message. -- Web Enterpriser www.webenterpriser.com Skype: webenterpriser Gizmo Project: webenterpriser AOL MESSENGER: webenterpriser MSN MESSENGER: webenterpriser at hotmail.com YAHOO MESSENGER: webenterpriser This message is the property of Web Enterpriser or his affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/e5112134/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: error.jpg Type: image/jpeg Size: 15481 bytes Desc: not available Url : http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/e5112134/attachment-0001.jpg
After you downloaded and extracted the files from the InstantRails zip file to a directory (like c:\InstantRails), did you then run c:\InstantRails\InstantRails.exe to update the configurations of apache and everything? The line that you reference (line 320) is one of the lines that gets updated when the configuration files are regenerated. Once you do that you can use the InstantRails.exe program to startup apache and mySQL together. --Bill ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of Web Enterpriser Sent: Wednesday, September 06, 2006 11:35 AM To: instantrails-users at rubyforge.org Subject: [Instantrails-users] Instant Rails Error Question: Last night I downloaded Instant Rails. I''m a n00b to programming. I keep running into the following error after making sure demo_development is correct in database.yml. When I try to start my apache server it gives me the following error: "Syntax error on line 320 of C:/instantrails/apache/conf/httpd.conf:DocumentRoot must be in a directory" I am not sure what I did wrong. I even wrote Matt Griffith and he doesn''t know either. Please help! I''ve attached the error to this message. -- Web Enterpriser www.webenterpriser.com Skype: webenterpriser Gizmo Project: webenterpriser AOL MESSENGER: webenterpriser MSN MESSENGER: webenterpriser at hotmail.com YAHOO MESSENGER: webenterpriser This message is the property of Web Enterpriser or his affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/3613b788/attachment.html
Yeah, one of the apache config lines must have gotten messed up somehow. Have you edited the apache config file? Probably the simplest thing to do is to unzip a fresh copy of Instant Rails and, as Bill said below, immediately run InstantRails.exe to cause IR to update all of the config files. Assuming everything works, you can thn copy your Rails ap into the fresh copy and delete your old, non-working copy. Curt On 9/6/06, William (Bill) Froelich <wfroelich at dbsnow.com> wrote:> > After you downloaded and extracted the files from the InstantRails zip > file to a directory (like c:\InstantRails), did you then run > c:\InstantRails\InstantRails.exe to update the configurations of apache and > everything? > > The line that you reference (line 320) is one of the lines that gets > updated when the configuration files are regenerated. > > Once you do that you can use the InstantRails.exe program to startup > apache and mySQL together. > > --Bill > > ------------------------------ > *From:* instantrails-users-bounces at rubyforge.org [mailto: > instantrails-users-bounces at rubyforge.org] *On Behalf Of *Web Enterpriser > *Sent:* Wednesday, September 06, 2006 11:35 AM > *To:* instantrails-users at rubyforge.org > *Subject:* [Instantrails-users] Instant Rails Error > > Question: Last night I downloaded Instant Rails. I''m a n00b to > programming. I keep running into the following error after making sure > demo_development is correct in database.yml. When I try to start my apache > server it gives me the following error: "Syntax error on line 320 of > C:/instantrails/apache/conf/httpd.conf:DocumentRoot must be in a directory" > I am not sure what I did wrong. I even wrote Matt Griffith and he doesn''t > know either. Please help! I''ve attached the error to this message. > > -- > Web Enterpriser > www.webenterpriser.com > > Skype: webenterpriser > Gizmo Project: webenterpriser > AOL MESSENGER: webenterpriser > MSN MESSENGER: webenterpriser at hotmail.com > YAHOO MESSENGER: webenterpriser > > This message is the property of Web Enterpriser or his affiliates. It may > be legally privileged and/or confidential and is intended only for the use > of the addressee(s). No addressee should forward, print, copy, or otherwise > reproduce this message in any manner that would allow it to be viewed by any > individual not originally listed as a recipient. If the reader of this > message is not the intended recipient, you are hereby notified that any > unauthorized disclosure, dissemination, distribution, copying or the taking > of any action in reliance on the information herein is strictly prohibited. > If you have received this communication in error, please immediately notify > the sender and delete this message. > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/6ef92f50/attachment.html
Only thing though is that it never prompted me to turn off apache. I just turned it off on my own. In the first part of the screencast, there is a point when Matt G. says, "opps it''s telling me i need to turn off apache." It was something about iis or along those lines. Well, since it didn''t prompt me to turn it off but i turned the apache server off neways. On 9/6/06, Curt Hibbs <curt.hibbs at gmail.com> wrote:> > Yeah, one of the apache config lines must have gotten messed up somehow. > Have you edited the apache config file? > > Probably the simplest thing to do is to unzip a fresh copy of Instant > Rails and, as Bill said below, immediately run InstantRails.exe to cause > IR to update all of the config files. > > Assuming everything works, you can thn copy your Rails ap into the fresh > copy and delete your old, non-working copy. > > Curt > > On 9/6/06, William (Bill) Froelich <wfroelich at dbsnow.com> wrote: > > > After you downloaded and extracted the files from the InstantRails zip > > file to a directory (like c:\InstantRails), did you then run > > c:\InstantRails\InstantRails.exe to update the configurations of apache and > > everything? > > > > The line that you reference (line 320) is one of the lines that gets > > updated when the configuration files are regenerated. > > > > Once you do that you can use the InstantRails.exe program to startup > > apache and mySQL together. > > > > --Bill > > > > ------------------------------ > > *From:* instantrails-users-bounces at rubyforge.org [mailto: > > instantrails-users-bounces at rubyforge.org] *On Behalf Of *Web Enterpriser > > *Sent:* Wednesday, September 06, 2006 11:35 AM > > *To:* instantrails-users at rubyforge.org > > *Subject:* [Instantrails-users] Instant Rails Error > > > > Question: Last night I downloaded Instant Rails. I''m a n00b to > > programming. I keep running into the following error after making sure > > demo_development is correct in database.yml. When I try to start my > > apache server it gives me the following error: "Syntax error on line 320 of > > C:/instantrails/apache/conf/httpd.conf:DocumentRoot must be in a directory" > > I am not sure what I did wrong. I even wrote Matt Griffith and he doesn''t > > know either. Please help! I''ve attached the error to this message. > > > > -- > > Web Enterpriser > > www.webenterpriser.com > > > > Skype: webenterpriser > > Gizmo Project: webenterpriser > > AOL MESSENGER: webenterpriser > > MSN MESSENGER: webenterpriser at hotmail.com > > YAHOO MESSENGER: webenterpriser > > > > This message is the property of Web Enterpriser or his affiliates. It > > may be legally privileged and/or confidential and is intended only for the > > use of the addressee(s). No addressee should forward, print, copy, or > > otherwise reproduce this message in any manner that would allow it to be > > viewed by any individual not originally listed as a recipient. If the reader > > of this message is not the intended recipient, you are hereby notified that > > any unauthorized disclosure, dissemination, distribution, copying or the > > taking of any action in reliance on the information herein is strictly > > prohibited. If you have received this communication in error, please > > immediately notify the sender and delete this message. > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >-- Web Enterpriser www.webenterpriser.com Skype: webenterpriser Gizmo Project: webenterpriser AOL MESSENGER: webenterpriser MSN MESSENGER: webenterpriser at hotmail.com YAHOO MESSENGER: webenterpriser This message is the property of Web Enterpriser or his affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060906/0ef990f7/attachment-0001.html