Hi all, I tried porting over the default Photos app from RoR: up and running, to my VPS hosted environemnt. I finally got everything up and running on apache, and the app worked for a few days with no problems. Then, yesterday, I started getting Application Error (Rails) whenever I would go to the slideshow mode of the project. This persisted until I cleared my mysql database and reloaded the data from scratch. This leads me to believe it was a problem with some of the mysql data, but I cannot confirm this. Is there any way to easily check which piece of data was causing the problem? Note that the logs did not tell me anything. Any way to tweak/configure mysql to avoid this in the future? Thanks, Brian -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
the logs must have said *something*, even if it seemed meaningless at the time... can you send the log entry for the failure? dorian Brian wrote:> Hi all, > I tried porting over the default Photos app from RoR: up and running, to > my VPS hosted environemnt. I finally got everything up and running on > apache, and the app worked for a few days with no problems. Then, > yesterday, I started getting Application Error (Rails) whenever I would > go to the slideshow mode of the project. This persisted until I cleared > my mysql database and reloaded the data from scratch. This leads me to > believe it was a problem with some of the mysql data, but I cannot > confirm this. Is there any way to easily check which piece of data was > causing the problem? Note that the logs did not tell me anything. Any > way to tweak/configure mysql to avoid this in the future? > Thanks, > Brian >-- I do things for love or money --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi Dorian, Honestly, the logs said nothing relevant. I hear things are logged much less in production mode, but there was nothing in them... B Dorian Mcfarland wrote:> the logs must have said *something*, even if it seemed meaningless at > the time... > can you send the log entry for the failure? > > dorian > > Brian wrote: >> way to tweak/configure mysql to avoid this in the future? >> Thanks, >> Brian >> > > -- > I do things for love or money-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
-----Original Message----- From: rubyonrails-talk@googlegroups.com [mailto:rubyonrails-talk@googlegroups.com]On Behalf Of Brian Sent: Saturday, September 09, 2006 3:42 PM To: rubyonrails-talk@googlegroups.com Subject: [Rails] Application Error (Rails) Hi all, I tried porting over the default Photos app from RoR: up and running, to my VPS hosted environemnt. I finally got everything up and running on apache, and the app worked for a few days with no problems. Then, yesterday, I started getting Application Error (Rails) whenever I would go to the slideshow mode of the project. This persisted until I cleared my mysql database and reloaded the data from scratch. This leads me to believe it was a problem with some of the mysql data, but I cannot confirm this. Is there any way to easily check which piece of data was causing the problem? Note that the logs did not tell me anything. Any way to tweak/configure mysql to avoid this in the future? Thanks, Brian -- Posted via http://www.ruby-forum.com/. Brian, If it happens again, check for null values in the database in important fields. I have found that setting a default value that is not null (in your migrations) will help resolve those sorts of problems. That is just an idea though. Without seeing the specifics it is hard to know for sure what is happening. Nathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---