Forum Moderators: phranque

Message Too Old, No Replies

Spooky behaviour with pages

Okay, this is disturbing me, try this little mystery....

         

Nick_W

2:37 pm on Jun 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Okay. this is seriously weird, here's the scenario:

I'm running Apache on my local Linux box for developement. Never had any trouble with it.

Now I have a page that makes a single entry to a db.

The weirdness
In Mozilla, NN4 and Konquror the page appears to load 2 times (the db get's updated twice)

but.... in Lynx it does not!

There is nothing fancy in my code, no .htaccess no loops etc... the page is just loading twice in the above browsers.

What the hell is happening?

Cheers

Nick

OhMyPixel

4:47 pm on Jun 13, 2002 (gmt 0)

10+ Year Member



Hmm. I usually find giving a good ol' swift kick to the side of my computer tower a solution to most of my problems (even those non-computer related). Have you given that a try yet? :P

Goodluck, I'll ask my techies here and see if I can get some serious answers.

Nick_W

6:21 pm on Jun 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, I've solved it. It was my own stupid fault of course but (i think) kind of easy to miss...

Turned out is was the html! Last place you'd look really... I had a line like this

<link rel="stylesheet" href="" />

I had no stylesheet there (this is standard from my 'toolbox') yet as it was only a page to test some functions.

Of course it was linking to itself, thus calling the page twice.

What a pillock ;(

Nick