Page 1 of 1

a serious bug .I have worked it for 2 days..help

Posted: Fri Mar 19, 2010 2:13 am
by guosheng1987
http://127.0.0.1/test/prototype.js

when I access this url in firefox .it is different from my real js file..

I show to you my error example

Code: Select all

Element.Methods.getStyle = function(element, style) {
    element = $(element);
    style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize();
    var value = element.style[style];
    if (!value && element.currentStyle) value = element.currentStyle[style];
 
    if (style == 'opacity') {
      if (value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/))
        if (value[1]) return parseFloat(va/*  Prototype JavaScript framework, version 1.6.0.3
 *  (c) 2005-2008 Sam Stephenson
 *
 *  Prototype is freely distributable under the terms of an MIT-style license.
 *  For details, see the Prototype web site: http://www.prototypejs.org/
 *
 *--------------------------------------------------------------------------*/
 
var Prototype = {
  Version: '1.6.0.3',
 
look at the note ,in fact it shouldn't be showed here .
and my whole prototype.js in my directory is ok..

Re: a serious bug .I have worked it for 2 days..help

Posted: Fri Mar 19, 2010 2:17 am
by guosheng1987
both ie and ff get the same problem .
and what's more .if this file is small ..includes less than 2000 line ..it's ok..

I cann't find any way to deal with this bug..I'd like to suck my self in the nuts.

please help ..
:?

Re: a serious bug .I have worked it for 2 days..help

Posted: Fri Mar 19, 2010 2:56 am
by M2tM
POP QUIZ: What is wrong with this link? http://127.0.0.1/test/prototype.js

Hint: nobody else can see the contents of it.

Re: a serious bug .I have worked it for 2 days..help

Posted: Fri Mar 19, 2010 3:21 am
by guosheng1987
M2tM wrote:POP QUIZ: What is wrong with this link? http://127.0.0.1/test/prototype.js

Hint: nobody else can see the contents of it.

now I get another question.. and it's like the first one
my http couldn't analyse a big file .like image..

here is my html code

<img src="123.jpg"/></img>
emperasize ..only one picture.


in my browser window .this picture is not fully displayed ..some part of it was disturbed by something..

I strongly assume that it's some virus made it

Re: a serious bug .I have worked it for 2 days..help

Posted: Fri Mar 19, 2010 3:40 am
by guosheng1987
Image

.this is my problem

in fact ,my picture is complete

Re: a serious bug .I have worked it for 2 days..help

Posted: Fri Mar 19, 2010 3:42 am
by Luke
First off, this is not a PHP question. This is a client-side question. Please choose the appropriate forum to post your question. Second, choose a descriptive, specific, yet concise thread title. When people are browsing the forums, all they see is your thread title. How are they supposed to know if they can help you if your thread title gives them no indication of what your problem is. Please update your thread title and make it more specific to your problem.

I have moved this thread to client side, as that is where you should have posted it.

EDIT: Also, please don't say things like "suck yourself in the nuts". Although I believe that was supposed to be "sock myself", it still is inappropriate. We like to keep the language family-friendly here. Thanks.

Re: a serious bug .I have worked it for 2 days..help

Posted: Fri Mar 19, 2010 5:52 am
by guosheng1987
ok ,I am sorry ,please delete this topic ..

It's my computer's problem..
I decide to rebuild my system

Re: a serious bug .I have worked it for 2 days..help

Posted: Fri Mar 19, 2010 3:29 pm
by M2tM
Well, about my pop quiz remark, linking to this is actually linking to your own computer:
http://127.0.0.1

That is typically localhost. That means you are trying to provide a link for me to click on and it is not on the internet at all. It would only work if you sent the files to every person reading this thread...

I thought it might become obvious after I mentioned it, but I guess not. o.O