Forum Moderators: coopster & phranque

Message Too Old, No Replies

what to do when a perl script start looping

         

fraudcop

3:31 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



suddenly the registration page of this perl script with mysql database started endeless looping
when the user hit the "I agree" button inside the terms page here:
-----------------------------------------------------
<input class="buttons" type="button" value="[[button_i_agree]]" onClick="SubmitCmd('secure_registration')"></td>

-------------------------------------------------

and the software support is in vacation for all the week. What can I do to resolve the problem.

thanks in advance foryour suggestion.

moltar

3:41 pm on Aug 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Did it loop before? Did you change something to make it loop? I don't see why would a script just start looping all of a sudden.

You need to debug it and find the problem, otherwise there is not much to do.

fraudcop

5:45 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



never looped before, and I didn't change anything on the script.

I have to kill the process to avoid site stop.

Actually I disabled the file and people cannot register anymore, but the rest of the site runs ok.

NO error message inside error log or only a "premature end of scripte headers.

If I try to trace the process insida WHM I can read it but , since I'm not an expert I can't undertand what it saying. No possible to copy it with right click of the mouse.

Top Process %CPU 71.7 /usr/bin/perl Register
Top Process %CPU 71.2 /usr/bin/perl Register
Top Process %CPU 63.7 /usr/bin/perl Register

thanks for your answer

fraudcop

8:26 pm on Aug 15, 2005 (gmt 0)

10+ Year Member




actually I get this error message:

[Mon Aug 15 13:15:34 2005] [error] [client 62.151.126.208] Premature end of script headers: /home/ogce/public_html/cgi-bin/Register