[Rails] Problem with Sessions

2010-01-09 Thread MattWim
Hi, Using Netbeans 6.7.1, Rails Gem Version 2.3.2 MySQL Server 5.1 I am currently doing the depot application from the pragmatic programmer book (agile web development with rails) everything has been fine up until the point of creating sessions. I know they are using an earlier version of Ruby

Re: [Rails] Problem with Sessions

2010-01-09 Thread Hassan Schroeder
On Sat, Jan 9, 2010 at 10:11 AM, MattWim mwim...@hotmail.com wrote: the website no longer works and I get the following error in WEBrick: ? I don't see any error in the following, and certainly nothing to do with sessions. Can you explain why you think you have some kind of problem? However,

Re: [Rails] Problem with Sessions

2010-01-09 Thread Curtis Cooley
Why is jruby even in the equation? Is it a Netbeans thing? On Sat, Jan 9, 2010 at 10:35 AM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Sat, Jan 9, 2010 at 10:11 AM, MattWim mwim...@hotmail.com wrote: the website no longer works and I get the following error in WEBrick: ? I

Re: [Rails] Problem with Sessions

2010-01-09 Thread MattWim
When i run the application I cannot access any of the pages (store, products...etc) I get an error page saying Sorry there is a problem with this page come up. If i remove the code from sessions_store and remove the DB creation the site begins to work again. I will look at updating my JRuby

Re: [Rails] Problem with Sessions

2010-01-09 Thread Curtis Cooley
On Sat, Jan 9, 2010 at 10:47 AM, MattWim mwim...@hotmail.com wrote: When i run the application I cannot access any of the pages (store, products...etc) I get an error page saying Sorry there is a problem with this page come up. If i remove the code from sessions_store and remove the DB

Re: [Rails] Problem with Sessions

2010-01-09 Thread Hassan Schroeder
On Sat, Jan 9, 2010 at 10:47 AM, MattWim mwim...@hotmail.com wrote: When i run the application I cannot access any of the pages (store, products...etc) I get an error page saying Sorry there is a problem with this page come up. If i remove the code from sessions_store and remove the DB

Re: [Rails] Problem with Sessions

2010-01-09 Thread MattWim
The log file doesnt seem to have anything wrong. I have just sent this to a friend and it all works on his pc, he is used exectly the same versions of JRuby, Netbeans, Webrick..etc and it works fine for him. The error I am getting is when i try to go to any page I get this: We're sorry, but

Re: [Rails] Problem with Sessions

2010-01-09 Thread Hassan Schroeder
On Sat, Jan 9, 2010 at 11:01 AM, MattWim mwim...@hotmail.com wrote: The log file doesnt seem to have anything wrong. Possible but unlikely -- what's the last entry when you get this 500 error? Its the books 500 internal error message. Could it be my browser settings? Actually, if you're

Re: [Rails] Problem with Sessions

2010-01-09 Thread MattWim
Thanks for your input guys, I have sorted the problem with the simplest of solutions I should have tried earlier... Restarted my pc, something must have messed up maybe with MySQL or maybe with my browser. I just got so used to it being my dodgy code!! Amazing how you can try and over complicate