Jump to content

php script finishes running but page won't load


duxdeorum

Recommended Posts

Hi,

I have a very strange problem that I cannot replicate myself. My client says that the page never stops loading after submitting a form to a php script.

I checked for infinite loops in the php file but there aren't any. I am sure the script runs till the last line as I've set it to log some text in a file.  Also, I've tested this on 5 different computers, both on Windows and OS X using Firefox 3, IE 6 & 7 and it worked fine for me.

 

The script has to download a remote file which is about 50MB and than unzip it on the server.

 

He said he tested also on 2 different computers using Firefox 3, one with OS X and the other with Windows XP SP 3 and left the page for a very long time to load, even if it didn't took more than 2-3 minutes in my case, but still got stuck and the page never finished loading.

 

It worked fine till now for him and no changes were made to the script so I guess this is a browser issue..

 

Any ideas?

Thanks in advance!

For us to have ideas and to help you, we'd need to see the code to begin with. However, file transfers can timeout depending on the liability, bandwith, speed and usage of the line you're using to connect to the internet.

 

Well.. the thing is that the file is downloaded each time, and that the script runs and never gets stuck. I've checked each time the logs.

Just that the page keeps loading and loading even if the php script has stopped long time before... This is really bothering as some say it works fine, others that the page never loads... (same script, same data).

Thought someone experienced this before..

In order for us to help you, we need to see your code. There is clearly a problem whether it be user error or the server, there is still a problem. So for us to understand and try to locate/solve the problem, providing the code would be a great help, along with any other information you can provide about the server it's running on.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.