Welcome to WebmasterWorld Guest from 54.167.58.159

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

While loop going to infinity Opps

     

tomhumf

12:39 pm on Dec 31, 2008 (gmt 0)

5+ Year Member



Hi,

I was just writing a while loop to update one of my MySQL tables. I think I may have accidentally written it to go on forever, hence I can't load up any of the pages on the server. Any ideas on how to correct this?

I have got rid of the function but everything is still locked up.

tomhumf

12:51 pm on Dec 31, 2008 (gmt 0)

5+ Year Member



Oh it seems to have sorted itself out

coopster

4:45 pm on Dec 31, 2008 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



By getting rid of the function? In what language is your application written?

tomhumf

1:35 pm on Jan 5, 2009 (gmt 0)

5+ Year Member



It's PHP. I removed the function from the pages. Not sure if this solved the problem, or something was reset on the server. It's o.k now anyway.

eelixduppy

5:24 pm on Jan 5, 2009 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member



>> locked up

I imagine that there was something hanging with your server, or perhaps an issue with your local computer or browser. Glad that it is now resolved, though.

tomhumf

1:12 pm on Jan 6, 2009 (gmt 0)

5+ Year Member



I think it was the server, none of the pages on my domain would load, but the rest of the internet worked fine.