Michael,
Thanks. I'm still not getting things rolling. I have 2 apps running on my
Mac using Locomotive. One of them being Radiant.
eApps preinstall rails on under the "html" directory which only led to
confusion. Based on their instructions I put the radiant
folder under the html directory also. I ftp'ed the app from my Mac directly.
I've created the databases and loaded the data I had in my development db.
I can actually go to the rails console and interact with the model objects:
ruby script/console
Loading development environment.
>> page=Page.new
=> #<Page:0xb7544490 @attributes={"virtual"=>false, "slug"=>nil,
"updated_at"=>nil, "behavior_id"=>nil, "title"=>nil, "created_by"=>nil,
"breadcrumb"=>nil, "updated_by"=>nil, "published_at"=>nil, "status_id"=>1,
"layout_id"=>nil, "parent_id"=>nil, "created_at"=>nil}, @new_record=true>
When I navigate to http://mysite/public/ I see the RoR welcome page. If I
navigate to
http://mysite/radiant/public I see this:
--------------------------------------
#!/usr/bin/env 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!
--------------------------------------
The other application I have uploaded is a photo album app (from a RoR
book). When I try that one (http://mysite/photos/public) I get this:
--------------------------------------
Application error
-----------------
Rails application failed to start properly
--------------------------------------
When I check the server logs when I hit the radiant page I see nothing
(which sounds like the request is not being intercepted by any kind of
cgi process. On the photo album app I see the following entries in the
server log:
[Sat Nov 18 19:36:25 2006] [error] [client 70.227.199.129] failed to open
log file
[Sat Nov 18 19:36:25 2006] [error] [client 70.227.199.129] fopen:
Permission denied
[Sat Nov 18 19:36:25 2006] [error] [client 70.227.199.129] Premature end
of script headers: dispatch.cgi
Thanks,
Brian
>Message: 3
>Date: Fri, 17 Nov 2006 22:41:38 -0800
>From: "Michael Jones" <[EMAIL PROTECTED]>
>Subject: Re: [Radiant] Radiant on eApps
>To: [email protected]
>Message-ID:
> <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>I'm not sure why you have a RAILS_ROOT/app/config directory?
>
>You want to edit RAILS_ROOT/config/routes.rb
>
>Here is more info on routes:
>http://manuals.rubyonrails.com/read/chapter/65#page164
On 11/17/06, Brian Sam-Bodden <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Has anybody succesfully configured Radiant on an eapps.com VPS? I have a
> horrible time following the instructions at
> http://support.eapps.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=108
> I just can't get the routes.rb modifications they are talking about to
> work. I'm a RoR newbie so the part that is really confusing is that they
> have a directory structure like:
>
> virtual_domain/
> html/
> app/
> components/
> config/
> ...
>
> and they tell me that to add my app (in this case Radiant) under /html and
> then modify the routes.rb (I'm assuming the one at html/config (not the one
> under html/app/config). Any ideas?
>
> Thanks,
> Brian
>
>
> _______________________________________________
> Radiant mailing list
> Post: [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant