A key is required to write a cookie containing the session data.

2010-02-08 Thread Charles M Magid
Thank you very much in advance for any and all help on this.

Symptom:

  The app http://hope-for-the-future.heroku.com/ returns 'App failed
to start' on load.

  See Pastie: http://pastie.org/815793 for trace
  github: http://github.com/trevorturk/static  See deployment to
heroku 2/3 of the way down the page

  Error message:

cookie_store.rb:163:in `ensure_session_key':   A key is required
to write a cookie containing the session data.   Use
config.action_controller.session =   { :key =
_myapp_session, :secret = some secret phrase }   in config/
environment.rb (ArgumentError)


Briefly:

  I am using 'static' CMS by trevorturk / static on github and using
the heroku deployment instructions.

  The app works locally so I hoped it would just deploy, even though
there were directions on deploying to heroku I didn't groke, ie:

  ...
  mate config/config.yml # configure the production environment
  rake s3:create
  rake heroku:config
  ...
  heroku rake db:schema:load
  ...

  Above may be a red herring.


Seems like the following lines need to be changed, but to what and
where is the doc on this?

  environment.rb has the following lines:

config.action_controller.session = {
  :key = CONFIG['session_key'],
  :secret = CONFIG['session_secret']
}

Is this a red herring?

Thank you in advance again,  your most appreciative booster.

Charles Magid

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Seeking pointer to doc for setting up domain name

2010-01-28 Thread Charles M Magid
A friend wants me to write a quick sample site for him.

He wants to buy a domain name (ie not me), he never did that before.
He just asked me where I will be hosting.   Does it matter where he
buys the domain name?   Can I do everything through Heroku for him?
Initially he wanted to give me the info he received from his registra
and have me connect up my app on Heroku to his domain.

Is there a simple minded recipe for doing this?  What info does he
need to give me?

If the site becomes popular and you need to charge him I don't want to
be charged, how to I transfer my app on Heroku to him?   Though I
guess this is getting a little ahead of myself.  Never mind, unless
there is a URL you can point me to for future reference. ;)

Heroku Rocks!

Best,


-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Can not find any of my data

2009-03-04 Thread Charles

App was gamestory.heroku.com and was migrated for me to herokugarden.
I can not find my son's data.   He spent many hours entering
stories.It would be very much appreciated if the data could be
recovered somehow.

Thank you in advance,

Charles
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---