HTML files stop executing randomly
I have two files with this exact code:
I have a breakpoint at the doevents statement in the second part of the code just before the next file_to_socket function.
Somehow, one of these files does reach the breakpoint (and thus displays the footer on the website) but all the other files dont reach this point, but just break before the second part of code statements.
I dont get why, except different filenames, there should be a difference.
<? include "global.tbh"
file_to_socket(sock.num,"html_top.html")
?>
klik op een item aan de linkerkant om de juiste instellingen te doen.
<? include "global.tbh"
doevents
file_to_socket(sock.num,"html_bottom.html")
?>
I have a breakpoint at the doevents statement in the second part of the code just before the next file_to_socket function.
Somehow, one of these files does reach the breakpoint (and thus displays the footer on the website) but all the other files dont reach this point, but just break before the second part of code statements.
I dont get why, except different filenames, there should be a difference.
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Solved
I had to add some whitespace to the end of the file. Somehow the webserver closed the socket because there was only code left to send. By adding whitespace the webserver runs the remaining code, en then sends the whitespace. Ugly solution, but it works.
I’m amused
Loading Profile...


