|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
[PhillyOnRails] View Problem in Production
|
Hi,
I finished my first RoR application last night:-) So
I thought 'hey, time to upload my app'. So I uploaded
my entire rails directory (the one created when you do
the 'rails myapp' command). Nothing was working ...
so I started digging around and I immediately saw that
I had an FTP problem - the files were all corrupt.
So I ssh onto the machine and perform the 'rails
myapp' command and create a link to the public
directory so that my url goes to the index page when
you type www.mydomain.com. Everything looks good.
Then I start uploading a directory at a time (looks
like the FTP problem was with uploading directories
for some reason). I do the controllers, view, etc...
Now everything is looking real good. But for some
reason one controller is not working properly ...
actually it looks to work but I get a strange error on
the browser.
The controller has a redirect in it:
redirect("/thank_you")
Everything prior to this works. But the browser keeps
displaying the following:
Application error
Rails application failed to start properly"
So I look in the log file and see the following:
Redirected to http://www.thedomain.com/thank_you
Completed in 0.16235 (6 req/sec) | Rendering: 0.00626
(3%) | 200 OK
[http://www.thedomain.com/send_email/send_email]
I can go to http://www.thedomain/thank_you via the
browser - but the redirect does not seem to be
working. I also tried to do the default view and got
the same thing (by putting a view in the send_email
folder).
Has anyone seen anything like this? I am wondering if
I need to get past my FTP issues and find a way to
upload the entire directory structure created with the
code base. Just seems strange to me. Everything else
works well - database, dynamic pages, etc...
Thanks,
Jason
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
talk mailing list
talk@phillyonrails.org
http://lists.phillyonrails.org/mailman/listinfo/talk
|
|