Jump to content

Recommended Posts

Hi All,

 

I am trying to upload data from and excel file into a MySQL database, however as soon as I am uploading more than 10,000 records the upload fails. This is a bit of a probelm as the data I need to upload consists of 190,000+ records. I have tried increase the maximum allowed file size to 100MB, even though the file I am uploading is less than 10MB.

 

No error message is being displayed so I can't even provide you with this, as the upload session timesout and I get the "Internet Explorer cannot display the webpage" message.

 

Thanks :shrug:

Link to comment
https://forums.phpfreaks.com/topic/265296-upload-failed/
Share on other sites

When developing and debugging php code, you need to have php's error_reporting set to E_ALL and display_errors set to ON so that php will report and display all the errors it detects.

 

You also need to place echo statements in your code so that you can determine exactly what execution path your code is taking. Is your code even starting? Is the file being uploaded without any errors? Is your database code failing with an sql error of some kind?

 

 

Link to comment
https://forums.phpfreaks.com/topic/265296-upload-failed/#findComment-1359668
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.