A site I''m developing on my local machine is reporting intermittent JS errors. The firebug console will say something like: missing ; before statement elsencti$(''screenname1'').value.length) Notice the "elsencti" that''s not in my source file, it''s "else if". The files are corrupted somehow. If I flush the cache it will usually clear the issue, but it does popup again and again. Corrupt FF install? Anyone seen this before? TIA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I have no idea, but I''d use a tool like SoftX HTTP Debugger to inspect the server responses. That will let you know if the corruption is happening before it reaches the client or not. This question isn''t really appropriate for this forum though... Colin Daniel Eben Elmore wrote:> A site I''m developing on my local machine is reporting intermittent JS > errors. The firebug console will say something like: > > missing ; before statement > elsencti$(''screenname1'').value.length) > > Notice the "elsencti" that''s not in my source file, it''s "else if". The > files are corrupted somehow. If I flush the cache it will usually clear the > issue, but it does popup again and again. > > Corrupt FF install? Anyone seen this before? > > TIA > > > > > > . > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
By any chance are you using any type of compression on your js files? I have observed corruption of js files due to gzip (but only on some versions of IE not FF). -Mandy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Nope, no compression on these files. I am still on FF 1.5, maybe it was a brief problem with that release. I''ll upgrade and see. Thanks -----Original Message----- From: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Maninder, Singh Sent: Wednesday, February 07, 2007 3:11 AM To: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Subject: [Rails-spinoffs] Re: FF corrupting JS files? By any chance are you using any type of compression on your js files? I have observed corruption of js files due to gzip (but only on some versions of IE not FF). -Mandy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---