very interesting bug about serving stacks... Re: [ANN] RevDoc home page launched

Andre Garzia andre at andregarzia.com
Wed Feb 4 12:25:38 CST 2009


Friends,

I've fixed this. For those that are not following this thread, there
was a trouble serving RevDoc.rev that started today and was very hard
to trace. The stack was in perfect shape on disk but when transfered
thru the web server, it would corrupt. At a time, no solid explanation
was obvious and I was bordering despair and blaming Revolution Engine
for it. Well, it was not revolution fault.

I did what I always do when servers play tricks on me, I launched
telnet and tried to see what the server was actually sending.

RevDoc uses HTML templates that are inside custom properties, I
noticed that inside those HTML there was new code added during the
apache transfer!!!! I use a google analytics module that is supposed
to add the analytics code to all html transfered automatically, well
the stupid thing is adding the google code to my custom props on the
fly and breaking things. I sees the body tag flying around and
overwrites it.

I've disabled the module and now things are loading fine. Sorry for
this disturbance, I never thought something could see inside my custom
props while they are being transfered (and try to modify them)...

ARGH!!!!!

Problem resolved, sorry for the inconvenience.

Andre



On Wed, Feb 4, 2009 at 4:07 PM, Andre Garzia <andre at andregarzia.com> wrote:
> does anyone here knows what corrupts a stack? I tried opening from
> disk here using all versions of Rev, it always open, as soon as I
> transfer it to the server it breaks!!! ARRRGGHHHHH
>
> still trying, will try a compressed stack.
>
> On Wed, Feb 4, 2009 at 3:54 PM, Klaus Major <klaus at major-k.de> wrote:
>> Hi all,
>>
>>> Hi Chipp and all,
>>>
>>>> Andre,
>>>> http://andregarzia.com/RevDoc.rev
>>>>
>>>>
>>>> gives me a corrupt file???
>>>
>>> guys, you are spoiled!
>>>
>>> Believe it or not, this is infact a REAL website URL and no online stack
>>> :-D
>>>
>>> Point your browser to:
>>> http://andregarzia.com/revdoc/
>>
>> DAMN! So embarrassing!
>> Sorry, I mixed this up somehow...
>>
>> Of course that is an online stack:
>> http://andregarzia.com/RevDoc.rev
>>
>> And this is the website:
>> http://andregarzia.com/revdoc/
>>
>>
>> Best
>>
>> Klaus
>>
>> --
>> Klaus Major
>> klaus at major-k.de
>> http://www.major-k.de
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
>
> --
> http://www.andregarzia.com All We Do Is Code.
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list