I really need your help but I'm not even sure I'm describing the problem well in my title.
I am working with xampp. I have made a long php script that reads an excel file (that is already uploaded on the server) and inserts telephone calls in my database. Here is my problem...
I tried using a big file so as to check my scripts endurance/timeouts etc etc. So I used a file with 80.000+ records.
My jQuery $.ajax()
sends the file's url to the server and waits for an answer. I keep watching my mysql tables to see if all is going ok and after around 20ish minutes my mysql tables stop getting more records.
My jQuery script receives no reply from the server though. After another 10 minutes or so, I get a AJAX: 0 error. I check with firebug and I get absolutely no response from the server, so my page is standing there stuck and my database is getting no more records.
It's not the default time limit that php has since
- I changed it
- When it was that, I used to get an error response from the server. Now I get nothing except from the AJAX: 0 error which I don't even know what it means for sure.
So is there any possible explanation?
Is it server related?
And if so, I'm running on a windows 2008 R2 server. Where should I check?
Finally, since when it comes to php I'm a total noob, especially when I need to handle a lot of data, is there maybe a better way to work except for excel? I noticed its quite slow and buggy sometimes...What are your suggestions?
Thanks in advance
** EDIT ***
I should have mentioned that my script runs fine with small files (3000ish records up to 9000ish records) and returns the intended success message but for this file it doesnt...Will follow your advise thanks for your answers!