Jump to content


Photo

Help needed ASAP: Infinite While loop broke my server


  • Please log in to reply
2 replies to this topic

#1 Sirus121

Sirus121
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 04 September 2006 - 04:47 AM

Hey, I uploaded a script and it was taking a really long time to load the page, so I clicked stop, then checked the php. I ran a while loop and forgot to incriment the variable. Now any time I try to load any page it just comes up blank. It has been nearly an hour, same situation. I thought it was supposed to timeout after the client disconnected? Anything I can do to fix this without contacting the sysadmin? I really don't want anyone else to know, job could be at stake. Should I wait it out, how long will it take, is there anything I can do to fix it??? I can still log into the cpanel and ftp.

Thanks!!

#2 corbin

corbin
  • Staff Alumni
  • Advanced Member
  • 8,129 posts

Posted 04 September 2006 - 06:57 AM

I think its fine.  Just reupload the page with the variable incrementing and everthing should be ok...
Why doesn't anyone ever say hi, hey, or whad up world?

#3 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 04 September 2006 - 08:36 AM

If you are still having problems re-start your server then upload teh new page

follow me on twitter @PHPsycho




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users